[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / ELF / debug-loc.s
blob841c05c2b713f6a90051d78f9e024597d467dfea
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S | FileCheck %s
3 // Test that we don't regress on the size of the line info section. We used
4 // to handle negative line diffs incorrectly which manifested as very
5 // large integers being passed to DW_LNS_advance_line.
7 // FIXME: This size is the same as gnu as, but we can probably do a bit better.
8 // FIXME2: We need a debug_line dumper so that we can test the actual contents.
10 // CHECK: Section {
11 // CHECK: Index:
12 // CHECK: Name: .debug_line
13 // CHECK-NEXT: Type: SHT_PROGBITS
14 // CHECK-NEXT: Flags [
15 // CHECK-NEXT: ]
16 // CHECK-NEXT: Address: 0x0
17 // CHECK-NEXT: Offset:
18 // CHECK-NEXT: Size: 62
19 // CHECK-NEXT: Link: 0
20 // CHECK-NEXT: Info: 0
21 // CHECK-NEXT: AddressAlignment: 1
22 // CHECK-NEXT: EntrySize: 0
23 // CHECK-NEXT: }
25 .section .debug_line,"",@progbits
26 .text
27 foo:
28 .file 1 "Driver.ii"
29 .loc 1 2 0
30 nop
31 .loc 1 4 0
32 nop
33 .loc 1 3 0
34 nop