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

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 01:14:01 PST 2024


================
@@ -1,43 +1,36 @@
-
 # RUN: yaml2obj %s -o %t.o
 # RUN: echo 'foo' > %t.symbols
 
-# Check if passing an invalid visibility type generates an error message
-# RUN: not llvm-objcopy %t.o --set-symbols-visibility=%t.symbols=invalid-type --regex 2>&1 | FileCheck %s --check-prefix=TYPE
-# RUN: not llvm-objcopy %t.o --set-symbol-visibility=foo=invalid-type --regex 2>&1 | FileCheck %s --check-prefix=TYPE
+## Check that passing an invalid visibility type generates an error message
----------------
jh7370 wrote:

Nit: still missing full stops ('.' characters) at the end of your test comments.

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


More information about the llvm-commits mailing list