diff options
author | Jordan Rupprecht <rupprecht@google.com> | 2019-01-29 15:05:38 +0000 |
---|---|---|
committer | Jordan Rupprecht <rupprecht@google.com> | 2019-01-29 15:05:38 +0000 |
commit | c892741e74ce53c36a8a6ef08ca6f4b2ca5cf82b (patch) | |
tree | f6f37c11efc367b16d5c11a2db29810ad93eeae8 /lldb/packages/Python/lldbsuite/test/logging/TestLogging.py | |
parent | a1f6973adeeb43df20c2d20fe870890b2eb57f52 (diff) | |
download | bcm5719-llvm-c892741e74ce53c36a8a6ef08ca6f4b2ca5cf82b.tar.gz bcm5719-llvm-c892741e74ce53c36a8a6ef08ca6f4b2ca5cf82b.zip |
[llvm-objcopy] Implement --set-section-flags.
Summary:
--set-section-flags is used to change the section flags (e.g. SHF_ALLOC) for given sections. The flags allowed are the same from the existing --rename-section=.old=.new[,flags] feature.
Additionally, make sure that --set-section-flag cannot be used with --rename-section (either the source or destination), since --rename-section accepts flags. This avoids ambiguity for something like "--rename-section=.foo=.bar,alloc --set-section-flag=.bar,code".
Reviewers: jhenderson, jakehehrlich, alexshap, espindola
Reviewed By: jhenderson, jakehehrlich
Subscribers: llvm-commits, emaste, arichardson
Differential Revision: https://reviews.llvm.org/D57198
llvm-svn: 352505
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/logging/TestLogging.py')
0 files changed, 0 insertions, 0 deletions