[PATCH] D59649: [ELF] Improve error message for relocations to symbols defined in discarded sections

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 07:33:47 PDT 2019


MaskRay updated this revision to Diff 200506.
MaskRay added a comment.

Rebase after recent SymbolTable changes. Combined with D61583 <https://reviews.llvm.org/D61583>, we will give good warnings for PR41693


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59649/new/

https://reviews.llvm.org/D59649

Files:
  ELF/InputFiles.cpp
  ELF/InputFiles.h
  ELF/Relocations.cpp
  ELF/SymbolTable.cpp
  ELF/SymbolTable.h
  ELF/Symbols.h
  test/ELF/comdat-discarded-error.s
  test/ELF/exclude-discarded-error.s
  test/ELF/exclude-discarded-error2.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59649.200506.patch
Type: text/x-patch
Size: 14039 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190521/f41c2038/attachment-0001.bin>


More information about the llvm-commits mailing list