Index: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h =================================================================== --- llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h +++ llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h @@ -167,6 +167,10 @@ /// An unsigned integer whose value encodes the applicable instruction set /// architecture for the current instruction. uint8_t Isa; + /// An unsigned integer representing the index of an operation within a + /// VLIW instruction. The index of the first operation is 0. + /// For non-VLIW architectures, this register will always be 0. + uint8_t OpIndex; /// A boolean indicating that the current instruction is the beginning of a /// statement. uint8_t IsStmt : 1, Index: llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp =================================================================== --- llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp +++ llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp @@ -477,6 +477,7 @@ Isa = 0; Discriminator = 0; IsStmt = DefaultIsStmt; + OpIndex = 0; BasicBlock = false; EndSequence = false; PrologueEnd = false; @@ -485,15 +486,16 @@ void DWARFDebugLine::Row::dumpTableHeader(raw_ostream &OS, unsigned Indent) { OS.indent(Indent) - << "Address Line Column File ISA Discriminator Flags\n"; + << "Address Line Column File ISA Discriminator OpIndex " + "Flags\n"; OS.indent(Indent) - << "------------------ ------ ------ ------ --- ------------- " + << "------------------ ------ ------ ------ --- ------------- ------- " "-------------\n"; } void DWARFDebugLine::Row::dump(raw_ostream &OS) const { OS << format("0x%16.16" PRIx64 " %6u %6u", Address.Address, Line, Column) - << format(" %6u %3u %13u ", File, Isa, Discriminator) + << format(" %6u %3u %13u %7u ", File, Isa, Discriminator, OpIndex) << (IsStmt ? " is_stmt" : "") << (BasicBlock ? " basic_block" : "") << (PrologueEnd ? " prologue_end" : "") << (EpilogueBegin ? " epilogue_begin" : "") Index: llvm/test/CodeGen/AMDGPU/prologue-epilogue-markers.ll =================================================================== --- llvm/test/CodeGen/AMDGPU/prologue-epilogue-markers.ll +++ llvm/test/CodeGen/AMDGPU/prologue-epilogue-markers.ll @@ -22,10 +22,10 @@ ; DWARFLINE: file format elf64-amdgpu ; DWARFLINE: .debug_line contents -; DWARFLINE: Address Line Column File ISA Discriminator Flags -; DWARFLINE: 0x0000000000000000 5 0 0 0 0 is_stmt -; DWARFLINE-NEXT: 0x0000000000000004 7 3 0 0 0 is_stmt prologue_end -; DWARFLINE-NEXT: 0x0000000000000008 7 3 0 0 0 is_stmt end_sequence +; DWARFLINE: Address Line Column File ISA Discriminator OpIndex Flags +; DWARFLINE: 0x0000000000000000 5 0 0 0 0 0 is_stmt +; DWARFLINE-NEXT: 0x0000000000000004 7 3 0 0 0 0 is_stmt prologue_end +; DWARFLINE-NEXT: 0x0000000000000008 7 3 0 0 0 0 is_stmt end_sequence entry: ret void, !dbg !7 Index: llvm/test/DebugInfo/CSKY/dwarf-csky-relocs.ll =================================================================== --- llvm/test/DebugInfo/CSKY/dwarf-csky-relocs.ll +++ llvm/test/DebugInfo/CSKY/dwarf-csky-relocs.ll @@ -71,12 +71,12 @@ ; DWARF-DUMP-NEXT: md5_checksum: ba6dbc7dc09162edb18beacd8474bcd3 ; DWARF-DUMP-NEXT: source: "int main()\n{\n return 0;\n}\n" ; DWARF-DUMP-EMPTY: -; DWARF-DUMP-NEXT: Address Line Column File ISA Discriminator Flags -; DWARF-DUMP-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -; DWARF-DUMP-NEXT: 0x0000000000000000 2 0 0 0 0 is_stmt -; DWARF-DUMP-NEXT: 0x000000000000000e 3 3 0 0 0 is_stmt prologue_end -; DWARF-DUMP-NEXT: 0x0000000000000016 3 3 0 0 0 epilogue_begin -; DWARF-DUMP-NEXT: 0x000000000000001a 3 3 0 0 0 end_sequence +; DWARF-DUMP-NEXT: Address Line Column File ISA Discriminator OpIndex Flags +; DWARF-DUMP-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +; DWARF-DUMP-NEXT: 0x0000000000000000 2 0 0 0 0 0 is_stmt +; DWARF-DUMP-NEXT: 0x000000000000000e 3 3 0 0 0 0 is_stmt prologue_end +; DWARF-DUMP-NEXT: 0x0000000000000016 3 3 0 0 0 0 epilogue_begin +; DWARF-DUMP-NEXT: 0x000000000000001a 3 3 0 0 0 0 end_sequence ; ModuleID = 'dwarf-csky-relocs.c' source_filename = "dwarf-csky-relocs.c" Index: llvm/test/DebugInfo/Generic/multiline.ll =================================================================== --- llvm/test/DebugInfo/Generic/multiline.ll +++ llvm/test/DebugInfo/Generic/multiline.ll @@ -29,13 +29,13 @@ ; INT: {{^}}Address ; INT: ----- -; INT: 3 3 1 0 0 is_stmt prologue_end{{$}} -; INT-NEXT: 3 9 1 0 0 {{$}} -; INT-NEXT: 3 15 1 0 0 {{$}} -; INT-NEXT: 4 3 1 0 0 is_stmt{{$}} -; INT-NEXT: 4 9 1 0 0 {{$}} -; INT-NEXT: 4 15 1 0 0 {{$}} -; INT-NEXT: 5 1 1 0 0 is_stmt{{( epilogue_begin)?}}{{$}} +; INT: 3 3 1 0 0 0 is_stmt prologue_end{{$}} +; INT-NEXT: 3 9 1 0 0 0 {{$}} +; INT-NEXT: 3 15 1 0 0 0 {{$}} +; INT-NEXT: 4 3 1 0 0 0 is_stmt{{$}} +; INT-NEXT: 4 9 1 0 0 0 {{$}} +; INT-NEXT: 4 15 1 0 0 0 {{$}} +; INT-NEXT: 5 1 1 0 0 0 is_stmt{{( epilogue_begin)?}}{{$}} ; Function Attrs: nounwind uwtable Index: llvm/test/DebugInfo/Generic/unconditional-branch.ll =================================================================== --- llvm/test/DebugInfo/Generic/unconditional-branch.ll +++ llvm/test/DebugInfo/Generic/unconditional-branch.ll @@ -3,9 +3,9 @@ ; RUN: %llc_dwarf -fast-isel=false -O0 -filetype=obj %s -o %t ; RUN: llvm-dwarfdump -a %t | FileCheck %s -; CHECK: {{0x[0-9a-f]+}} 1 0 1 0 0 is_stmt -; CHECK: {{0x[0-9a-f]+}} 2 0 1 0 0 is_stmt -; CHECK: {{0x[0-9a-f]+}} 4 0 1 0 0 is_stmt +; CHECK: {{0x[0-9a-f]+}} 1 0 1 0 0 0 is_stmt +; CHECK: {{0x[0-9a-f]+}} 2 0 1 0 0 0 is_stmt +; CHECK: {{0x[0-9a-f]+}} 4 0 1 0 0 0 is_stmt ; IR generated from clang -O0 -g with the following source: ;void foo(int i){ Index: llvm/test/DebugInfo/MIR/X86/empty-inline.mir =================================================================== --- llvm/test/DebugInfo/MIR/X86/empty-inline.mir +++ llvm/test/DebugInfo/MIR/X86/empty-inline.mir @@ -11,11 +11,11 @@ # Here should not be an inlined subroutine with 0 length. # CHECK: NULL # -# CHECK: Address Line Column File ISA Discriminator Flags +# CHECK: Address Line Column File ISA Discriminator OpIndex Flags # CHECK-NEXT: --- -# CHECK-NEXT: 25 0 1 0 0 is_stmt -# CHECK-NEXT: 29 28 1 0 0 is_stmt prologue_end -# CHECK-NEXT: 29 28 1 0 0 is_stmt end_sequence +# CHECK-NEXT: 25 0 1 0 0 0 is_stmt +# CHECK-NEXT: 29 28 1 0 0 0 is_stmt prologue_end +# CHECK-NEXT: 29 28 1 0 0 0 is_stmt end_sequence --- | source_filename = "t.ll" target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" Index: llvm/test/DebugInfo/Mips/delay-slot.ll =================================================================== --- llvm/test/DebugInfo/Mips/delay-slot.ll +++ llvm/test/DebugInfo/Mips/delay-slot.ll @@ -10,15 +10,15 @@ ; return 1; ; } -; CHECK: Address Line Column File ISA Discriminator Flags -; CHECK: ------------------ ------ ------ ------ --- ------------- ------------- -; CHECK: 0x0000000000000000 1 0 1 0 0 is_stmt -; CHECK: 0x0000000000000004 2 0 1 0 0 is_stmt prologue_end -; CHECK: 0x0000000000000020 3 0 1 0 0 is_stmt -; CHECK: 0x0000000000000030 4 0 1 0 0 is_stmt +; CHECK: Address Line Column File ISA Discriminator OpIndex Flags +; CHECK: ------------------ ------ ------ ------ --- ------------- ------- ------------- +; CHECK: 0x0000000000000000 1 0 1 0 0 0 is_stmt +; CHECK: 0x0000000000000004 2 0 1 0 0 0 is_stmt prologue_end +; CHECK: 0x0000000000000020 3 0 1 0 0 0 is_stmt +; CHECK: 0x0000000000000030 4 0 1 0 0 0 is_stmt ; CHECK: 0x0000000000000040 0 0 1 0 0 -; CHECK: 0x0000000000000048 5 0 1 0 0 is_stmt -; CHECK: 0x0000000000000050 5 0 1 0 0 is_stmt end_sequence +; CHECK: 0x0000000000000048 5 0 1 0 0 0 is_stmt +; CHECK: 0x0000000000000050 5 0 1 0 0 0 is_stmt end_sequence target datalayout = "E-m:m-p:32:32-i8:8:32-i16:16:32-i64:64-n32-S64" Index: llvm/test/DebugInfo/Mips/fn-call-line.ll =================================================================== --- llvm/test/DebugInfo/Mips/fn-call-line.ll +++ llvm/test/DebugInfo/Mips/fn-call-line.ll @@ -46,9 +46,9 @@ ; INT: {{^}}Address ; INT: ----- -; INT-NEXT: 2 0 1 0 0 is_stmt{{$}} -; INT-NEXT: 3 3 1 0 0 is_stmt prologue_end{{$}} -; INT-NEXT: 4 3 1 0 0 is_stmt{{$}} +; INT-NEXT: 2 0 1 0 0 0 is_stmt{{$}} +; INT-NEXT: 3 3 1 0 0 0 is_stmt prologue_end{{$}} +; INT-NEXT: 4 3 1 0 0 0 is_stmt{{$}} ; Function Attrs: nounwind uwtable Index: llvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll =================================================================== --- llvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll +++ llvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll @@ -67,12 +67,12 @@ ; DWARF-DUMP-NEXT: md5_checksum: 05ab89f5481bc9f2d037e7886641e919 ; DWARF-DUMP-NEXT: source: "int main()\n{\n return 0;\n}\n" ; DWARF-DUMP-EMPTY: -; DWARF-DUMP-NEXT: Address Line Column File ISA Discriminator Flags -; DWARF-DUMP-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -; DWARF-DUMP-NEXT: 0x0000000000000000 2 0 0 0 0 is_stmt -; DWARF-DUMP-NEXT: 0x0000000000000014 3 5 0 0 0 is_stmt prologue_end -; DWARF-DUMP-NEXT: 0x0000000000000020 3 5 0 0 0 epilogue_begin -; DWARF-DUMP-NEXT: 0x0000000000000028 3 5 0 0 0 end_sequence +; DWARF-DUMP-NEXT: Address Line Column File ISA Discriminator OpIndex Flags +; DWARF-DUMP-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +; DWARF-DUMP-NEXT: 0x0000000000000000 2 0 0 0 0 0 is_stmt +; DWARF-DUMP-NEXT: 0x0000000000000014 3 5 0 0 0 0 is_stmt prologue_end +; DWARF-DUMP-NEXT: 0x0000000000000020 3 5 0 0 0 0 epilogue_begin +; DWARF-DUMP-NEXT: 0x0000000000000028 3 5 0 0 0 0 end_sequence ; ModuleID = 'dwarf-riscv-relocs.c' source_filename = "dwarf-riscv-relocs.c" Index: llvm/test/DebugInfo/X86/basic-block-sections_1.ll =================================================================== --- llvm/test/DebugInfo/X86/basic-block-sections_1.ll +++ llvm/test/DebugInfo/X86/basic-block-sections_1.ll @@ -46,16 +46,16 @@ ; BB-SECTIONS-ASM-NEXT: .quad .Lfunc_end0 ; BB-SECTIONS-ASM-NEXT: .quad 0 ; BB-SECTIONS-ASM-NEXT: .quad 0 -; BB-SECTIONS-LINE-TABLE: 0x0000000000000000 1 0 1 0 0 is_stmt -; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000004 2 9 1 0 0 is_stmt prologue_end -; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000008 2 7 1 0 0 -; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000000a 0 7 1 0 0 -; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000000f 3 5 1 0 0 is_stmt -; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000015 0 5 1 0 0 -; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000001a 5 5 1 0 0 is_stmt -; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000001e 6 1 1 0 0 is_stmt -; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000022 6 1 1 0 0 epilogue_begin -; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000024 6 1 1 0 0 end_sequence +; BB-SECTIONS-LINE-TABLE: 0x0000000000000000 1 0 1 0 0 0 is_stmt +; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000004 2 9 1 0 0 0 is_stmt prologue_end +; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000008 2 7 1 0 0 0 +; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000000a 0 7 1 0 0 0 +; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000000f 3 5 1 0 0 0 is_stmt +; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000015 0 5 1 0 0 0 +; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000001a 5 5 1 0 0 0 is_stmt +; BB-SECTIONS-LINE-TABLE-NEXT: 0x000000000000001e 6 1 1 0 0 0 is_stmt +; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000022 6 1 1 0 0 0 epilogue_begin +; BB-SECTIONS-LINE-TABLE-NEXT: 0x0000000000000024 6 1 1 0 0 0 end_sequence ; Function Attrs: noinline nounwind optnone uwtable define dso_local i32 @_Z3fooi(i32 %0) !dbg !7 !prof !34 !section_prefix !35 { Index: llvm/test/DebugInfo/X86/discriminator.ll =================================================================== --- llvm/test/DebugInfo/X86/discriminator.ll +++ llvm/test/DebugInfo/X86/discriminator.ll @@ -57,6 +57,6 @@ !14 = !DILocation(line: 2, scope: !15) !15 = !DILexicalBlockFile(discriminator: 42, file: !1, scope: !4) -; CHECK: Address Line Column File ISA Discriminator Flags -; CHECK: ------------------ ------ ------ ------ --- ------------- ------------- -; CHECK: 0x000000000000000a 2 0 1 0 42 {{$}} +; CHECK: Address Line Column File ISA Discriminator OpIndex Flags +; CHECK: ------------------ ------ ------ ------ --- ------------- ------- ------------- +; CHECK: 0x000000000000000a 2 0 1 0 42 0 {{$}} Index: llvm/test/DebugInfo/X86/discriminator2.ll =================================================================== --- llvm/test/DebugInfo/X86/discriminator2.ll +++ llvm/test/DebugInfo/X86/discriminator2.ll @@ -55,7 +55,7 @@ !13 = !DILocation(line: 5, column: 21, scope: !12) !14 = !DILocation(line: 6, column: 1, scope: !6) -; CHECK: Address Line Column File ISA Discriminator Flags -; CHECK: ------------------ ------ ------ ------ --- ------------- ------------- -; CHECK: {{.*}} 4 3 1 0 1 {{.*}} -; CHECK: {{.*}} 5 21 1 0 1 {{.*}} +; CHECK: Address Line Column File ISA Discriminator OpIndex Flags +; CHECK: ------------------ ------ ------ ------ --- ------------- ------- ------------- +; CHECK: {{.*}} 4 3 1 0 1 0 {{.*}} +; CHECK: {{.*}} 5 21 1 0 1 0 {{.*}} Index: llvm/test/DebugInfo/X86/discriminator3.ll =================================================================== --- llvm/test/DebugInfo/X86/discriminator3.ll +++ llvm/test/DebugInfo/X86/discriminator3.ll @@ -67,8 +67,8 @@ !21 = !DILocation(line: 3, column: 21, scope: !17) !22 = !DILocation(line: 4, column: 1, scope: !6) -; CHECK: Address Line Column File ISA Discriminator Flags -; CHECK: ------------------ ------ ------ ------ --- ------------- ------------- -; CHECK: {{.*}} 3 15 1 0 1 -; CHECK: {{.*}} 3 16 1 0 1 -; CHECK: {{.*}} 3 11 1 0 1 +; CHECK: Address Line Column File ISA Discriminator OpIndex Flags +; CHECK: ------------------ ------ ------ ------ --- ------------- ------- ------------- +; CHECK: {{.*}} 3 15 1 0 1 0 +; CHECK: {{.*}} 3 16 1 0 1 0 +; CHECK: {{.*}} 3 11 1 0 1 0 Index: llvm/test/DebugInfo/X86/ending-run.ll =================================================================== --- llvm/test/DebugInfo/X86/ending-run.ll +++ llvm/test/DebugInfo/X86/ending-run.ll @@ -4,9 +4,9 @@ ; Check that the line table starts at 7, not 4, but that the first ; statement isn't until line 8. -; CHECK-NOT: 0x0000000000000000 7 0 1 0 0 is_stmt +; CHECK-NOT: 0x0000000000000000 7 0 1 0 0 0 is_stmt ; CHECK: 0x0000000000000000 7 0 1 0 -; CHECK: 0x0000000000000004 8 18 1 0 0 is_stmt prologue_end +; CHECK: 0x0000000000000004 8 18 1 0 0 0 is_stmt prologue_end define i32 @callee(i32 %x) nounwind uwtable ssp !dbg !5 { entry: Index: llvm/test/DebugInfo/X86/line-info.ll =================================================================== --- llvm/test/DebugInfo/X86/line-info.ll +++ llvm/test/DebugInfo/X86/line-info.ll @@ -2,7 +2,7 @@ ; RUN: llvm-dwarfdump -v %t | FileCheck %s ; CHECK: [[FILEID:[0-9]+]]]{{.*}}list0.h -; CHECK: [[FILEID]] 0 1 0 0 is_stmt{{$}} +; CHECK: [[FILEID]] 0 1 0 0 0 is_stmt{{$}} ; IR generated from clang -g -emit-llvm with the following source: ; list0.h: Index: llvm/test/DebugInfo/X86/multiple-epilogue.ll =================================================================== --- llvm/test/DebugInfo/X86/multiple-epilogue.ll +++ llvm/test/DebugInfo/X86/multiple-epilogue.ll @@ -24,16 +24,16 @@ ; LINE-TABLE: seg_select_size: 0 ; LINE-TABLE: prologue_length: 0x00000037 -; LINE-TABLE: Address Line Column File ISA Discriminator Flags -; LINE-TABLE-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -; LINE-TABLE-NEXT: 0x0000000000000000 4 0 0 0 0 is_stmt -; LINE-TABLE-NEXT: 0x0000000000000001 5 9 0 0 0 is_stmt prologue_end -; LINE-TABLE-NEXT: 0x0000000000000004 5 7 0 0 0 -; LINE-TABLE-NEXT: 0x0000000000000006 6 12 0 0 0 is_stmt -; LINE-TABLE-NEXT: 0x000000000000000b 9 1 0 0 0 is_stmt epilogue_begin -; LINE-TABLE-NEXT: 0x000000000000000d 8 12 0 0 0 is_stmt -; LINE-TABLE-NEXT: 0x0000000000000012 9 1 0 0 0 is_stmt epilogue_begin -; LINE-TABLE-NEXT: 0x0000000000000014 9 1 0 0 0 is_stmt end_sequence +; LINE-TABLE: Address Line Column File ISA Discriminator OpIndex Flags +; LINE-TABLE-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +; LINE-TABLE-NEXT: 0x0000000000000000 4 0 0 0 0 0 is_stmt +; LINE-TABLE-NEXT: 0x0000000000000001 5 9 0 0 0 0 is_stmt prologue_end +; LINE-TABLE-NEXT: 0x0000000000000004 5 7 0 0 0 0 +; LINE-TABLE-NEXT: 0x0000000000000006 6 12 0 0 0 0 is_stmt +; LINE-TABLE-NEXT: 0x000000000000000b 9 1 0 0 0 0 is_stmt epilogue_begin +; LINE-TABLE-NEXT: 0x000000000000000d 8 12 0 0 0 0 is_stmt +; LINE-TABLE-NEXT: 0x0000000000000012 9 1 0 0 0 0 is_stmt epilogue_begin +; LINE-TABLE-NEXT: 0x0000000000000014 9 1 0 0 0 0 is_stmt end_sequence Index: llvm/test/DebugInfo/XCOFF/empty-prolog.ll =================================================================== --- llvm/test/DebugInfo/XCOFF/empty-prolog.ll +++ llvm/test/DebugInfo/XCOFF/empty-prolog.ll @@ -2,10 +2,10 @@ ; RUN: llc -mtriple powerpc-ibm-aix-xcoff -filetype=obj -o %t %s ; RUN: llvm-dwarfdump -debug-line %t | FileCheck %s -; CHECK: Address Line Column File ISA Discriminator Flags -; CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -; CHECK-NEXT: 0x0000000000000000 3 0 1 0 0 is_stmt prologue_end -; CHECK-NEXT: 0x000000000000001c 3 0 1 0 0 is_stmt end_sequence +; CHECK: Address Line Column File ISA Discriminator OpIndex Flags +; CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +; CHECK-NEXT: 0x0000000000000000 3 0 1 0 0 0 is_stmt prologue_end +; CHECK-NEXT: 0x000000000000001c 3 0 1 0 0 0 is_stmt end_sequence define i32 @main() !dbg !7 { entry: Index: llvm/test/DebugInfo/XCOFF/empty.ll =================================================================== --- llvm/test/DebugInfo/XCOFF/empty.ll +++ llvm/test/DebugInfo/XCOFF/empty.ll @@ -517,8 +517,8 @@ ; DWARF32-NEXT: dir_index: 0 ; DWARF32-NEXT: mod_time: 0x00000000 ; DWARF32-NEXT: length: 0x00000000 -; DWARF32: Address Line Column File ISA Discriminator Flags -; DWARF32-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -; DWARF32-NEXT: 0x0000000000000000 2 0 1 0 0 is_stmt -; DWARF32-NEXT: 0x0000000000000004 3 3 1 0 0 is_stmt prologue_end -; DWARF32-NEXT: 0x0000000000000024 3 3 1 0 0 is_stmt end_sequence +; DWARF32: Address Line Column File ISA Discriminator OpIndex Flags +; DWARF32-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +; DWARF32-NEXT: 0x0000000000000000 2 0 1 0 0 0 is_stmt +; DWARF32-NEXT: 0x0000000000000004 3 3 1 0 0 0 is_stmt prologue_end +; DWARF32-NEXT: 0x0000000000000024 3 3 1 0 0 0 is_stmt end_sequence Index: llvm/test/Linker/subprogram-linkonce-weak.ll =================================================================== --- llvm/test/Linker/subprogram-linkonce-weak.ll +++ llvm/test/Linker/subprogram-linkonce-weak.ll @@ -151,16 +151,16 @@ ; DWLW-LABEL: file_names[ 1]: ; DWLW-NEXT: name: "bar.c" -; DWLW: 2 0 1 0 0 is_stmt prologue_end +; DWLW: 2 0 1 0 0 0 is_stmt prologue_end ; DWLW-LABEL: file_names[ 1]: ; DWLW-NEXT: name: "foo.c" -; DWLW: 52 0 1 0 0 is_stmt prologue_end -; DWLW-NOT: prologue_end +; DWLW: 52 0 1 0 0 0 is_stmt prologue_end +; DWLW-NOT: prologue_end ; DWWL-LABEL: file_names[ 1]: ; DWWL-NEXT: name: "foo.c" -; DWWL: 52 0 1 0 0 is_stmt prologue_end +; DWWL: 52 0 1 0 0 0 is_stmt prologue_end ; DWWL-LABEL: file_names[ 1]: ; DWWL-NEXT: name: "bar.c" -; DWWL: 2 0 1 0 0 is_stmt prologue_end -; DWWL-NOT: prologue_end +; DWWL: 2 0 1 0 0 0 is_stmt prologue_end +; DWWL-NOT: prologue_end Index: llvm/test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.s =================================================================== --- llvm/test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.s +++ llvm/test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.s @@ -39,10 +39,10 @@ // DWARF-NEXT: [0x00000000, 0x00000004) // DWARF: .debug_line contents: -// DWARF: 0x0000000000000000 7 0 1 0 0 is_stmt -// DWARF-NEXT: 0x0000000000000004 7 0 1 0 0 is_stmt end_sequence -// DWARF: 0x0000000000000000 11 0 1 0 0 is_stmt -// DWARF-NEXT: 0x0000000000000004 11 0 1 0 0 is_stmt end_sequence +// DWARF: 0x0000000000000000 7 0 1 0 0 0 is_stmt +// DWARF-NEXT: 0x0000000000000004 7 0 1 0 0 0 is_stmt end_sequence +// DWARF: 0x0000000000000000 11 0 1 0 0 0 is_stmt +// DWARF-NEXT: 0x0000000000000004 11 0 1 0 0 0 is_stmt end_sequence // DWARF-NOT: .debug_ranges contents: Index: llvm/test/MC/ARM/dwarf-asm-multiple-sections.s =================================================================== --- llvm/test/MC/ARM/dwarf-asm-multiple-sections.s +++ llvm/test/MC/ARM/dwarf-asm-multiple-sections.s @@ -73,14 +73,14 @@ // DWARF-DL-5: include_directories[ 0] = "/tmp" // DWARF-DL: file_names[ [[DWFILE]]]: // DWARF-DL: name: "{{(|-)}}" -// DWARF-DL-5: 0x0000000000000000 17 0 0 0 0 is_stmt -// DWARF-DL-5-NEXT: 0x0000000000000004 17 0 0 0 0 is_stmt end_sequence -// DWARF-DL-5-NEXT: 0x0000000000000000 21 0 0 0 0 is_stmt -// DWARF-DL-5-NEXT: 0x0000000000000004 21 0 0 0 0 is_stmt end_sequence -// DWARF-DL-3: 0x0000000000000000 17 0 1 0 0 is_stmt -// DWARF-DL-3-NEXT: 0x0000000000000004 17 0 1 0 0 is_stmt end_sequence -// DWARF-DL-3-NEXT: 0x0000000000000000 21 0 1 0 0 is_stmt -// DWARF-DL-3-NEXT: 0x0000000000000004 21 0 1 0 0 is_stmt end_sequence +// DWARF-DL-5: 0x0000000000000000 17 0 0 0 0 0 is_stmt +// DWARF-DL-5-NEXT: 0x0000000000000004 17 0 0 0 0 0 is_stmt end_sequence +// DWARF-DL-5-NEXT: 0x0000000000000000 21 0 0 0 0 0 is_stmt +// DWARF-DL-5-NEXT: 0x0000000000000004 21 0 0 0 0 0 is_stmt end_sequence +// DWARF-DL-3: 0x0000000000000000 17 0 1 0 0 0 is_stmt +// DWARF-DL-3-NEXT: 0x0000000000000004 17 0 1 0 0 0 is_stmt end_sequence +// DWARF-DL-3-NEXT: 0x0000000000000000 21 0 1 0 0 0 is_stmt +// DWARF-DL-3-NEXT: 0x0000000000000004 21 0 1 0 0 0 is_stmt end_sequence // DWARF-DL-EMPTY: Index: llvm/test/MC/ARM/dwarf-asm-nonstandard-section.s =================================================================== --- llvm/test/MC/ARM/dwarf-asm-nonstandard-section.s +++ llvm/test/MC/ARM/dwarf-asm-nonstandard-section.s @@ -33,8 +33,8 @@ // DWARF: .debug_line contents: -// DWARF: 0x0000000000000000 7 0 1 0 0 is_stmt -// DWARF-NEXT: 0x0000000000000004 7 0 1 0 0 is_stmt end_sequence +// DWARF: 0x0000000000000000 7 0 1 0 0 0 is_stmt +// DWARF-NEXT: 0x0000000000000004 7 0 1 0 0 0 is_stmt end_sequence // DWARF-NOT: .debug_ranges contents: Index: llvm/test/MC/ARM/dwarf-asm-single-section.s =================================================================== --- llvm/test/MC/ARM/dwarf-asm-single-section.s +++ llvm/test/MC/ARM/dwarf-asm-single-section.s @@ -33,8 +33,8 @@ // DWARF-NEXT: [0x00000000, 0x00000004) // DWARF: .debug_line contents: -// DWARF: 0x0000000000000000 7 0 1 0 0 is_stmt -// DWARF-NEXT: 0x0000000000000004 7 0 1 0 0 is_stmt end_sequence +// DWARF: 0x0000000000000000 7 0 1 0 0 0 is_stmt +// DWARF-NEXT: 0x0000000000000004 7 0 1 0 0 0 is_stmt end_sequence // DWARF-NOT: .debug_ranges contents: Index: llvm/test/MC/AsmParser/directive_file-g.s =================================================================== --- llvm/test/MC/AsmParser/directive_file-g.s +++ llvm/test/MC/AsmParser/directive_file-g.s @@ -20,5 +20,5 @@ # CHECK: file_names[ 1]: # CHECK-NEXT: name: "a.c" # CHECK-NEXT: dir_index: 0 -# CHECK: 0x{{0+}}0 1 1 1 0 0 is_stmt -# CHECK: 0x{{0+}}1 1 1 1 0 0 is_stmt end_sequence +# CHECK: 0x{{0+}}0 1 1 1 0 0 0 is_stmt +# CHECK: 0x{{0+}}1 1 1 1 0 0 0 is_stmt end_sequence Index: llvm/test/MC/AsmParser/directive_loc_2.s =================================================================== --- llvm/test/MC/AsmParser/directive_loc_2.s +++ llvm/test/MC/AsmParser/directive_loc_2.s @@ -17,9 +17,9 @@ # CHECK: file_names[ 1]: # CHECK-NEXT: name: "test.c" # CHECK-NEXT: dir_index: 0 -# CHECK: 0x{{0+}}0 2 0 1 0 0 is_stmt -# CHECK: 0x{{0+}}1 4 0 1 0 0 {{$}} -# CHECK: 0x{{0+}}2 6 0 1 0 0 {{$}} -# CHECK: 0x{{0+}}3 8 0 1 0 0 is_stmt -# CHECK: 0x{{0+}}4 10 0 1 0 0 is_stmt -# CHECK: 0x{{0+}}5 10 0 1 0 0 is_stmt end_sequence +# CHECK: 0x{{0+}}0 2 0 1 0 0 0 is_stmt +# CHECK: 0x{{0+}}1 4 0 1 0 0 0 {{$}} +# CHECK: 0x{{0+}}2 6 0 1 0 0 0 {{$}} +# CHECK: 0x{{0+}}3 8 0 1 0 0 0 is_stmt +# CHECK: 0x{{0+}}4 10 0 1 0 0 0 is_stmt +# CHECK: 0x{{0+}}5 10 0 1 0 0 0 is_stmt end_sequence Index: llvm/test/MC/AsmParser/line-marker-inside-macro.s =================================================================== --- llvm/test/MC/AsmParser/line-marker-inside-macro.s +++ llvm/test/MC/AsmParser/line-marker-inside-macro.s @@ -10,5 +10,5 @@ FOO mov %eax, 0 -// CHECK: 0x0000000000000000 105 0 1 0 0 is_stmt -// CHECK-NEXT: 0x0000000000000005 105 0 1 0 0 is_stmt end_sequence +// CHECK: 0x0000000000000000 105 0 1 0 0 0 is_stmt +// CHECK-NEXT: 0x0000000000000005 105 0 1 0 0 0 is_stmt end_sequence Index: llvm/test/MC/ELF/discriminator.s =================================================================== --- llvm/test/MC/ELF/discriminator.s +++ llvm/test/MC/ELF/discriminator.s @@ -56,6 +56,6 @@ # CHECK-NEXT: 0x2E R_386_32 .text # CHECK-NEXT: } -# DWARF-DUMP: Address Line Column File ISA Discriminator Flags -# DWARF-DUMP: ------------------ ------ ------ ------ --- ------------- ------------- -# DWARF-DUMP: 0x0000000000000000 2 0 1 0 1 is_stmt +# DWARF-DUMP: Address Line Column File ISA Discriminator OpIndex Flags +# DWARF-DUMP: ------------------ ------ ------ ------ --- ------------- ------- ------------- +# DWARF-DUMP: 0x0000000000000000 2 0 1 0 1 0 is_stmt Index: llvm/test/MC/MachO/gen-dwarf-cpp.s =================================================================== --- llvm/test/MC/MachO/gen-dwarf-cpp.s +++ llvm/test/MC/MachO/gen-dwarf-cpp.s @@ -24,6 +24,6 @@ // CHECK-NOT: file_names // We check that the source line number 100 is picked up before the "movl" -// CHECK: Address Line Column File ISA Discriminator Flags -// CHECK: ------------------ ------ ------ ------ --- ------------- ------------- -// CHECK: 0x0000000000000000 102 0 1 0 0 is_stmt +// CHECK: Address Line Column File ISA Discriminator OpIndex Flags +// CHECK: ------------------ ------ ------ ------ --- ------------- ------- ------------- +// CHECK: 0x0000000000000000 102 0 1 0 0 0 is_stmt Index: llvm/test/MC/MachO/gen-dwarf.s =================================================================== --- llvm/test/MC/MachO/gen-dwarf.s +++ llvm/test/MC/MachO/gen-dwarf.s @@ -95,10 +95,10 @@ // CHECK-NEXT: name: "gen-dwarf.s" // CHECK-NEXT: dir_index: 1 -// CHECK: Address Line Column File ISA Discriminator Flags -// CHECK: ------------------ ------ ------ ------ --- ------------- ------------- -// CHECK: 0x0000000000000000 6 0 1 0 0 is_stmt -// CHECK: 0x0000000000000005 7 0 1 0 0 is_stmt -// CHECK: 0x0000000000000006 8 0 1 0 0 is_stmt -// CHECK: 0x0000000000000007 11 0 1 0 0 is_stmt -// CHECK: 0x0000000000000008 11 0 1 0 0 is_stmt end_sequence +// CHECK: Address Line Column File ISA Discriminator OpIndex Flags +// CHECK: ------------------ ------ ------ ------ --- ------------- ------- ------------- +// CHECK: 0x0000000000000000 6 0 1 0 0 0 is_stmt +// CHECK: 0x0000000000000005 7 0 1 0 0 0 is_stmt +// CHECK: 0x0000000000000006 8 0 1 0 0 0 is_stmt +// CHECK: 0x0000000000000007 11 0 1 0 0 0 is_stmt +// CHECK: 0x0000000000000008 11 0 1 0 0 0 is_stmt end_sequence Index: llvm/test/tools/dsymutil/X86/basic-linking-x86.test =================================================================== --- llvm/test/tools/dsymutil/X86/basic-linking-x86.test +++ llvm/test/tools/dsymutil/X86/basic-linking-x86.test @@ -156,38 +156,38 @@ CHECK: file_names[ 1]: CHECK-NEXT: name: "basic1.c" CHECK-NEXT: dir_index: 0 -CHECK: Address Line Column File ISA Discriminator Flags -CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -CHECK-NEXT: 0x0000000100000ea0 23 0 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000eb6 24 0 1 0 0 is_stmt prologue_end -CHECK-NEXT: 0x0000000100000ec4 24 0 1 0 0 is_stmt end_sequence +CHECK: Address Line Column File ISA Discriminator OpIndex Flags +CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +CHECK-NEXT: 0x0000000100000ea0 23 0 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000eb6 24 0 1 0 0 0 is_stmt prologue_end +CHECK-NEXT: 0x0000000100000ec4 24 0 1 0 0 0 is_stmt end_sequence CHECK: file_names[ 1]: CHECK-NEXT: name: "basic2.c" CHECK-NEXT: dir_index: 0 -CHECK: Address Line Column File ISA Discriminator Flags -CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -CHECK-NEXT: 0x0000000100000ed0 19 0 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000ee2 20 0 1 0 0 is_stmt prologue_end -CHECK-NEXT: 0x0000000100000f19 20 0 1 0 0 is_stmt end_sequence -CHECK-NEXT: 0x0000000100000f20 14 0 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000f24 15 0 1 0 0 is_stmt prologue_end -CHECK-NEXT: 0x0000000100000f37 15 0 1 0 0 is_stmt end_sequence +CHECK: Address Line Column File ISA Discriminator OpIndex Flags +CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +CHECK-NEXT: 0x0000000100000ed0 19 0 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000ee2 20 0 1 0 0 0 is_stmt prologue_end +CHECK-NEXT: 0x0000000100000f19 20 0 1 0 0 0 is_stmt end_sequence +CHECK-NEXT: 0x0000000100000f20 14 0 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000f24 15 0 1 0 0 0 is_stmt prologue_end +CHECK-NEXT: 0x0000000100000f37 15 0 1 0 0 0 is_stmt end_sequence CHECK: file_names[ 1]: CHECK-NEXT: name: "basic3.c" CHECK-NEXT: dir_index: 0 -CHECK: Address Line Column File ISA Discriminator Flags -CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -CHECK-NEXT: 0x0000000100000f40 16 0 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000f4b 17 0 1 0 0 is_stmt prologue_end -CHECK-NEXT: 0x0000000100000f58 18 0 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000f6c 19 0 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000f7b 20 0 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000f84 20 0 1 0 0 is_stmt end_sequence -CHECK-NEXT: 0x0000000100000f90 11 0 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000f9b 12 0 1 0 0 is_stmt prologue_end -CHECK-NEXT: 0x0000000100000fa9 12 0 1 0 0 is_stmt end_sequence +CHECK: Address Line Column File ISA Discriminator OpIndex Flags +CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +CHECK-NEXT: 0x0000000100000f40 16 0 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000f4b 17 0 1 0 0 0 is_stmt prologue_end +CHECK-NEXT: 0x0000000100000f58 18 0 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000f6c 19 0 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000f7b 20 0 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000f84 20 0 1 0 0 0 is_stmt end_sequence +CHECK-NEXT: 0x0000000100000f90 11 0 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000f9b 12 0 1 0 0 0 is_stmt prologue_end +CHECK-NEXT: 0x0000000100000fa9 12 0 1 0 0 0 is_stmt end_sequence PUB: .debug_pubnames contents: PUB-NEXT: length = 0x00000017, format = DWARF32, version = 0x0002, unit_offset = 0x00000000, unit_size = 0x00000081 Index: llvm/test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test =================================================================== --- llvm/test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test +++ llvm/test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test @@ -141,43 +141,43 @@ CHECK: file_names[ 1]: CHECK-NEXT: name: "basic1.c" CHECK-NEXT: dir_index: 0 -CHECK: Address Line Column File ISA Discriminator Flags -CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -CHECK-NEXT: 0x0000000100000f40 26 0 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000f44 27 10 1 0 0 is_stmt prologue_end -CHECK-NEXT: 0x0000000100000f49 27 3 1 0 0 -CHECK-NEXT: 0x0000000100000f4b 27 3 1 0 0 end_sequence +CHECK: Address Line Column File ISA Discriminator OpIndex Flags +CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +CHECK-NEXT: 0x0000000100000f40 26 0 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000f44 27 10 1 0 0 0 is_stmt prologue_end +CHECK-NEXT: 0x0000000100000f49 27 3 1 0 0 0 +CHECK-NEXT: 0x0000000100000f4b 27 3 1 0 0 0 end_sequence CHECK: file_names[ 1]: CHECK-NEXT: name: "basic2.c" CHECK-NEXT: dir_index: 0 -CHECK: Address Line Column File ISA Discriminator Flags -CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -CHECK-NEXT: 0x0000000100000f50 19 0 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000f54 20 18 1 0 0 is_stmt prologue_end -CHECK-NEXT: 0x0000000100000f5a 20 17 1 0 0 -CHECK-NEXT: 0x0000000100000f5c 20 10 1 0 0 -CHECK-NEXT: 0x0000000100000f61 15 10 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000f70 20 23 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000f74 20 36 1 0 0 -CHECK-NEXT: 0x0000000100000f83 20 31 1 0 0 -CHECK-NEXT: 0x0000000100000f85 20 3 1 0 0 -CHECK-NEXT: 0x0000000100000f87 20 3 1 0 0 end_sequence +CHECK: Address Line Column File ISA Discriminator OpIndex Flags +CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +CHECK-NEXT: 0x0000000100000f50 19 0 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000f54 20 18 1 0 0 0 is_stmt prologue_end +CHECK-NEXT: 0x0000000100000f5a 20 17 1 0 0 0 +CHECK-NEXT: 0x0000000100000f5c 20 10 1 0 0 0 +CHECK-NEXT: 0x0000000100000f61 15 10 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000f70 20 23 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000f74 20 36 1 0 0 0 +CHECK-NEXT: 0x0000000100000f83 20 31 1 0 0 0 +CHECK-NEXT: 0x0000000100000f85 20 3 1 0 0 0 +CHECK-NEXT: 0x0000000100000f87 20 3 1 0 0 0 end_sequence CHECK: file_names[ 1]: CHECK-NEXT: name: "basic3.c" CHECK-NEXT: dir_index: 0 -CHECK: Address Line Column File ISA Discriminator Flags -CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -CHECK-NEXT: 0x0000000100000f90 16 0 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000f94 12 10 1 0 0 is_stmt prologue_end -CHECK-NEXT: 0x0000000100000f9a 17 7 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000f9f 12 10 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000fa7 20 1 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000fa9 19 18 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000fab 19 10 1 0 0 -CHECK-NEXT: 0x0000000100000fb2 20 1 1 0 0 is_stmt -CHECK-NEXT: 0x0000000100000fb4 20 1 1 0 0 is_stmt end_sequence +CHECK: Address Line Column File ISA Discriminator OpIndex Flags +CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +CHECK-NEXT: 0x0000000100000f90 16 0 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000f94 12 10 1 0 0 0 is_stmt prologue_end +CHECK-NEXT: 0x0000000100000f9a 17 7 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000f9f 12 10 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000fa7 20 1 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000fa9 19 18 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000fab 19 10 1 0 0 0 +CHECK-NEXT: 0x0000000100000fb2 20 1 1 0 0 0 is_stmt +CHECK-NEXT: 0x0000000100000fb4 20 1 1 0 0 0 is_stmt end_sequence CHECK-NOT: .debug_pubnames contents: CHECK-NOT: .debug_pubtypes contents: Index: llvm/test/tools/dsymutil/X86/basic-lto-linking-x86.test =================================================================== --- llvm/test/tools/dsymutil/X86/basic-lto-linking-x86.test +++ llvm/test/tools/dsymutil/X86/basic-lto-linking-x86.test @@ -153,30 +153,30 @@ CHECK: file_names[ 1]: CHECK-NEXT: name: "basic1.c" CHECK-NEXT: dir_index: 0 -CHECK: 0x0000000100000f40 23 0 1 0 0 is_stmt -CHECK: 0x0000000100000f44 24 0 1 0 0 is_stmt prologue_end -CHECK: 0x0000000100000f4b 24 0 1 0 0 is_stmt end_sequence +CHECK: 0x0000000100000f40 23 0 1 0 0 0 is_stmt +CHECK: 0x0000000100000f44 24 0 1 0 0 0 is_stmt prologue_end +CHECK: 0x0000000100000f4b 24 0 1 0 0 0 is_stmt end_sequence CHECK: file_names[ 1]: CHECK-NEXT: name: "basic2.c" CHECK-NEXT: dir_index: 0 -CHECK: 0x0000000100000f50 19 0 1 0 0 is_stmt -CHECK: 0x0000000100000f54 20 0 1 0 0 is_stmt prologue_end -CHECK: 0x0000000100000f63 15 0 1 0 0 is_stmt -CHECK: 0x0000000100000f72 20 0 1 0 0 is_stmt -CHECK: 0x0000000100000f89 20 0 1 0 0 is_stmt end_sequence +CHECK: 0x0000000100000f50 19 0 1 0 0 0 is_stmt +CHECK: 0x0000000100000f54 20 0 1 0 0 0 is_stmt prologue_end +CHECK: 0x0000000100000f63 15 0 1 0 0 0 is_stmt +CHECK: 0x0000000100000f72 20 0 1 0 0 0 is_stmt +CHECK: 0x0000000100000f89 20 0 1 0 0 0 is_stmt end_sequence CHECK: file_names[ 1]: CHECK-NEXT: name: "basic3.c" CHECK-NEXT: dir_index: 0 -CHECK: 0x0000000100000f90 16 0 1 0 0 is_stmt -CHECK: 0x0000000100000f94 12 0 1 0 0 is_stmt prologue_end -CHECK: 0x0000000100000f9a 17 0 1 0 0 is_stmt -CHECK: 0x0000000100000f9f 12 0 1 0 0 is_stmt -CHECK: 0x0000000100000fa7 20 0 1 0 0 is_stmt -CHECK: 0x0000000100000fa9 19 0 1 0 0 is_stmt -CHECK: 0x0000000100000fb2 20 0 1 0 0 is_stmt -CHECK: 0x0000000100000fb4 20 0 1 0 0 is_stmt end_sequence +CHECK: 0x0000000100000f90 16 0 1 0 0 0 is_stmt +CHECK: 0x0000000100000f94 12 0 1 0 0 0 is_stmt prologue_end +CHECK: 0x0000000100000f9a 17 0 1 0 0 0 is_stmt +CHECK: 0x0000000100000f9f 12 0 1 0 0 0 is_stmt +CHECK: 0x0000000100000fa7 20 0 1 0 0 0 is_stmt +CHECK: 0x0000000100000fa9 19 0 1 0 0 0 is_stmt +CHECK: 0x0000000100000fb2 20 0 1 0 0 0 is_stmt +CHECK: 0x0000000100000fb4 20 0 1 0 0 0 is_stmt end_sequence CHECK-NOT: .debug_pubnames contents: CHECK-NOT: .debug_pubtypes contents: Index: llvm/test/tools/llvm-dwarfdump/ARM/aligned_line_tables.s =================================================================== --- llvm/test/tools/llvm-dwarfdump/ARM/aligned_line_tables.s +++ llvm/test/tools/llvm-dwarfdump/ARM/aligned_line_tables.s @@ -15,9 +15,9 @@ /// placed at aligned offsets. // L4: 0000002b N .Ltable0_end -// MULT4: Address Line Column File ISA Discriminator Flags -// MULT4-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -// MULT4-NEXT: 0x0000000000000000 1 0 1 0 0 is_stmt end_sequence +// MULT4: Address Line Column File ISA Discriminator OpIndex Flags +// MULT4-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +// MULT4-NEXT: 0x0000000000000000 1 0 1 0 0 0 is_stmt end_sequence // MULT4-EMPTY: // MULT4-NEXT: debug_line[0x0000002c] // MULT4-NEXT: Line table prologue: @@ -29,9 +29,9 @@ // MULT4-NEXT: default_is_stmt: 1 // L8: 00000027 N .Ltable0_end -// MULT8: Address Line Column File ISA Discriminator Flags -// MULT8-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -// MULT8-NEXT: 0x0000000000000000 1 0 1 0 0 is_stmt end_sequence +// MULT8: Address Line Column File ISA Discriminator OpIndex Flags +// MULT8-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +// MULT8-NEXT: 0x0000000000000000 1 0 1 0 0 0 is_stmt end_sequence // MULT8-EMPTY: // MULT8-NEXT: debug_line[0x00000028] // MULT8-NEXT: Line table prologue: Index: llvm/test/tools/llvm-dwarfdump/X86/brief.s =================================================================== --- llvm/test/tools/llvm-dwarfdump/X86/brief.s +++ llvm/test/tools/llvm-dwarfdump/X86/brief.s @@ -16,11 +16,11 @@ # CHECK-NOT: debug_str # CHECK-NOT: DW_AT_type {{.*}} => -# CHECK: Address Line Column File ISA Discriminator Flags -# CHECK-NEXT:------------------ ------ ------ ------ --- ------------- ------------- -# CHECK-NEXT:0x0000000000000000 1 0 1 0 0 is_stmt -# CHECK-NEXT:0x0000000000000006 1 12 1 0 0 is_stmt prologue_end -# CHECK-NEXT:0x0000000000000008 1 12 1 0 0 is_stmt end_sequence +# CHECK: Address Line Column File ISA Discriminator OpIndex Flags +# CHECK-NEXT:------------------ ------ ------ ------ --- ------------- ------- ------------- +# CHECK-NEXT:0x0000000000000000 1 0 1 0 0 0 is_stmt +# CHECK-NEXT:0x0000000000000006 1 12 1 0 0 0 is_stmt prologue_end +# CHECK-NEXT:0x0000000000000008 1 12 1 0 0 0 is_stmt end_sequence # CHECK-NOT: {{.*}} contents: Index: llvm/test/tools/llvm-dwarfdump/X86/debug-line-dw-lne-end-sequence.s =================================================================== --- llvm/test/tools/llvm-dwarfdump/X86/debug-line-dw-lne-end-sequence.s +++ llvm/test/tools/llvm-dwarfdump/X86/debug-line-dw-lne-end-sequence.s @@ -5,11 +5,11 @@ # RUN: llvm-dwarfdump --debug-line %t.o | FileCheck %s --check-prefixes=HEADER,ROWS # RUN: llvm-dwarfdump --debug-line %t.o --verbose | FileCheck %s --check-prefix=ROWS -# HEADER: Address Line Column File ISA Discriminator Flags -# HEADER-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -# ROWS: 0x0000000012345678 1 0 1 0 1 is_stmt basic_block prologue_end epilogue_begin end_sequence -# ROWS: 0x0000000000000001 2 0 1 0 0 is_stmt -# ROWS: 0x0000000000000001 2 0 1 0 0 is_stmt end_sequence +# HEADER: Address Line Column File ISA Discriminator OpIndex Flags +# HEADER-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +# ROWS: 0x0000000012345678 1 0 1 0 1 0 is_stmt basic_block prologue_end epilogue_begin end_sequence +# ROWS: 0x0000000000000001 2 0 1 0 0 0 is_stmt +# ROWS: 0x0000000000000001 2 0 1 0 0 0 is_stmt end_sequence .section .debug_line,"",@progbits .Line_table_start0: Index: llvm/test/tools/llvm-dwarfdump/X86/debug-line-dw-lns-copy.s =================================================================== --- llvm/test/tools/llvm-dwarfdump/X86/debug-line-dw-lns-copy.s +++ llvm/test/tools/llvm-dwarfdump/X86/debug-line-dw-lns-copy.s @@ -1,11 +1,11 @@ # RUN: llvm-mc -filetype obj -triple x86_64-pc-linux %s -o %t.o # RUN: llvm-dwarfdump -debug-line %t.o | FileCheck %s -# CHECK: Address Line Column File ISA Discriminator Flags -# CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -# CHECK-NEXT: 0x0000000000000000 1 0 1 0 1 is_stmt -# CHECK-NEXT: 0x0000000000000001 2 0 1 0 0 is_stmt -# CHECK-NEXT: 0x0000000000000001 2 0 1 0 0 is_stmt end_sequence +# CHECK: Address Line Column File ISA Discriminator OpIndex Flags +# CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +# CHECK-NEXT: 0x0000000000000000 1 0 1 0 1 0 is_stmt +# CHECK-NEXT: 0x0000000000000001 2 0 1 0 0 0 is_stmt +# CHECK-NEXT: 0x0000000000000001 2 0 1 0 0 0 is_stmt end_sequence .section .debug_line,"",@progbits .Line_table_start0: Index: llvm/test/tools/llvm-dwarfdump/X86/debug-line.s =================================================================== --- llvm/test/tools/llvm-dwarfdump/X86/debug-line.s +++ llvm/test/tools/llvm-dwarfdump/X86/debug-line.s @@ -39,11 +39,11 @@ # CHECK-NEXT: mod_time: 0x12345678 # CHECK-NEXT: length: 0x00000010 # CHECK-EMPTY: -# CHECK-NEXT: Address Line Column File ISA Discriminator Flags -# CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -# CHECK-NEXT: 0x0000000000000002 1 0 1 0 0 is_stmt -# CHECK-NEXT: 0x0000000000000002 1 4 3 0 0 is_stmt -# CHECK-NEXT: 0x0000000000000024 1 4 3 5 6 basic_block prologue_end epilogue_begin end_sequence +# CHECK-NEXT: Address Line Column File ISA Discriminator OpIndex Flags +# CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +# CHECK-NEXT: 0x0000000000000002 1 0 1 0 0 0 is_stmt +# CHECK-NEXT: 0x0000000000000002 1 4 3 0 0 0 is_stmt +# CHECK-NEXT: 0x0000000000000024 1 4 3 5 6 0 basic_block prologue_end epilogue_begin end_sequence # CHECK-EMPTY: # CHECK-NEXT: debug_line[0x0000006d] # CHECK-NEXT: Line table prologue: Index: llvm/test/tools/llvm-dwarfdump/X86/debug_line_dwarf64_large_table.s =================================================================== --- llvm/test/tools/llvm-dwarfdump/X86/debug_line_dwarf64_large_table.s +++ llvm/test/tools/llvm-dwarfdump/X86/debug_line_dwarf64_large_table.s @@ -18,7 +18,7 @@ # CHECK-NEXT: length: 0x00000000 # CHECK-NEXT: warning: line table program with offset 0x00000000 has length 0xfffffffc but only 0x0000003a bytes are available -# CHECK: 0x000000000badbeef 1 0 1 0 0 is_stmt end_sequence +# CHECK: 0x000000000badbeef 1 0 1 0 0 0 is_stmt end_sequence .section .debug_line,"",@progbits .long 0xffffffff # Length of Unit (DWARF-64 format) Index: llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test =================================================================== --- llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test +++ llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test @@ -40,8 +40,8 @@ # HEADER: .debug_line contents: # FIRST: debug_line[0x00000000] -# VERBOSE: Address Line Column File ISA Discriminator Flags -# VERBOSE-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- +# VERBOSE: Address Line Column File ISA Discriminator OpIndex Flags +# VERBOSE-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- # VERBOSE-NEXT: DW_LNE_set_address (0x000000000badbeef) # VERBOSE-NEXT: DW_LNE_end_sequence # FIRST: 0x000000000badbeef {{.*}} end_sequence Index: llvm/test/tools/llvm-dwarfdump/X86/debug_line_offset.test =================================================================== --- llvm/test/tools/llvm-dwarfdump/X86/debug_line_offset.test +++ llvm/test/tools/llvm-dwarfdump/X86/debug_line_offset.test @@ -2,12 +2,12 @@ RUN: -debug-line=0x0 | FileCheck %s --check-prefix=CHECK-A CHECK-A: debug_line[0x00000000] -CHECK-A: Address Line Column File ISA Discriminator Flags -CHECK-A-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -CHECK-A-NEXT: 0x0000000000000000 26 0 1 0 0 is_stmt -CHECK-A-NEXT: 0x0000000000000004 27 10 1 0 0 is_stmt prologue_end -CHECK-A-NEXT: 0x0000000000000009 27 3 1 0 0 -CHECK-A-NEXT: 0x0000000000000074 27 3 1 0 0 end_sequence +CHECK-A: Address Line Column File ISA Discriminator OpIndex Flags +CHECK-A-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +CHECK-A-NEXT: 0x0000000000000000 26 0 1 0 0 0 is_stmt +CHECK-A-NEXT: 0x0000000000000004 27 10 1 0 0 0 is_stmt prologue_end +CHECK-A-NEXT: 0x0000000000000009 27 3 1 0 0 0 +CHECK-A-NEXT: 0x0000000000000074 27 3 1 0 0 0 end_sequence CHECK-A-NOT: debug_line[0x0000009a] RUN: llvm-dwarfdump %S/../../dsymutil/Inputs/basic-lto-dw4.macho.x86_64.o \ @@ -15,14 +15,14 @@ CHECK-B-NOT: debug_line[0x00000000] CHECK-B: debug_line[0x0000009a] -CHECK-B: Address Line Column File ISA Discriminator Flags -CHECK-B-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -CHECK-B-NEXT: 0x0000000000000050 16 0 1 0 0 is_stmt -CHECK-B-NEXT: 0x0000000000000054 12 10 1 0 0 is_stmt prologue_end -CHECK-B-NEXT: 0x000000000000005a 17 7 1 0 0 is_stmt -CHECK-B-NEXT: 0x000000000000005f 12 10 1 0 0 is_stmt -CHECK-B-NEXT: 0x0000000000000067 20 1 1 0 0 is_stmt -CHECK-B-NEXT: 0x0000000000000069 19 18 1 0 0 is_stmt -CHECK-B-NEXT: 0x000000000000006b 19 10 1 0 0 -CHECK-B-NEXT: 0x0000000000000072 20 1 1 0 0 is_stmt -CHECK-B-NEXT: 0x0000000000000074 20 1 1 0 0 is_stmt end_sequence +CHECK-B: Address Line Column File ISA Discriminator OpIndex Flags +CHECK-B-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +CHECK-B-NEXT: 0x0000000000000050 16 0 1 0 0 0 is_stmt +CHECK-B-NEXT: 0x0000000000000054 12 10 1 0 0 0 is_stmt prologue_end +CHECK-B-NEXT: 0x000000000000005a 17 7 1 0 0 0 is_stmt +CHECK-B-NEXT: 0x000000000000005f 12 10 1 0 0 0 is_stmt +CHECK-B-NEXT: 0x0000000000000067 20 1 1 0 0 0 is_stmt +CHECK-B-NEXT: 0x0000000000000069 19 18 1 0 0 0 is_stmt +CHECK-B-NEXT: 0x000000000000006b 19 10 1 0 0 0 +CHECK-B-NEXT: 0x0000000000000072 20 1 1 0 0 0 is_stmt +CHECK-B-NEXT: 0x0000000000000074 20 1 1 0 0 0 is_stmt end_sequence Index: llvm/test/tools/llvm-dwarfdump/X86/verbose.test =================================================================== --- llvm/test/tools/llvm-dwarfdump/X86/verbose.test +++ llvm/test/tools/llvm-dwarfdump/X86/verbose.test @@ -15,18 +15,18 @@ # CHECK:.debug_line contents: # CHECK: length: 0x00000000 # CHECK-EMPTY: -# CHECK-NEXT: Address Line Column File ISA Discriminator Flags -# CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- +# CHECK-NEXT: Address Line Column File ISA Discriminator OpIndex Flags +# CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- # CHECK-NEXT:0x00000029: 00 DW_LNE_set_address (0x0000000000000000) # CHECK-NEXT:0x00000034: 01 DW_LNS_copy -# CHECK-NEXT: 0x0000000000000000 1 0 1 0 0 is_stmt +# CHECK-NEXT: 0x0000000000000000 1 0 1 0 0 0 is_stmt # CHECK-NEXT:0x00000035: 05 DW_LNS_set_column (12) # CHECK-NEXT:0x00000037: 0a DW_LNS_set_prologue_end # CHECK-NEXT:0x00000038: 66 address += 6, line += 0 -# CHECK-NEXT: 0x0000000000000006 1 12 1 0 0 is_stmt prologue_end +# CHECK-NEXT: 0x0000000000000006 1 12 1 0 0 0 is_stmt prologue_end # CHECK-NEXT:0x00000039: 02 DW_LNS_advance_pc (2) # CHECK-NEXT:0x0000003b: 00 DW_LNE_end_sequence -# CHECK-NEXT: 0x0000000000000008 1 12 1 0 0 is_stmt end_sequence +# CHECK-NEXT: 0x0000000000000008 1 12 1 0 0 0 is_stmt end_sequence # CHECK-EMPTY: # CHECK-NOT:{{.*}} contents: Index: llvm/test/tools/llvm-dwarfdump/XCOFF/basic.test =================================================================== --- llvm/test/tools/llvm-dwarfdump/XCOFF/basic.test +++ llvm/test/tools/llvm-dwarfdump/XCOFF/basic.test @@ -127,12 +127,12 @@ # DWARF32-NEXT: dir_index: 0 # DWARF32-NEXT: mod_time: 0x00000000 # DWARF32-NEXT: length: 0x00000000 -# DWARF32: Address Line Column File ISA Discriminator Flags -# DWARF32-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -# DWARF32-NEXT: 0x0000000000000000 1 0 1 0 0 is_stmt -# DWARF32-NEXT: 0x0000000000000004 3 0 1 0 0 is_stmt -# DWARF32-NEXT: 0x0000000000000008 4 0 1 0 0 is_stmt -# DWARF32-NEXT: 0x0000000000000080 4 0 1 0 0 is_stmt end_sequence +# DWARF32: Address Line Column File ISA Discriminator OpIndex Flags +# DWARF32-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +# DWARF32-NEXT: 0x0000000000000000 1 0 1 0 0 0 is_stmt +# DWARF32-NEXT: 0x0000000000000004 3 0 1 0 0 0 is_stmt +# DWARF32-NEXT: 0x0000000000000008 4 0 1 0 0 0 is_stmt +# DWARF32-NEXT: 0x0000000000000080 4 0 1 0 0 0 is_stmt end_sequence # DWARF32: .debug_pubnames contents: # DWARF32-NEXT: length = 0x00000017, format = DWARF32, version = 0x0002, unit_offset = 0x00000000, unit_size = 0x00000098 # DWARF32-NEXT: Offset Name @@ -257,12 +257,12 @@ # DWARF64-NEXT: dir_index: 0 # DWARF64-NEXT: mod_time: 0x00000000 # DWARF64-NEXT: length: 0x00000000 -# DWARF64: Address Line Column File ISA Discriminator Flags -# DWARF64-NEXT: ------------------ ------ ------ ------ --- ------------- ------------- -# DWARF64-NEXT: 0x0000000000000000 1 0 1 0 0 is_stmt -# DWARF64-NEXT: 0x0000000000000004 3 0 1 0 0 is_stmt -# DWARF64-NEXT: 0x0000000000000008 4 0 1 0 0 is_stmt -# DWARF64-NEXT: 0x0000000000000080 4 0 1 0 0 is_stmt end_sequence +# DWARF64: Address Line Column File ISA Discriminator OpIndex Flags +# DWARF64-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- +# DWARF64-NEXT: 0x0000000000000000 1 0 1 0 0 0 is_stmt +# DWARF64-NEXT: 0x0000000000000004 3 0 1 0 0 0 is_stmt +# DWARF64-NEXT: 0x0000000000000008 4 0 1 0 0 0 is_stmt +# DWARF64-NEXT: 0x0000000000000080 4 0 1 0 0 0 is_stmt end_sequence # DWARF64: .debug_pubnames contents: # DWARF64-NEXT: length = 0x0000000000000027, format = DWARF64, version = 0x0002, unit_offset = 0x0000000000000000, unit_size = 0x00000000000000d0 # DWARF64-NEXT: Offset Name Index: llvm/test/tools/llvm-symbolizer/only-empty-ranges.s =================================================================== --- llvm/test/tools/llvm-symbolizer/only-empty-ranges.s +++ llvm/test/tools/llvm-symbolizer/only-empty-ranges.s @@ -11,13 +11,13 @@ # Edited by adding a redundant, empty last range. # The line table (llvm-dwarfdump --debug-line) looks like: # -# Address Line Column File ISA Discriminator Flags -# ------------------ ------ ------ ------ --- ------------- ------------- -# 0x0000000000000000 1 0 1 0 0 is_stmt -# 0x0000000000000000 2 12 1 0 0 is_stmt prologue_end -# 0x0000000000000003 2 3 1 0 0 -# 0x0000000000000003 3 3 1 0 0 -# 0x0000000000000004 3 3 1 0 0 end_sequence +# Address Line Column File ISA Discriminator OpIndex Flags +# ------------------ ------ ------ ------ --- ------------- ------- ------------- +# 0x0000000000000000 1 0 1 0 0 0 is_stmt +# 0x0000000000000000 2 12 1 0 0 0 is_stmt prologue_end +# 0x0000000000000003 2 3 1 0 0 0 +# 0x0000000000000003 3 3 1 0 0 0 +# 0x0000000000000004 3 3 1 0 0 0 end_sequence # # 0x0 should pick the second line in the table - line 2, col 12 # CHECK: func Index: llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp =================================================================== --- llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp +++ llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp @@ -1554,8 +1554,10 @@ EXPECT_EQ(NextLine(), " name: \"a file\""); EXPECT_EQ(NextLine(), " dir_index: 0"); EXPECT_EQ(NextLine(), ""); - EXPECT_EQ(NextLine(), " Address Line Column File ISA Discriminator Flags"); - EXPECT_EQ(NextLine(), " ------------------ ------ ------ ------ --- ------------- -------------"); + EXPECT_EQ(NextLine(), " Address Line Column File " + "ISA Discriminator OpIndex Flags"); + EXPECT_EQ(NextLine(), " ------------------ ------ ------ ------ " + "--- ------------- ------- -------------"); EXPECT_EQ(NextLine(), "0x00000038: 00 Badly formed extended line op (length 0)"); EXPECT_EQ(NextLine(), @@ -1569,7 +1571,7 @@ EXPECT_EQ(NextLine(), "0x00000055: 00 DW_LNE_set_discriminator (127)"); EXPECT_EQ(NextLine(), "0x00000059: 01 DW_LNS_copy"); EXPECT_EQ(NextLine(), " 0x0123456789abcdef 1 0 1 " - "0 127 is_stmt"); + "0 127 0 is_stmt"); EXPECT_EQ(NextLine(), "0x0000005a: 02 DW_LNS_advance_pc (11)"); EXPECT_EQ(NextLine(), "0x0000005c: 03 DW_LNS_advance_line (23)"); EXPECT_EQ(NextLine(), "0x0000005e: 04 DW_LNS_set_file (33)"); @@ -1588,10 +1590,10 @@ EXPECT_EQ(NextLine(), "0x00000078: ff address += 17, line += -3"); EXPECT_EQ(NextLine(), " 0x0123456789abce53 20 44 33 66 " - " 0 basic_block prologue_end epilogue_begin"); + " 0 0 basic_block prologue_end epilogue_begin"); EXPECT_EQ(NextLine(), "0x00000079: 00 DW_LNE_end_sequence"); EXPECT_EQ(NextLine(), " 0x0123456789abce53 20 44 33 " - "66 0 end_sequence"); + "66 0 0 end_sequence"); EXPECT_EQ(NextLine(), ""); EXPECT_EQ(Output.size(), Pos); }