Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-objcopy / ELF / dwarf-fission.test
blob4e8f1605f96a2b227735a7b4cdd8d7096860d4a0
1 # RUN: llvm-objcopy --extract-dwo %p/Inputs/dwarf.dwo %t
2 # RUN: llvm-objcopy --strip-dwo %p/Inputs/dwarf.dwo %t2
3 # RUN: llvm-objcopy --split-dwo=%t3 %p/Inputs/dwarf.dwo %t4
4 # RUN: llvm-readobj --file-headers --sections %t | FileCheck %s --check-prefix=DWARF
5 # RUN: llvm-readobj --file-headers --sections %t2 | FileCheck %s --check-prefix=STRIP
6 # RUN: diff %t %t3
7 # RUN: diff %t2 %t4
9 #DWARF:     SectionHeaderCount: 8
11 #DWARF:     Name: .strtab
12 #DWARF:     Name: .debug_loc.dwo
13 #DWARF:     Name: .debug_str.dwo
14 #DWARF:     Name: .debug_str_offsets.dwo
15 #DWARF:     Name: .debug_info.dwo
16 #DWARF:     Name: .debug_abbrev.dwo
17 #DWARF:     Name: .debug_line.dwo
19 #STRIP:     SectionHeaderCount: 24
21 #STRIP:    Name: .strtab
22 #STRIP:    Name: .text
23 #STRIP:    Name: .rela.text
24 #STRIP:    Name: .rodata.str1.1
25 #STRIP:    Name: .debug_str
26 #STRIP:    Name: .debug_abbrev
27 #STRIP:    Name: .debug_info
28 #STRIP:    Name: .rela.debug_info
29 #STRIP:    Name: .debug_ranges
30 #STRIP:    Name: .debug_macinfo
31 #STRIP:    Name: .debug_addr
32 #STRIP:    Name: .rela.debug_addr
33 #STRIP:    Name: .debug_pubnames
34 #STRIP:    Name: .rela.debug_pubnames
35 #STRIP:    Name: .debug_pubtypes
36 #STRIP:    Name: .rela.debug_pubtypes
37 #STRIP:    Name: .comment
38 #STRIP:    Name: .note.GNU-stack
39 #STRIP:    Name: .debug_frame
40 #STRIP:    Name: .rela.debug_frame
41 #STRIP:    Name: .debug_line
42 #STRIP:    Name: .rela.debug_line
43 #STRIP:    Name: .symtab