diff options
| author | Adrian Prantl <aprantl@apple.com> | 2017-07-21 16:51:09 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2017-07-21 16:51:09 +0000 |
| commit | 4af0a865e0a727065e1fca0cac84666ae6882ac6 (patch) | |
| tree | 86a30efdcfee7a8fb1d7b591a324116bb181f77a | |
| parent | 8f6c48e2aab0e4c11fc883167a4e26fbf940a10a (diff) | |
| download | bcm5719-llvm-4af0a865e0a727065e1fca0cac84666ae6882ac6.tar.gz bcm5719-llvm-4af0a865e0a727065e1fca0cac84666ae6882ac6.zip | |
Canonicalize the spelling of RefDie (NFC)
llvm-svn: 308755
| -rw-r--r-- | llvm/tools/dsymutil/DwarfLinker.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/dsymutil/DwarfLinker.cpp b/llvm/tools/dsymutil/DwarfLinker.cpp index d82149e50b4..6ccf68aaa8d 100644 --- a/llvm/tools/dsymutil/DwarfLinker.cpp +++ b/llvm/tools/dsymutil/DwarfLinker.cpp @@ -2235,9 +2235,9 @@ void DwarfLinker::keepDIEAndDependencies(RelocationManager &RelocMgr, Val.extractValue(Data, &Offset, &Unit); CompileUnit *ReferencedCU; - if (auto RefDIE = + if (auto RefDie = resolveDIEReference(*this, Units, Val, Unit, Die, ReferencedCU)) { - uint32_t RefIdx = ReferencedCU->getOrigUnit().getDIEIndex(RefDIE); + uint32_t RefIdx = ReferencedCU->getOrigUnit().getDIEIndex(RefDie); CompileUnit::DIEInfo &Info = ReferencedCU->getInfo(RefIdx); bool IsModuleRef = Info.Ctxt && Info.Ctxt->getCanonicalDIEOffset() && Info.Ctxt->isDefinedInClangModule(); @@ -2261,7 +2261,7 @@ void DwarfLinker::keepDIEAndDependencies(RelocationManager &RelocMgr, Info.Prune = false; unsigned ODRFlag = UseODR ? TF_ODR : 0; - lookForDIEsToKeep(RelocMgr, RefDIE, DMO, *ReferencedCU, + lookForDIEsToKeep(RelocMgr, RefDie, DMO, *ReferencedCU, TF_Keep | TF_DependencyWalk | ODRFlag); } } |

