[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / elf-debug-section.s
blobad477df7dd663b988dc317e9b9c0e8dee9b9ed52
1 # RUN: llvm-mc -filetype=obj -triple=mips-linux-gnu -g %s -o - \
2 # RUN: | llvm-readobj -S - | FileCheck %s
4 # MIPS .debug_* sections should have SHT_MIPS_DWARF section type
5 # to distinguish among sections contain DWARF and ECOFF debug formats,
6 # but in assembly files these sections have SHT_PROGBITS type.
8 .section .debug_abbrev,"",@progbits
9 .section .debug_addr,"",@progbits
10 .section .debug_aranges,"",@progbits
11 .section .debug_info,"",@progbits
12 .section .debug_line,"",@progbits
13 .section .debug_loclists,"",@progbits
14 .section .debug_pubnames,"",@progbits
15 .section .debug_pubtypes,"",@progbits
16 .section .debug_ranges,"",@progbits
17 .section .debug_rnglists,"",@progbits
18 .section .debug_str,"MS",@progbits,1
20 # CHECK: Section {
21 # CHECK: Name: .debug_abbrev
22 # CHECK-NEXT: Type: SHT_MIPS_DWARF
23 # CHECK: Name: .debug_addr
24 # CHECK-NEXT: Type: SHT_MIPS_DWARF
25 # CHECK: Name: .debug_aranges
26 # CHECK-NEXT: Type: SHT_MIPS_DWARF
27 # CHECK: Name: .debug_info
28 # CHECK-NEXT: Type: SHT_MIPS_DWARF
29 # CHECK: Name: .debug_line
30 # CHECK-NEXT: Type: SHT_MIPS_DWARF
31 # CHECK: Name: .debug_loclists
32 # CHECK-NEXT: Type: SHT_MIPS_DWARF
33 # CHECK: Name: .debug_pubnames
34 # CHECK-NEXT: Type: SHT_MIPS_DWARF
35 # CHECK: Name: .debug_pubtypes
36 # CHECK-NEXT: Type: SHT_MIPS_DWARF
37 # CHECK: Name: .debug_ranges
38 # CHECK-NEXT: Type: SHT_MIPS_DWARF
39 # CHECK: Name: .debug_rnglists
40 # CHECK-NEXT: Type: SHT_MIPS_DWARF
41 # CHECK: Name: .debug_str
42 # CHECK-NEXT: Type: SHT_MIPS_DWARF