[llvm] [llvm-objcopy] Add support of symbol modification flags for MachO (PR #120895)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 23 00:15:41 PST 2024


================
@@ -0,0 +1,150 @@
+# RUN: yaml2obj %s -o %t
+# RUN: llvm-objcopy --wildcard --globalize-symbol="*" %t %t.copy
+# RUN: llvm-readobj --symbols %t.copy | FileCheck %s
+
+# CHECK: Symbols [
----------------
jh7370 wrote:

Nit: when we have a big block like this of CHECK followed by lots of CHECK-NEXT, we tend to add a few spaces after the colon before the actual CHECK, per the suggestion, to make the checked-for text line up with the remaining lines below. Applies throughout.
```suggestion
# CHECK:      Symbols [
```

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


More information about the llvm-commits mailing list