Unreferenced undefined external symbols are removed by --strip-unneeded, but not by --discard-all.
Details
Details
Diff Detail
Diff Detail
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 181537 test/tools/llvm-objcopy/COFF/Inputs/discard-locals.yaml
test/tools/llvm-objcopy/COFF/discard-all.test
test/tools/llvm-objcopy/COFF/strip-unneeded.test
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
|