[Alignment][NFC] Instructions::getLoadStoreAlignment
[llvm-complete.git] / test / tools / llvm-objcopy / ELF / drawf-fission.test
blob76f74ce7e80519991dd6c846f64f13afada5a079
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: .debug_loc.dwo
12 #DWARF:     Name: .debug_str.dwo
13 #DWARF:     Name: .debug_str_offsets.dwo
14 #DWARF:     Name: .debug_info.dwo
15 #DWARF:     Name: .debug_abbrev.dwo
16 #DWARF:     Name: .debug_line.dwo
17 #DWARF:     Name: .strtab
19 #STRIP:     SectionHeaderCount: 24
21 #STRIP:    Name: .text
22 #STRIP:    Name: .rodata.str1.1
23 #STRIP:    Name: .debug_str
24 #STRIP:    Name: .debug_abbrev
25 #STRIP:    Name: .debug_info
26 #STRIP:    Name: .debug_ranges
27 #STRIP:    Name: .debug_macinfo
28 #STRIP:    Name: .debug_addr
29 #STRIP:    Name: .debug_pubnames
30 #STRIP:    Name: .debug_pubtypes
31 #STRIP:    Name: .comment
32 #STRIP:    Name: .note.GNU-stack
33 #STRIP:    Name: .debug_frame
34 #STRIP:    Name: .debug_line
35 #STRIP:    Name: .symtab
36 #STRIP:    Name: .rela.text
37 #STRIP:    Name: .rela.debug_info
38 #STRIP:    Name: .rela.debug_addr
39 #STRIP:    Name: .rela.debug_pubnames
40 #STRIP:    Name: .rela.debug_pubtypes
41 #STRIP:    Name: .rela.debug_frame
42 #STRIP:    Name: .rela.debug_line
43 #STRIP:    Name: .strtab