diff options
author | Chris Jackson <snortotter@gmail.com> | 2019-08-30 10:17:16 +0000 |
---|---|---|
committer | Chris Jackson <snortotter@gmail.com> | 2019-08-30 10:17:16 +0000 |
commit | fa1fe937893c1581c71b225602f44a32102b86ff (patch) | |
tree | 2872328c078795646501b6edc37ef19509117d96 /llvm/docs/CommandGuide | |
parent | b4fd7d4258589c52539043c0806fd2a143a2c15d (diff) | |
download | bcm5719-llvm-fa1fe937893c1581c71b225602f44a32102b86ff.tar.gz bcm5719-llvm-fa1fe937893c1581c71b225602f44a32102b86ff.zip |
[llvm-objcopy] Allow the visibility of symbols created by --binary and
--add-symbol to be specified with --new-symbol-visibility
llvm-svn: 370458
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-objcopy.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-objcopy.rst b/llvm/docs/CommandGuide/llvm-objcopy.rst index 044293c7e8a..065811c782b 100644 --- a/llvm/docs/CommandGuide/llvm-objcopy.rst +++ b/llvm/docs/CommandGuide/llvm-objcopy.rst @@ -318,6 +318,18 @@ them. represents a single symbol, with leading and trailing whitespace ignored, as is anything following a '#'. Can be specified multiple times to read names from multiple files. + +.. option:: --new-symbol-visibility <visibility> + + Specify the visibility of the symbols automatically created when using binary + input or :option:`--add-symbol`. Valid options are: + + - `default` + - `hidden` + - `internal` + - `protected` + + The default is `default`. .. option:: --output-target <format>, -O |