Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-objcopy / ELF / strip-dwo-inplace.test
blob34708e6350d88c6adcdd34f1d32ab8993f0f59ae
1 # RUN: cp %p/Inputs/dwarf.dwo %t
2 # RUN: llvm-objcopy --strip-dwo %t
3 # RUN: llvm-readobj --file-headers --sections %t | FileCheck %s
5 CHECK:     SectionHeaderCount: 24
7 CHECK:    Name: .strtab
8 CHECK:    Name: .text
9 CHECK:    Name: .rela.text
10 CHECK:    Name: .rodata.str1.1
11 CHECK:    Name: .debug_str
12 CHECK:    Name: .debug_abbrev
13 CHECK:    Name: .debug_info
14 CHECK:    Name: .rela.debug_info
15 CHECK:    Name: .debug_ranges
16 CHECK:    Name: .debug_macinfo
17 CHECK:    Name: .debug_addr
18 CHECK:    Name: .rela.debug_addr
19 CHECK:    Name: .debug_pubnames
20 CHECK:    Name: .rela.debug_pubnames
21 CHECK:    Name: .debug_pubtypes
22 CHECK:    Name: .rela.debug_pubtypes
23 CHECK:    Name: .comment
24 CHECK:    Name: .note.GNU-stack
25 CHECK:    Name: .debug_frame
26 CHECK:    Name: .rela.debug_frame
27 CHECK:    Name: .debug_line
28 CHECK:    Name: .rela.debug_line
29 CHECK:    Name: .symtab