diff options
author | Jordan Rupprecht <rupprecht@google.com> | 2018-08-17 22:34:48 +0000 |
---|---|---|
committer | Jordan Rupprecht <rupprecht@google.com> | 2018-08-17 22:34:48 +0000 |
commit | be8ebccaed22135669fd3716ed4cd235085ef5fd (patch) | |
tree | 3e49c58a2d41d305e9c27d1b54d9049ad6881131 /lldb/packages/Python/lldbsuite/test/sample_test | |
parent | 04df67e268eaf4c63b7fd0712b0c54a6db89c1cf (diff) | |
download | bcm5719-llvm-be8ebccaed22135669fd3716ed4cd235085ef5fd.tar.gz bcm5719-llvm-be8ebccaed22135669fd3716ed4cd235085ef5fd.zip |
[llvm-objcopy] Implement -G/--keep-global-symbol(s).
Summary:
Port GNU Objcopy -G/--keep-global-symbol(s).
This is slightly different than the already-implemented --globalize-symbol, which marks a symbol as global when copying. When --keep-global-symbol (alias -G) is used, *only* those symbols marked will stay global, and all other globals are demoted to local. (Also note that it doesn't *promote* a symbol to global). Additionally, there is a pluralized version of the flag --keep-global-symbols, which effectively applies --keep-global-symbol for every non-comment in a file.
Reviewers: jakehehrlich, jhenderson, alexshap
Reviewed By: jhenderson
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D50589
llvm-svn: 340105
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/sample_test')
0 files changed, 0 insertions, 0 deletions