summaryrefslogtreecommitdiff
path: root/utils/TableGen
diff options
context:
space:
mode:
authorJake Ehrlich <jakehehrlich@google.com>2017-11-13 22:13:08 +0000
committerJake Ehrlich <jakehehrlich@google.com>2017-11-13 22:13:08 +0000
commitecb06411e6f18740f369c552501930d6757ca22f (patch)
treefb79b035c6f5a5fe769f55c276ad405ea575605f /utils/TableGen
parenta722ab9759bf796b5f2647ff759aba87fc67c8a3 (diff)
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
0 files changed, 0 insertions, 0 deletions