[PATCH] D77807: [LLD][ELF] Implement -discard-* for cases when -r or -emit-relocs are used.

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 10 01:03:25 PDT 2020


ikudrin updated this revision to Diff 256516.
ikudrin marked 7 inline comments as done.
ikudrin added a comment.

Thank you @MaskRay for reviewing this!

- Renamed the test to `discard-locals-preserve-used.s`
- Reformulated the description of the test.
- Updated the test according to the review comments.


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

https://reviews.llvm.org/D77807

Files:
  lld/ELF/Driver.cpp
  lld/ELF/Writer.cpp
  lld/test/ELF/discard-locals-preserve-used.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77807.256516.patch
Type: text/x-patch
Size: 4434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200410/4b4d4464/attachment.bin>


More information about the llvm-commits mailing list