diff options
author | Jordan Rupprecht <rupprecht@google.com> | 2019-08-23 14:28:58 +0000 |
---|---|---|
committer | Jordan Rupprecht <rupprecht@google.com> | 2019-08-23 14:28:58 +0000 |
commit | 0f323439d897565e78b261109ed77e32230e9cc5 (patch) | |
tree | 5d5eed2b35517f93d00dd8c3122d3c1e05aa3f3c /lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc | |
parent | 09ce8ec78a958e24a7e22009d6bce1a4c17b6cad (diff) | |
download | bcm5719-llvm-0f323439d897565e78b261109ed77e32230e9cc5.tar.gz bcm5719-llvm-0f323439d897565e78b261109ed77e32230e9cc5.zip |
[llvm-objcopy] Strip debug sections when running with --strip-unneeded.
Summary:
GNU --strip-unneeded strips debugging sections as well. Do that for llvm-objcopy as well.
Additionally, add a test that verifies we keep the .gnu_debuglink section. This apparently was not always the case, and I'm not sure which commit fixed it, but there doesn't appear to be any test coverage to make sure we continue to do so.
This fixes PR41043.
Reviewers: jhenderson, jakehehrlich, espindola, alexshap
Subscribers: emaste, arichardson, MaskRay, abrachet, seiya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66623
llvm-svn: 369761
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc')
0 files changed, 0 insertions, 0 deletions