[llvm] r308755 - Canonicalize the spelling of RefDie (NFC)
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 21 09:51:09 PDT 2017
Author: adrian
Date: Fri Jul 21 09:51:09 2017
New Revision: 308755
URL: http://llvm.org/viewvc/llvm-project?rev=308755&view=rev
Log:
Canonicalize the spelling of RefDie (NFC)
Modified:
llvm/trunk/tools/dsymutil/DwarfLinker.cpp
Modified: llvm/trunk/tools/dsymutil/DwarfLinker.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/dsymutil/DwarfLinker.cpp?rev=308755&r1=308754&r2=308755&view=diff
==============================================================================
--- llvm/trunk/tools/dsymutil/DwarfLinker.cpp (original)
+++ llvm/trunk/tools/dsymutil/DwarfLinker.cpp Fri Jul 21 09:51:09 2017
@@ -2235,9 +2235,9 @@ void DwarfLinker::keepDIEAndDependencies
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
Info.Prune = false;
unsigned ODRFlag = UseODR ? TF_ODR : 0;
- lookForDIEsToKeep(RelocMgr, RefDIE, DMO, *ReferencedCU,
+ lookForDIEsToKeep(RelocMgr, RefDie, DMO, *ReferencedCU,
TF_Keep | TF_DependencyWalk | ODRFlag);
}
}
More information about the llvm-commits
mailing list