[llvm] [llvm-objcopy] Add llvm-objcopy option --set-symbol-visibility (PR #80872)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 11:07:57 PST 2024


================
@@ -450,6 +450,15 @@ them.
  Set the start address of the output to ``<addr>``. Overrides any previously
  specified :option:`--change-start` or :option:`--adjust-start` options.
 
+.. option:: --set-symbol-visibility <symbol>=<visibility>
+
+ Change the visibility of a symbol to the specified value.
+
+.. option:: --set-symbols-visibility <filename>=<visibility>
+
+ Reads a list of symbols from <filename> and changes their visibility to the
----------------
MaskRay wrote:

Imperative sentence like other options?

https://github.com/llvm/llvm-project/pull/80872


More information about the llvm-commits mailing list