[PATCH] D12978: [ELF2] Support relocs for local symbols

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 19 09:56:11 PDT 2015


rafael added inline comments.

================
Comment at: ELF/Writer.cpp:739
@@ +738,3 @@
+      ArrayRef<SectionChunk<ELFT> *> Chunks = File.getChunks();
+      SectionChunk<ELFT> *Section = Chunks[Sym->st_shndx];
+      OutputSection<ELFT> *Out = Section->getOutputSection();
----------------
This is the case where you have to handle Sym->st_shndx being SHN_XINDEX.



http://reviews.llvm.org/D12978





More information about the llvm-commits mailing list