This change adds a new flag not present in GNU objcopy that I call --only-keep-alloc.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Test case?
tools/llvm-objcopy/llvm-objcopy.cpp | ||
---|---|---|
86 ↗ | (On Diff #122536) | I feel like "strip-nonalloc" (or "strip-non-alloc") would be a better option name, personally, as it's more consistent with other options. |
Comment Actions
- Added test (derp, it turns out I wrote it but didn't run git add on it so it didn't make it into the diff)
- renamed "only-keep-alloc" with "strip-non-alloc" everywhere.
Comment Actions
--strip-non-alloc keeps .strtab but --strip-sections does not. Is this the only difference of them?