diff options
Diffstat (limited to 'llvm/test/DebugInfo')
-rw-r--r-- | llvm/test/DebugInfo/NVPTX/cu-range-hole.ll | 5 | ||||
-rw-r--r-- | llvm/test/DebugInfo/NVPTX/debug-addr-class.ll | 5 | ||||
-rw-r--r-- | llvm/test/DebugInfo/NVPTX/debug-file-loc.ll | 5 | ||||
-rw-r--r-- | llvm/test/DebugInfo/NVPTX/debug-info.ll | 5 | ||||
-rw-r--r-- | llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll | 5 | ||||
-rw-r--r-- | llvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll | 6 | ||||
-rw-r--r-- | llvm/test/DebugInfo/X86/empty_macinfo.ll | 5 | ||||
-rw-r--r-- | llvm/test/DebugInfo/X86/length_symbol_difference.ll | 1 |
8 files changed, 15 insertions, 22 deletions
diff --git a/llvm/test/DebugInfo/NVPTX/cu-range-hole.ll b/llvm/test/DebugInfo/NVPTX/cu-range-hole.ll index 6849ffdc1e4..b3ca58e124d 100644 --- a/llvm/test/DebugInfo/NVPTX/cu-range-hole.ll +++ b/llvm/test/DebugInfo/NVPTX/cu-range-hole.ll @@ -269,9 +269,8 @@ entry: ; CHECK-NEXT: .b8 4 // DW_AT_byte_size ; CHECK-NEXT: .b8 0 // End Of Children Mark ; CHECK-NEXT: } -; CHECK-NEXT: .section .debug_macinfo -; CHECK-NEXT: { -; CHECK-NEXT: } +; CHECK-NEXT: .section .debug_loc { } +; CHECK-NOT: debug_ attributes #0 = { nounwind uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #1 = { nounwind readnone } diff --git a/llvm/test/DebugInfo/NVPTX/debug-addr-class.ll b/llvm/test/DebugInfo/NVPTX/debug-addr-class.ll index 50bdc2af164..c56fcda46dd 100644 --- a/llvm/test/DebugInfo/NVPTX/debug-addr-class.ll +++ b/llvm/test/DebugInfo/NVPTX/debug-addr-class.ll @@ -331,7 +331,6 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) ; CHECK-NEXT: .b8 4 // DW_AT_byte_size ; CHECK-NEXT: .b8 0 // End Of Children Mark ; CHECK-NEXT: } -; CHECK-NEXT: .section .debug_macinfo -; CHECK-NEXT: { -; CHECK-NEXT: } +; CHECK-NEXT: .section .debug_loc { } +; CHECK-NOT: debug_ diff --git a/llvm/test/DebugInfo/NVPTX/debug-file-loc.ll b/llvm/test/DebugInfo/NVPTX/debug-file-loc.ll index 124aaa097b4..09d47b3847a 100644 --- a/llvm/test/DebugInfo/NVPTX/debug-file-loc.ll +++ b/llvm/test/DebugInfo/NVPTX/debug-file-loc.ll @@ -86,9 +86,8 @@ bb: ; CHECK-NEXT: .b64 Lfunc_begin0 // DW_AT_low_pc ; CHECK-NEXT: .b64 Lfunc_end1 // DW_AT_high_pc ; CHECK-NEXT: } -; CHECK-NEXT: .section .debug_macinfo -; CHECK-NEXT: { -; CHECK-NEXT: } +; CHECK-NEXT: .section .debug_loc { } +; CHECK-NOT: debug_ !llvm.dbg.cu = !{!0} !llvm.module.flags = !{!8, !9} diff --git a/llvm/test/DebugInfo/NVPTX/debug-info.ll b/llvm/test/DebugInfo/NVPTX/debug-info.ll index 85a73e5d197..9a572ff8ac7 100644 --- a/llvm/test/DebugInfo/NVPTX/debug-info.ll +++ b/llvm/test/DebugInfo/NVPTX/debug-info.ll @@ -8401,9 +8401,8 @@ if.end: ; preds = %if.then, %entry ; CHECK-NEXT: .b8 0 // End Of Children Mark ; CHECK-NEXT: .b8 0 // End Of Children Mark ; CHECK-NEXT: } -; CHECK-NEXT: .section .debug_macinfo -; CHECK-NEXT: { -; CHECK-NEXT: } +; CHECK-NEXT: .section .debug_loc { } +; CHECK-NOT: debug_ ; Function Attrs: nounwind readnone declare i32 @llvm.nvvm.read.ptx.sreg.ctaid.x() #1 diff --git a/llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll b/llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll index cb18ffe64af..d1a9a3df156 100644 --- a/llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll +++ b/llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll @@ -470,6 +470,5 @@ attributes #2 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "n ; CHECK-NEXT: .b8 4 // DW_AT_byte_size ; CHECK-NEXT: .b8 0 // End Of Children Mark ; CHECK-NEXT: } -; CHECK-NEXT: .section .debug_macinfo -; CHECK-NEXT: { -; CHECK-NEXT: } +; CHECK-NEXT: .section .debug_loc { } +; CHECK-NOT: debug_ diff --git a/llvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll b/llvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll index e8c9b6cff42..ab2a3009dda 100644 --- a/llvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll +++ b/llvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll @@ -5,13 +5,13 @@ ; RUN: FileCheck -check-prefix=DWARF-DUMP %s ; Check that we actually have relocations, otherwise this is kind of pointless. -; READOBJ-RELOCS: Section (8) .rela.debug_info { +; READOBJ-RELOCS: Section ({{.*}}) .rela.debug_info { ; READOBJ-RELOCS: 0x1B R_RISCV_ADD32 - 0x0 ; READOBJ-RELOCS-NEXT: 0x1B R_RISCV_SUB32 - 0x0 -; READOBJ-RELOCS: Section (15) .rela.debug_frame { +; READOBJ-RELOCS: Section ({{.*}}) .rela.debug_frame { ; READOBJ-RELOCS: 0x20 R_RISCV_ADD32 - 0x0 ; READOBJ-RELOCS-NEXT: 0x20 R_RISCV_SUB32 - 0x0 -; READOBJ-RELOCS: Section (17) .rela.debug_line { +; READOBJ-RELOCS: Section ({{.*}}) .rela.debug_line { ; READOBJ-RELOCS: 0x5A R_RISCV_ADD16 - 0x0 ; READOBJ-RELOCS-NEXT: 0x5A R_RISCV_SUB16 - 0x0 diff --git a/llvm/test/DebugInfo/X86/empty_macinfo.ll b/llvm/test/DebugInfo/X86/empty_macinfo.ll index 40cd1449c87..9cde5cdfac7 100644 --- a/llvm/test/DebugInfo/X86/empty_macinfo.ll +++ b/llvm/test/DebugInfo/X86/empty_macinfo.ll @@ -2,9 +2,8 @@ ; Test that we don't pollute the start of the file with debug sections -; CHECK: .section .debug_macinfo,"",@progbits -; CHECK-NEXT: .section -; CHECK-NOT: .debug_macinfo +; CHECK-NOT: macinfo +; CHECK-NOT: macro define void @f() !dbg !4 { ret void, !dbg !9 diff --git a/llvm/test/DebugInfo/X86/length_symbol_difference.ll b/llvm/test/DebugInfo/X86/length_symbol_difference.ll index 78684e788cf..6736c5017b4 100644 --- a/llvm/test/DebugInfo/X86/length_symbol_difference.ll +++ b/llvm/test/DebugInfo/X86/length_symbol_difference.ll @@ -5,7 +5,6 @@ ; CHECK-NOT: .byte 0 ; CHECK: .byte 0 # End Of Children Mark ; CHECK-NEXT: .Ldebug_info_end0: -; CHECK-NEXT: .section define dso_local void @_Z2f1v() !dbg !7 { |