Index: test/DebugInfo/Generic/debug-label-inline.ll =================================================================== --- test/DebugInfo/Generic/debug-label-inline.ll +++ test/DebugInfo/Generic/debug-label-inline.ll @@ -1,4 +1,4 @@ -; RUN: llc -O2 -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s +; RUN: llc -O0 -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s ; ; CHECK: .debug_info contents: ; CHECK: [[LABEL_ORIGIN:0x[0-9a-zA-Z]+]]:{{ *}}DW_TAG_label Index: test/DebugInfo/Generic/debug-label.ll =================================================================== --- test/DebugInfo/Generic/debug-label.ll +++ test/DebugInfo/Generic/debug-label.ll @@ -22,12 +22,12 @@ ; ASM-NEXT: DW_AT_name ; ASM-NEXT: 1 {{.*}} DW_AT_decl_file ; ASM-NEXT: 4 {{.*}} DW_AT_decl_line -; ASM-NEXT: [[TOP_LOW_PC]] {{.*}} DW_AT_low_pc +; ASM-NEXT: [[TOP_LOW_PC]]{{.*}} DW_AT_low_pc ; ASM: DW_TAG_label ; ASM-NEXT: DW_AT_name ; ASM-NEXT: 1 {{.*}} DW_AT_decl_file ; ASM-NEXT: 7 {{.*}} DW_AT_decl_line -; ASM-NEXT: [[DONE_LOW_PC]] {{.*}} DW_AT_low_pc +; ASM-NEXT: [[DONE_LOW_PC]]{{.*}} DW_AT_low_pc source_filename = "debug-label.c"