Skip to content

Commit 6aa94c6

Browse files
committed
[DWARF] Add printout for op-index
This is a preparatory patch for extending DWARFDebugLine to properly parse line number programs with maximum_operations_per_instruction > 1 for VLIW targets. Add some scaffolding for handling op-index in line number programs, and add printouts for that in the table. As this affects a lot of tests, this is done in a separate commit to get a cleaner review for the actual op-index implementation. Verbose printouts are not present in many tests, and adding op-index to those will require a bit more code changes, so that is done in the actual implementation patch. Reviewed By: StephenTozer Differential Revision: https://reviews.llvm.org/D152535
1 parent 4ec3ea8 commit 6aa94c6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+289
-281
lines changed

bolt/test/AArch64/asm-func-debug.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ CHECK-NEXT: Address Range Header: length = 0x0000002c, format = DWARF32, versi
2222
CHECK-NEXT: [0x0000000000[[#ADDR]], 0x0000000000[[#ADDR+4]])
2323

2424
# Check line number info was updated
25-
CHECK: 0x0000000000[[#ADDR]] 13 0 0 0 0 is_stmt
26-
CHECK-NEXT: 0x0000000000[[#ADDR+4]] 13 0 0 0 0 is_stmt end_sequence
25+
CHECK: 0x0000000000[[#ADDR]] 13 0 0 0 0 0 is_stmt
26+
CHECK-NEXT: 0x0000000000[[#ADDR+4]] 13 0 0 0 0 0 is_stmt end_sequence

bolt/test/X86/asm-func-debug.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ CHECK-NEXT: Address Range Header: length = 0x0000002c, format = DWARF32, versi
2222
CHECK-NEXT: [0x0000000000[[#ADDR]], 0x0000000000[[#ADDR+1]])
2323

2424
# Check line number info was updated
25-
CHECK: 0x0000000000[[#ADDR]] 13 0 0 0 0 is_stmt
26-
CHECK-NEXT: 0x0000000000[[#ADDR+1]] 13 0 0 0 0 is_stmt end_sequence
25+
CHECK: 0x0000000000[[#ADDR]] 13 0 0 0 0 0 is_stmt
26+
CHECK-NEXT: 0x0000000000[[#ADDR+1]] 13 0 0 0 0 0 is_stmt end_sequence

llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ class DWARFDebugLine {
167167
/// An unsigned integer whose value encodes the applicable instruction set
168168
/// architecture for the current instruction.
169169
uint8_t Isa;
170+
/// An unsigned integer representing the index of an operation within a
171+
/// VLIW instruction. The index of the first operation is 0.
172+
/// For non-VLIW architectures, this register will always be 0.
173+
uint8_t OpIndex;
170174
/// A boolean indicating that the current instruction is the beginning of a
171175
/// statement.
172176
uint8_t IsStmt : 1,

llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ void DWARFDebugLine::Row::reset(bool DefaultIsStmt) {
477477
Isa = 0;
478478
Discriminator = 0;
479479
IsStmt = DefaultIsStmt;
480+
OpIndex = 0;
480481
BasicBlock = false;
481482
EndSequence = false;
482483
PrologueEnd = false;
@@ -485,15 +486,16 @@ void DWARFDebugLine::Row::reset(bool DefaultIsStmt) {
485486

486487
void DWARFDebugLine::Row::dumpTableHeader(raw_ostream &OS, unsigned Indent) {
487488
OS.indent(Indent)
488-
<< "Address Line Column File ISA Discriminator Flags\n";
489+
<< "Address Line Column File ISA Discriminator OpIndex "
490+
"Flags\n";
489491
OS.indent(Indent)
490-
<< "------------------ ------ ------ ------ --- ------------- "
492+
<< "------------------ ------ ------ ------ --- ------------- ------- "
491493
"-------------\n";
492494
}
493495

494496
void DWARFDebugLine::Row::dump(raw_ostream &OS) const {
495497
OS << format("0x%16.16" PRIx64 " %6u %6u", Address.Address, Line, Column)
496-
<< format(" %6u %3u %13u ", File, Isa, Discriminator)
498+
<< format(" %6u %3u %13u %7u ", File, Isa, Discriminator, OpIndex)
497499
<< (IsStmt ? " is_stmt" : "") << (BasicBlock ? " basic_block" : "")
498500
<< (PrologueEnd ? " prologue_end" : "")
499501
<< (EpilogueBegin ? " epilogue_begin" : "")

llvm/test/CodeGen/AMDGPU/prologue-epilogue-markers.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ define hidden void @_Z9base_casev() #0 !dbg !6 {
2222

2323
; DWARFLINE: file format elf64-amdgpu
2424
; DWARFLINE: .debug_line contents
25-
; DWARFLINE: Address Line Column File ISA Discriminator Flags
26-
; DWARFLINE: 0x0000000000000000 5 0 0 0 0 is_stmt
27-
; DWARFLINE-NEXT: 0x0000000000000004 7 3 0 0 0 is_stmt prologue_end
28-
; DWARFLINE-NEXT: 0x0000000000000008 7 3 0 0 0 is_stmt end_sequence
25+
; DWARFLINE: Address Line Column File ISA Discriminator OpIndex Flags
26+
; DWARFLINE: 0x0000000000000000 5 0 0 0 0 0 is_stmt
27+
; DWARFLINE-NEXT: 0x0000000000000004 7 3 0 0 0 0 is_stmt prologue_end
28+
; DWARFLINE-NEXT: 0x0000000000000008 7 3 0 0 0 0 is_stmt end_sequence
2929

3030
entry:
3131
ret void, !dbg !7

llvm/test/DebugInfo/CSKY/dwarf-csky-relocs.ll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@
7171
; DWARF-DUMP-NEXT: md5_checksum: ba6dbc7dc09162edb18beacd8474bcd3
7272
; DWARF-DUMP-NEXT: source: "int main()\n{\n return 0;\n}\n"
7373
; DWARF-DUMP-EMPTY:
74-
; DWARF-DUMP-NEXT: Address Line Column File ISA Discriminator Flags
75-
; DWARF-DUMP-NEXT: ------------------ ------ ------ ------ --- ------------- -------------
76-
; DWARF-DUMP-NEXT: 0x0000000000000000 2 0 0 0 0 is_stmt
77-
; DWARF-DUMP-NEXT: 0x000000000000000e 3 3 0 0 0 is_stmt prologue_end
78-
; DWARF-DUMP-NEXT: 0x0000000000000016 3 3 0 0 0 epilogue_begin
79-
; DWARF-DUMP-NEXT: 0x000000000000001a 3 3 0 0 0 end_sequence
74+
; DWARF-DUMP-NEXT: Address Line Column File ISA Discriminator OpIndex Flags
75+
; DWARF-DUMP-NEXT: ------------------ ------ ------ ------ --- ------------- ------- -------------
76+
; DWARF-DUMP-NEXT: 0x0000000000000000 2 0 0 0 0 0 is_stmt
77+
; DWARF-DUMP-NEXT: 0x000000000000000e 3 3 0 0 0 0 is_stmt prologue_end
78+
; DWARF-DUMP-NEXT: 0x0000000000000016 3 3 0 0 0 0 epilogue_begin
79+
; DWARF-DUMP-NEXT: 0x000000000000001a 3 3 0 0 0 0 end_sequence
8080

8181
; ModuleID = 'dwarf-csky-relocs.c'
8282
source_filename = "dwarf-csky-relocs.c"

llvm/test/DebugInfo/Generic/multiline.ll

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929

3030
; INT: {{^}}Address
3131
; INT: -----
32-
; INT: 3 3 1 0 0 is_stmt prologue_end{{$}}
33-
; INT-NEXT: 3 9 1 0 0 {{$}}
34-
; INT-NEXT: 3 15 1 0 0 {{$}}
35-
; INT-NEXT: 4 3 1 0 0 is_stmt{{$}}
36-
; INT-NEXT: 4 9 1 0 0 {{$}}
37-
; INT-NEXT: 4 15 1 0 0 {{$}}
38-
; INT-NEXT: 5 1 1 0 0 is_stmt{{( epilogue_begin)?}}{{$}}
32+
; INT: 3 3 1 0 0 0 is_stmt prologue_end{{$}}
33+
; INT-NEXT: 3 9 1 0 0 0 {{$}}
34+
; INT-NEXT: 3 15 1 0 0 0 {{$}}
35+
; INT-NEXT: 4 3 1 0 0 0 is_stmt{{$}}
36+
; INT-NEXT: 4 9 1 0 0 0 {{$}}
37+
; INT-NEXT: 4 15 1 0 0 0 {{$}}
38+
; INT-NEXT: 5 1 1 0 0 0 is_stmt{{( epilogue_begin)?}}{{$}}
3939

4040

4141
; Function Attrs: nounwind uwtable

llvm/test/DebugInfo/Generic/unconditional-branch.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
; RUN: %llc_dwarf -fast-isel=false -O0 -filetype=obj %s -o %t
44
; RUN: llvm-dwarfdump -a %t | FileCheck %s
55

6-
; CHECK: {{0x[0-9a-f]+}} 1 0 1 0 0 is_stmt
7-
; CHECK: {{0x[0-9a-f]+}} 2 0 1 0 0 is_stmt
8-
; CHECK: {{0x[0-9a-f]+}} 4 0 1 0 0 is_stmt
6+
; CHECK: {{0x[0-9a-f]+}} 1 0 1 0 0 0 is_stmt
7+
; CHECK: {{0x[0-9a-f]+}} 2 0 1 0 0 0 is_stmt
8+
; CHECK: {{0x[0-9a-f]+}} 4 0 1 0 0 0 is_stmt
99

1010
; IR generated from clang -O0 -g with the following source:
1111
;void foo(int i){

llvm/test/DebugInfo/MIR/X86/empty-inline.mir

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
# Here should not be an inlined subroutine with 0 length.
1212
# CHECK: NULL
1313
#
14-
# CHECK: Address Line Column File ISA Discriminator Flags
14+
# CHECK: Address Line Column File ISA Discriminator OpIndex Flags
1515
# CHECK-NEXT: ---
16-
# CHECK-NEXT: 25 0 1 0 0 is_stmt
17-
# CHECK-NEXT: 29 28 1 0 0 is_stmt prologue_end
18-
# CHECK-NEXT: 29 28 1 0 0 is_stmt end_sequence
16+
# CHECK-NEXT: 25 0 1 0 0 0 is_stmt
17+
# CHECK-NEXT: 29 28 1 0 0 0 is_stmt prologue_end
18+
# CHECK-NEXT: 29 28 1 0 0 0 is_stmt end_sequence
1919
--- |
2020
source_filename = "t.ll"
2121
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"

llvm/test/DebugInfo/Mips/delay-slot.ll

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
; return 1;
1111
; }
1212

13-
; CHECK: Address Line Column File ISA Discriminator Flags
14-
; CHECK: ------------------ ------ ------ ------ --- ------------- -------------
15-
; CHECK: 0x0000000000000000 1 0 1 0 0 is_stmt
16-
; CHECK: 0x0000000000000004 2 0 1 0 0 is_stmt prologue_end
17-
; CHECK: 0x0000000000000020 3 0 1 0 0 is_stmt
18-
; CHECK: 0x0000000000000030 4 0 1 0 0 is_stmt
13+
; CHECK: Address Line Column File ISA Discriminator OpIndex Flags
14+
; CHECK: ------------------ ------ ------ ------ --- ------------- ------- -------------
15+
; CHECK: 0x0000000000000000 1 0 1 0 0 0 is_stmt
16+
; CHECK: 0x0000000000000004 2 0 1 0 0 0 is_stmt prologue_end
17+
; CHECK: 0x0000000000000020 3 0 1 0 0 0 is_stmt
18+
; CHECK: 0x0000000000000030 4 0 1 0 0 0 is_stmt
1919
; CHECK: 0x0000000000000040 0 0 1 0 0
20-
; CHECK: 0x0000000000000048 5 0 1 0 0 is_stmt
21-
; CHECK: 0x0000000000000050 5 0 1 0 0 is_stmt end_sequence
20+
; CHECK: 0x0000000000000048 5 0 1 0 0 0 is_stmt
21+
; CHECK: 0x0000000000000050 5 0 1 0 0 0 is_stmt end_sequence
2222

2323

2424
target datalayout = "E-m:m-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64"

llvm/test/DebugInfo/Mips/fn-call-line.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646

4747
; INT: {{^}}Address
4848
; INT: -----
49-
; INT-NEXT: 2 0 1 0 0 is_stmt{{$}}
50-
; INT-NEXT: 3 3 1 0 0 is_stmt prologue_end{{$}}
51-
; INT-NEXT: 4 3 1 0 0 is_stmt{{$}}
49+
; INT-NEXT: 2 0 1 0 0 0 is_stmt{{$}}
50+
; INT-NEXT: 3 3 1 0 0 0 is_stmt prologue_end{{$}}
51+
; INT-NEXT: 4 3 1 0 0 0 is_stmt{{$}}
5252

5353

5454
; Function Attrs: nounwind uwtable

llvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@
6767
; DWARF-DUMP-NEXT: md5_checksum: 05ab89f5481bc9f2d037e7886641e919
6868
; DWARF-DUMP-NEXT: source: "int main()\n{\n return 0;\n}\n"
6969
; DWARF-DUMP-EMPTY:
70-
; DWARF-DUMP-NEXT: Address Line Column File ISA Discriminator Flags
71-
; DWARF-DUMP-NEXT: ------------------ ------ ------ ------ --- ------------- -------------
72-
; DWARF-DUMP-NEXT: 0x0000000000000000 2 0 0 0 0 is_stmt
73-
; DWARF-DUMP-NEXT: 0x0000000000000014 3 5 0 0 0 is_stmt prologue_end
74-
; DWARF-DUMP-NEXT: 0x0000000000000020 3 5 0 0 0 epilogue_begin
75-
; DWARF-DUMP-NEXT: 0x0000000000000028 3 5 0 0 0 end_sequence
70+
; DWARF-DUMP-NEXT: Address Line Column File ISA Discriminator OpIndex Flags
71+
; DWARF-DUMP-NEXT: ------------------ ------ ------ ------ --- ------------- ------- -------------
72+
; DWARF-DUMP-NEXT: 0x0000000000000000 2 0 0 0 0 0 is_stmt
73+
; DWARF-DUMP-NEXT: 0x0000000000000014 3 5 0 0 0 0 is_stmt prologue_end
74+
; DWARF-DUMP-NEXT: 0x0000000000000020 3 5 0 0 0 0 epilogue_begin
75+
; DWARF-DUMP-NEXT: 0x0000000000000028 3 5 0 0 0 0 end_sequence
7676

7777
; ModuleID = 'dwarf-riscv-relocs.c'
7878
source_filename = "dwarf-riscv-relocs.c"

llvm/test/DebugInfo/X86/basic-block-sections_1.ll

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@
4646
; BB-SECTIONS-ASM-NEXT: .quad .Lfunc_end0
4747
; BB-SECTIONS-ASM-NEXT: .quad 0
4848
; BB-SECTIONS-ASM-NEXT: .quad 0
49-
; BB-SECTIONS-LINE-TABLE: 0x0000000000000000 1 0 1 0 0 is_stmt
50-
; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000004 2 9 1 0 0 is_stmt prologue_end
51-
; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000008 2 7 1 0 0
52-
; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000000a 0 7 1 0 0
53-
; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000000f 3 5 1 0 0 is_stmt
54-
; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000015 0 5 1 0 0
55-
; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000001a 5 5 1 0 0 is_stmt
56-
; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000001e 6 1 1 0 0 is_stmt
57-
; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000022 6 1 1 0 0 epilogue_begin
58-
; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000024 6 1 1 0 0 end_sequence
49+
; BB-SECTIONS-LINE-TABLE: 0x0000000000000000 1 0 1 0 0 0 is_stmt
50+
; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000004 2 9 1 0 0 0 is_stmt prologue_end
51+
; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000008 2 7 1 0 0 0
52+
; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000000a 0 7 1 0 0 0
53+
; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000000f 3 5 1 0 0 0 is_stmt
54+
; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000015 0 5 1 0 0 0
55+
; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000001a 5 5 1 0 0 0 is_stmt
56+
; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000001e 6 1 1 0 0 0 is_stmt
57+
; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000022 6 1 1 0 0 0 epilogue_begin
58+
; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000024 6 1 1 0 0 0 end_sequence
5959

6060
; Function Attrs: noinline nounwind optnone uwtable
6161
define dso_local i32 @_Z3fooi(i32 %0) !dbg !7 !prof !34 !section_prefix !35 {

llvm/test/DebugInfo/X86/discriminator.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ attributes #0 = { nounwind uwtable "less-precise-fpmad"="false" "frame-pointer"=
5757
!14 = !DILocation(line: 2, scope: !15)
5858
!15 = !DILexicalBlockFile(discriminator: 42, file: !1, scope: !4)
5959

60-
; CHECK: Address Line Column File ISA Discriminator Flags
61-
; CHECK: ------------------ ------ ------ ------ --- ------------- -------------
62-
; CHECK: 0x000000000000000a 2 0 1 0 42 {{$}}
60+
; CHECK: Address Line Column File ISA Discriminator OpIndex Flags
61+
; CHECK: ------------------ ------ ------ ------ --- ------------- ------- -------------
62+
; CHECK: 0x000000000000000a 2 0 1 0 42 0 {{$}}

llvm/test/DebugInfo/X86/discriminator2.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ attributes #1 = { "disable-tail-calls"="false" "less-precise-fpmad"="false" "fra
5555
!13 = !DILocation(line: 5, column: 21, scope: !12)
5656
!14 = !DILocation(line: 6, column: 1, scope: !6)
5757

58-
; CHECK: Address Line Column File ISA Discriminator Flags
59-
; CHECK: ------------------ ------ ------ ------ --- ------------- -------------
60-
; CHECK: {{.*}} 4 3 1 0 1 {{.*}}
61-
; CHECK: {{.*}} 5 21 1 0 1 {{.*}}
58+
; CHECK: Address Line Column File ISA Discriminator OpIndex Flags
59+
; CHECK: ------------------ ------ ------ ------ --- ------------- ------- -------------
60+
; CHECK: {{.*}} 4 3 1 0 1 0 {{.*}}
61+
; CHECK: {{.*}} 5 21 1 0 1 0 {{.*}}

llvm/test/DebugInfo/X86/discriminator3.ll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ attributes #2 = { "disable-tail-calls"="false" "less-precise-fpmad"="false" "fra
6767
!21 = !DILocation(line: 3, column: 21, scope: !17)
6868
!22 = !DILocation(line: 4, column: 1, scope: !6)
6969

70-
; CHECK: Address Line Column File ISA Discriminator Flags
71-
; CHECK: ------------------ ------ ------ ------ --- ------------- -------------
72-
; CHECK: {{.*}} 3 15 1 0 1
73-
; CHECK: {{.*}} 3 16 1 0 1
74-
; CHECK: {{.*}} 3 11 1 0 1
70+
; CHECK: Address Line Column File ISA Discriminator OpIndex Flags
71+
; CHECK: ------------------ ------ ------ ------ --- ------------- ------- -------------
72+
; CHECK: {{.*}} 3 15 1 0 1 0
73+
; CHECK: {{.*}} 3 16 1 0 1 0
74+
; CHECK: {{.*}} 3 11 1 0 1 0

llvm/test/DebugInfo/X86/ending-run.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
; Check that the line table starts at 7, not 4, but that the first
55
; statement isn't until line 8.
66

7-
; CHECK-NOT: 0x0000000000000000 7 0 1 0 0 is_stmt
7+
; CHECK-NOT: 0x0000000000000000 7 0 1 0 0 0 is_stmt
88
; CHECK: 0x0000000000000000 7 0 1 0
9-
; CHECK: 0x0000000000000004 8 18 1 0 0 is_stmt prologue_end
9+
; CHECK: 0x0000000000000004 8 18 1 0 0 0 is_stmt prologue_end
1010

1111
define i32 @callee(i32 %x) nounwind uwtable ssp !dbg !5 {
1212
entry:

llvm/test/DebugInfo/X86/line-info.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; RUN: llvm-dwarfdump -v %t | FileCheck %s
33

44
; CHECK: [[FILEID:[0-9]+]]]{{.*}}list0.h
5-
; CHECK: [[FILEID]] 0 1 0 0 is_stmt{{$}}
5+
; CHECK: [[FILEID]] 0 1 0 0 0 is_stmt{{$}}
66

77
; IR generated from clang -g -emit-llvm with the following source:
88
; list0.h:

llvm/test/DebugInfo/X86/multiple-epilogue.ll

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@
2424
; LINE-TABLE: seg_select_size: 0
2525
; LINE-TABLE: prologue_length: 0x00000037
2626

27-
; LINE-TABLE: Address Line Column File ISA Discriminator Flags
28-
; LINE-TABLE-NEXT: ------------------ ------ ------ ------ --- ------------- -------------
29-
; LINE-TABLE-NEXT: 0x0000000000000000 4 0 0 0 0 is_stmt
30-
; LINE-TABLE-NEXT: 0x0000000000000001 5 9 0 0 0 is_stmt prologue_end
31-
; LINE-TABLE-NEXT: 0x0000000000000004 5 7 0 0 0
32-
; LINE-TABLE-NEXT: 0x0000000000000006 6 12 0 0 0 is_stmt
33-
; LINE-TABLE-NEXT: 0x000000000000000b 9 1 0 0 0 is_stmt epilogue_begin
34-
; LINE-TABLE-NEXT: 0x000000000000000d 8 12 0 0 0 is_stmt
35-
; LINE-TABLE-NEXT: 0x0000000000000012 9 1 0 0 0 is_stmt epilogue_begin
36-
; LINE-TABLE-NEXT: 0x0000000000000014 9 1 0 0 0 is_stmt end_sequence
27+
; LINE-TABLE: Address Line Column File ISA Discriminator OpIndex Flags
28+
; LINE-TABLE-NEXT: ------------------ ------ ------ ------ --- ------------- ------- -------------
29+
; LINE-TABLE-NEXT: 0x0000000000000000 4 0 0 0 0 0 is_stmt
30+
; LINE-TABLE-NEXT: 0x0000000000000001 5 9 0 0 0 0 is_stmt prologue_end
31+
; LINE-TABLE-NEXT: 0x0000000000000004 5 7 0 0 0 0
32+
; LINE-TABLE-NEXT: 0x0000000000000006 6 12 0 0 0 0 is_stmt
33+
; LINE-TABLE-NEXT: 0x000000000000000b 9 1 0 0 0 0 is_stmt epilogue_begin
34+
; LINE-TABLE-NEXT: 0x000000000000000d 8 12 0 0 0 0 is_stmt
35+
; LINE-TABLE-NEXT: 0x0000000000000012 9 1 0 0 0 0 is_stmt epilogue_begin
36+
; LINE-TABLE-NEXT: 0x0000000000000014 9 1 0 0 0 0 is_stmt end_sequence
3737

3838

3939

llvm/test/DebugInfo/XCOFF/empty-prolog.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
; RUN: llc -mtriple powerpc-ibm-aix-xcoff -filetype=obj -o %t %s
33
; RUN: llvm-dwarfdump -debug-line %t | FileCheck %s
44

5-
; CHECK: Address Line Column File ISA Discriminator Flags
6-
; CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- -------------
7-
; CHECK-NEXT: 0x0000000000000000 3 0 1 0 0 is_stmt prologue_end
8-
; CHECK-NEXT: 0x000000000000001c 3 0 1 0 0 is_stmt end_sequence
5+
; CHECK: Address Line Column File ISA Discriminator OpIndex Flags
6+
; CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------- -------------
7+
; CHECK-NEXT: 0x0000000000000000 3 0 1 0 0 0 is_stmt prologue_end
8+
; CHECK-NEXT: 0x000000000000001c 3 0 1 0 0 0 is_stmt end_sequence
99

1010
define i32 @main() !dbg !7 {
1111
entry:

llvm/test/DebugInfo/XCOFF/empty.ll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -517,8 +517,8 @@ entry:
517517
; DWARF32-NEXT: dir_index: 0
518518
; DWARF32-NEXT: mod_time: 0x00000000
519519
; DWARF32-NEXT: length: 0x00000000
520-
; DWARF32: Address Line Column File ISA Discriminator Flags
521-
; DWARF32-NEXT: ------------------ ------ ------ ------ --- ------------- -------------
522-
; DWARF32-NEXT: 0x0000000000000000 2 0 1 0 0 is_stmt
523-
; DWARF32-NEXT: 0x0000000000000004 3 3 1 0 0 is_stmt prologue_end
524-
; DWARF32-NEXT: 0x0000000000000024 3 3 1 0 0 is_stmt end_sequence
520+
; DWARF32: Address Line Column File ISA Discriminator OpIndex Flags
521+
; DWARF32-NEXT: ------------------ ------ ------ ------ --- ------------- ------- -------------
522+
; DWARF32-NEXT: 0x0000000000000000 2 0 1 0 0 0 is_stmt
523+
; DWARF32-NEXT: 0x0000000000000004 3 3 1 0 0 0 is_stmt prologue_end
524+
; DWARF32-NEXT: 0x0000000000000024 3 3 1 0 0 0 is_stmt end_sequence

0 commit comments

Comments
 (0)