diff options
author | Jake Ehrlich <jakehehrlich@google.com> | 2017-11-13 22:13:08 +0000 |
---|---|---|
committer | Jake Ehrlich <jakehehrlich@google.com> | 2017-11-13 22:13:08 +0000 |
commit | 1bfefc1c725792108a37f4e2678eb23fb06bb92f (patch) | |
tree | 85a06980489f70a7b82eef196f4548598669f8fd /llvm/utils/TableGen | |
parent | 33f83995a8cb8071255b7b923c94c243e4bd2ebb (diff) | |
download | bcm5719-llvm-1bfefc1c725792108a37f4e2678eb23fb06bb92f.tar.gz bcm5719-llvm-1bfefc1c725792108a37f4e2678eb23fb06bb92f.zip |
[llvm-objcopy] Add --strip-debug
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
Diffstat (limited to 'llvm/utils/TableGen')
0 files changed, 0 insertions, 0 deletions