1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-objcopy --strip-symbol baz -N bar %t %t2
3 # RUN: llvm-readobj --symbols --sections %t2 | FileCheck %s
4 # RUN: llvm-strip --strip-symbol baz -N bar %t -o %t3
6 # RUN: llvm-strip --regex --strip-symbol '^b.*' -N bar %t -o %t4
8 # RUN: echo " bar # bar" > %t-list.txt
9 # RUN: echo " baz # baz" >> %t-list.txt
10 # RUN: echo " # no symbol" >> %t-list.txt
11 # RUN: llvm-objcopy --strip-symbols %t-list.txt %t %t5
13 # RUN: echo "b.* # bar & baz" > %t-list2.txt
14 # RUN: llvm-objcopy --regex --strip-symbols %t-list2.txt %t %t6
26 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
28 AddressAlign: 0x0000000000000010
52 #CHECK-NEXT: Value: 0x0
54 #CHECK-NEXT: Binding: Local
55 #CHECK-NEXT: Type: None
57 #CHECK-NEXT: Section: Undefined
60 #CHECK-NEXT: Name: foo
61 #CHECK-NEXT: Value: 0x1000
63 #CHECK-NEXT: Binding: Local
64 #CHECK-NEXT: Type: Function
66 #CHECK-NEXT: Section: .text