[PATCH] D52901: [DebugInfo] Fix debug information label tests.
Petar Jovanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 8 15:12:31 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL343999: [DebugInfo] Fix debug information label tests (authored by petarj, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D52901?vs=168345&id=168713#toc
Repository:
rL LLVM
https://reviews.llvm.org/D52901
Files:
llvm/trunk/test/DebugInfo/Generic/debug-label-inline.ll
llvm/trunk/test/DebugInfo/Generic/debug-label.ll
Index: llvm/trunk/test/DebugInfo/Generic/debug-label.ll
===================================================================
--- llvm/trunk/test/DebugInfo/Generic/debug-label.ll
+++ llvm/trunk/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"
Index: llvm/trunk/test/DebugInfo/Generic/debug-label-inline.ll
===================================================================
--- llvm/trunk/test/DebugInfo/Generic/debug-label-inline.ll
+++ llvm/trunk/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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52901.168713.patch
Type: text/x-patch
Size: 1215 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181008/6696ba69/attachment.bin>
More information about the llvm-commits
mailing list