summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorChris Jackson <snortotter@gmail.com>2019-08-30 10:17:16 +0000
committerChris Jackson <snortotter@gmail.com>2019-08-30 10:17:16 +0000
commitfa1fe937893c1581c71b225602f44a32102b86ff (patch)
tree2872328c078795646501b6edc37ef19509117d96 /llvm/docs/CommandGuide
parentb4fd7d4258589c52539043c0806fd2a143a2c15d (diff)
downloadbcm5719-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.rst12
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
OpenPOWER on IntegriCloud