From fa1fe937893c1581c71b225602f44a32102b86ff Mon Sep 17 00:00:00 2001 From: Chris Jackson Date: Fri, 30 Aug 2019 10:17:16 +0000 Subject: [llvm-objcopy] Allow the visibility of symbols created by --binary and --add-symbol to be specified with --new-symbol-visibility llvm-svn: 370458 --- llvm/docs/CommandGuide/llvm-objcopy.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'llvm/docs') 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 + + 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 , -O -- cgit v1.2.3