[PATCH] D34465: ELF: Don't dereference Repl in MarkLive. NFCI.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 21 14:30:44 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL305954: ELF: Don't dereference Repl in MarkLive. NFCI. (authored by pcc).
Changed prior to commit:
https://reviews.llvm.org/D34465?vs=103424&id=103467#toc
Repository:
rL LLVM
https://reviews.llvm.org/D34465
Files:
lld/trunk/ELF/MarkLive.cpp
Index: lld/trunk/ELF/MarkLive.cpp
===================================================================
--- lld/trunk/ELF/MarkLive.cpp
+++ lld/trunk/ELF/MarkLive.cpp
@@ -78,7 +78,7 @@
typename ELFT::uint Offset = D->Value;
if (D->isSection())
Offset += getAddend<ELFT>(Sec, Rel);
- Fn({cast<InputSectionBase>(D->Section)->Repl, Offset});
+ Fn({cast<InputSectionBase>(D->Section), Offset});
} else if (auto *U = dyn_cast<Undefined>(&B)) {
for (InputSectionBase *Sec : CNamedSections.lookup(U->getName()))
Fn({Sec, 0});
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34465.103467.patch
Type: text/x-patch
Size: 554 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170621/614e74bd/attachment.bin>
More information about the llvm-commits
mailing list