[PATCH] D26508: [ELF] - Better diagnostic for relative relocation to an absolute value error.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 10 10:26:29 PST 2016


pcc added a comment.

Test case?



================
Comment at: ELF/SymbolTable.h:63
                      uintX_t Value, uintX_t Size, uint8_t Binding,
-                     InputSectionBase<ELFT> *Section);
+                     InputSectionBase<ELFT> *Section, InputFile *File);
   Symbol *addRegular(StringRef Name, const Elf_Sym &Sym,
----------------
Why is it necessary to add this parameter, can't you access the file via the section?


https://reviews.llvm.org/D26508





More information about the llvm-commits mailing list