[PATCH] D78389: [ELF] Keep local symbols when both --emit-relocs and --discard-all are specified

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 20 09:44:04 PDT 2020


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

Improve tests (check STT_SECTION)
Localize config->discard logic


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78389

Files:
  lld/ELF/Driver.cpp
  lld/ELF/Writer.cpp
  lld/test/ELF/emit-relocs-discard-locals.s
  lld/test/ELF/relocatable-discard-locals.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78389.258774.patch
Type: text/x-patch
Size: 5314 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200420/f2331441/attachment.bin>


More information about the llvm-commits mailing list