summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/strip-debug.test
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-objcopy] Add support for static librariesAlexander Shaposhnikov2018-07-061-0/+63
| | | | | | | | | | | This diff adds support for handling static libraries to llvm-objcopy and llvm-strip. Test plan: make check-all Differential revision: https://reviews.llvm.org/D48413 llvm-svn: 336455
* [llvm-strip] Add missing aliases for --strip-debugAlexander Shaposhnikov2018-06-041-4/+15
| | | | | | | | | | Add missing aliases for --strip-debug: -g, -S, -d. Test plan: make check-all Differential revision: https://reviews.llvm.org/D47674 llvm-svn: 333940
* [llvm-objcopy] Add tests for help messagesAlexander Shaposhnikov2018-05-101-4/+0
| | | | | | | | | | | This diff slightly reorganizes the tests and improves the test coverage of help messages / error reports. Test plan: make check-all Differential revision: https://reviews.llvm.org/D46589 llvm-svn: 331993
* [tools] Introduce llvm-stripAlexander Shaposhnikov2018-05-071-0/+12
| | | | | | | | | | | | llvm-strip is supposed to be a drop-in replacement for binutils strip. To start the ball rolling this diff adds the initial bits for llvm-strip, more features will be added incrementally over time. Test plan: make check-all Differential revision: https://reviews.llvm.org/D46407 llvm-svn: 331663
* [llvm-objcopy] Add --strip-debugJake Ehrlich2017-11-131-0/+54
Many projects use this option. There are two ways to use it. You can either a) Just use --strip-debug and keep the old file with debug content or b) you can use --strip-debug, --only-keep-debug, and --add-gnu-debuglink all in conjunction to create two separate files, the stripped file and the debug file. --only-keep-debug is more complicated than --strip-debug because it keeps the section headers without keeping section contents. That's not really supported by llvm-objcopy at the moment but I plan on adding it. So this change just supports a) and options to support b) will come soon. Differential Revision: https://reviews.llvm.org/D39919 llvm-svn: 318094
OpenPOWER on IntegriCloud