mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 16:36:40 +00:00
Fix "Optional" is ambiguous error on some bots
llvm-svn: 334580
This commit is contained in:
parent
2dde032c9a
commit
dd69f934b2
@ -330,7 +330,7 @@ static DWARFDie toDie(const DWARFDebugNames::Entry &Entry,
|
||||
if (!CU)
|
||||
return DWARFDie();
|
||||
|
||||
if (Optional<uint64_t> DWOId = CU->getDWOId()) {
|
||||
if (llvm::Optional<uint64_t> DWOId = CU->getDWOId()) {
|
||||
// This is a skeleton unit. Look up the DIE in the DWO unit.
|
||||
CU = DICtx.getDWOCompileUnitForHash(*DWOId);
|
||||
if (!CU)
|
||||
|
Loading…
Reference in New Issue
Block a user