[PATCH] D19490: ELF: Move code to where it is used, and related cleanups. NFC.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 16:58:28 PDT 2016


pcc marked an inline comment as done.

================
Comment at: ELF/ICF.cpp:250
@@ -260,1 +249,3 @@
+    SymbolBody &SA = A->File->getRelocTargetSym(*(const Elf_Rel *)IA);
+    SymbolBody &SB = B->File->getRelocTargetSym(*(const Elf_Rel *)IB);
     if (&SA == &SB)
----------------
rafael wrote:
> Do you really need the cast?
No, removed.


http://reviews.llvm.org/D19490





More information about the llvm-commits mailing list