[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 07:40:08 PST 2024


================
@@ -93,6 +93,17 @@ defm set_section_type
          "Set the type of section <section> to the integer <type>">,
       MetaVarName<"section=type">;
 
+defm set_symbol_visibility
+    : Eq<"set-symbol-visibility",
+         "Change the visibility of a symbol to the specified type">,
+      MetaVarName<"symbol=visibility_type">;
+defm set_symbols_visibility
+    : Eq<"set-symbols-visibility",
+         "Reads a list of symbols from <filename> and changes their "
----------------
kuilpd wrote:

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