[llvm] [llvm-objcopy] Add llvm-objcopy option --set-visibility-sym (PR #80872)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 8 00:38:56 PST 2024
================
@@ -18,6 +19,9 @@ namespace objcopy {
struct ELFConfig {
uint8_t NewSymbolVisibility = (uint8_t)ELF::STV_DEFAULT;
+ NameMatcher SymbolsToSetVisibility;
+ uint8_t SetVisibilityType = ELF::STV_DEFAULT;
----------------
jh7370 wrote:
I'm slightly surprised that you don't need a cast here when `NewSymbolVisibility` uses a cast immediately above. It could be the on above is unnecessary of course.
https://github.com/llvm/llvm-project/pull/80872
More information about the llvm-commits
mailing list