[lld] r290112 - Use existing variable. NFC.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 19 08:50:21 PST 2016
Author: rafael
Date: Mon Dec 19 10:50:20 2016
New Revision: 290112
URL: http://llvm.org/viewvc/llvm-project?rev=290112&view=rev
Log:
Use existing variable. NFC.
Modified:
lld/trunk/ELF/Relocations.cpp
Modified: lld/trunk/ELF/Relocations.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Relocations.cpp?rev=290112&r1=290111&r2=290112&view=diff
==============================================================================
--- lld/trunk/ELF/Relocations.cpp (original)
+++ lld/trunk/ELF/Relocations.cpp Mon Dec 19 10:50:20 2016
@@ -156,7 +156,7 @@ static unsigned handleTlsRelocation(uint
if (In<ELFT>::Got->addDynTlsEntry(Body)) {
uintX_t Off = In<ELFT>::Got->getGlobalDynOffset(Body);
In<ELFT>::RelaDyn->addReloc({Target->TlsDescRel, In<ELFT>::Got, Off,
- !Body.isPreemptible(), &Body, 0});
+ !IsPreemptible, &Body, 0});
}
if (Expr != R_TLSDESC_CALL)
C.Relocations.push_back({Expr, Type, Offset, Addend, &Body});
More information about the llvm-commits
mailing list