Unreferenced undefined external symbols are removed by --strip-unneeded, but not by --discard-all.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D56660
[llvm-objcopy] [COFF] Remove unreferenced undefined externals with --strip-unneeded. ClosedPublic Authored by mstorsjo on Jan 14 2019, 5:03 AM.
Details Summary Unreferenced undefined external symbols are removed by --strip-unneeded, but not by --discard-all.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 14 2019, 5:38 AM Closed by commit rL351099: [llvm-objcopy] [COFF] Remove unreferenced undefined externals with --strip… (authored by mstorsjo). · Explain WhyJan 14 2019, 11:00 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 181606 llvm/trunk/test/tools/llvm-objcopy/COFF/Inputs/discard-locals.yaml
llvm/trunk/test/tools/llvm-objcopy/COFF/discard-all.test
llvm/trunk/test/tools/llvm-objcopy/COFF/strip-unneeded.test
llvm/trunk/tools/llvm-objcopy/COFF/COFFObjcopy.cpp
|