[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / ELF / discriminator.s
blob2aab2404dfb828a4f0280fbadb40e9939181945f
1 # RUN: llvm-mc -triple i386-unknown-unknown %s -filetype=obj -o %t.o
2 # RUN: llvm-readobj -r %t.o | FileCheck %s
3 # RUN: llvm-dwarfdump -debug-line %t.o | FileCheck %s -check-prefix=DWARF-DUMP
5 .file 1 "foo.c"
6 .text
7 .globl foo
8 .type foo, @function
9 .align 4
10 foo:
11 .loc 1 2 discriminator 1
12 ret
13 .size foo, .-foo
15 .section .debug_info,"",@progbits
16 .L.debug_info_begin0:
17 .long 34 # Length of Unit
18 .short 4 # DWARF version number
19 .long .L.debug_abbrev_begin # Offset Into Abbrev. Section
20 .byte 4 # Address Size (in bytes)
21 .byte 1 # Abbrev [1] 0xb:0x1b DW_TAG_compile_unit
22 .long info_string0 # DW_AT_producer
23 .short 12 # DW_AT_language
24 .long info_string1 # DW_AT_name
25 .quad 0 # DW_AT_low_pc
26 .long 0 # DW_AT_stmt_list
27 .long info_string2 # DW_AT_comp_dir
28 # DW_AT_APPLE_optimized
29 .section .debug_abbrev,"",@progbits
30 .L.debug_abbrev_begin:
31 .byte 1 # Abbreviation Code
32 .byte 17 # DW_TAG_compile_unit
33 .byte 0 # DW_CHILDREN_no
34 .byte 37 # DW_AT_producer
35 .byte 14 # DW_FORM_strp
36 .byte 19 # DW_AT_language
37 .byte 5 # DW_FORM_data2
38 .byte 3 # DW_AT_name
39 .byte 14 # DW_FORM_strp
40 .byte 17 # DW_AT_low_pc
41 .byte 1 # DW_FORM_addr
42 .byte 16 # DW_AT_stmt_list
43 .byte 23 # DW_FORM_sec_offset
44 .byte 27 # DW_AT_comp_dir
45 .byte 14 # DW_FORM_strp
46 .ascii "\341\177" # DW_AT_APPLE_optimized
47 .byte 25 # DW_FORM_flag_present
48 .byte 0 # EOM(1)
49 .byte 0 # EOM(2)
50 .byte 0 # EOM(3)
51 .L.debug_abbrev_end:
54 # CHECK: Relocations [
55 # CHECK: Section ({{[^ ]+}}) .rel.debug_line {
56 # CHECK-NEXT: 0x2E R_386_32 .text 0x0
57 # CHECK-NEXT: }
59 # DWARF-DUMP: Address Line Column File ISA Discriminator Flags
60 # DWARF-DUMP: ------------------ ------ ------ ------ --- ------------- -------------
61 # DWARF-DUMP: 0x0000000000000000 2 0 1 0 1 is_stmt