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

Ilia Kuklin via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 11:39:54 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
----------------
kuilpd wrote:

I replied in another comment:
>I copied this description from other options, localize- globalize- strip- weaken- keep- symbols all use this wording. Should I change it?

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


More information about the llvm-commits mailing list