diff options
| author | Fangrui Song <i@maskray.me> | 2020-07-23 08:16:01 -0700 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2020-07-23 08:16:01 -0700 |
| commit | 4e80c768c28fa919aa3d4fd662af8ea99feda4d6 (patch) | |
| tree | cc5ac39065ffb0ed9637386febbc203ae9f3b7fc /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 23d1800433d93b94a0c098e97f6f26889b22cb6a (diff) | |
[ELF] Support -r --gc-sections
-r --gc-sections is usually not useful because it just makes intermediate output
smaller. https://bugs.llvm.org/show_bug.cgi?id=46700#c7 mentions a use case:
validating the absence of undefined symbols ealier than in the final link.
After D84129 (SHT_GROUP support in -r links), we can support -r
--gc-sections without extra code. So let's allow it.
Reviewed By: grimar, jhenderson
Differential Revision: https://reviews.llvm.org/D84131
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
