[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
Thu Apr 23 03:13:21 PDT 2020
ikudrin updated this revision to Diff 259502.
ikudrin marked 4 inline comments as done.
ikudrin added a comment.
- Added/improved comments.
- Added a condition to not execute the scanning if `--gc-sections` is specified.
- Added testing of the `--emit-relocs --discard-all --gc-sections` case.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77807/new/
https://reviews.llvm.org/D77807
Files:
lld/ELF/Symbols.h
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: D77807.259502.patch
Type: text/x-patch
Size: 10934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200423/9d0a2c4b/attachment.bin>
More information about the llvm-commits
mailing list