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

Ilia Kuklin via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 09:32:51 PST 2024


================
@@ -254,6 +254,21 @@ parseSetSectionFlagValue(StringRef FlagValue) {
   return SFU;
 }
 
+static Expected<uint8_t> parseVisibilityType(StringRef VisType) {
----------------
kuilpd wrote:

I did copy the code from --new-symbol-visibility, so I can make a PR for it to use this new function too.

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


More information about the llvm-commits mailing list