Check only relevant strings in output to increase stability of the tests.
authorDevang Patel <dpatel@apple.com>
Wed, 23 Feb 2011 22:35:57 +0000 (22:35 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 23 Feb 2011 22:35:57 +0000 (22:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126338 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
test/CodeGen/X86/dbg-value-location.ll

index 99baad2d38d1db4ca9a0c70dc9a5a20ae8090c49..94842124fb0860d1746daac4dc3bc3c4b1cba303 100644 (file)
@@ -17,13 +17,12 @@ target triple = "thumbv7-apple-darwin10"
 ; DW_OP_constu
 ; offset
 
-;CHECK:        .byte   7                       @ Abbrev [7] 0x1a5:0x13 DW_TAG_variable
-;CHECK-NEXT:        .ascii   "x2"                   @ DW_AT_name
+;CHECK:        .ascii   "x2"                   @ DW_AT_name
 ;CHECK-NEXT:        .byte   0
-;CHECK-NEXT:        .long   93                      @ DW_AT_type
-;CHECK-NEXT:        .byte   1                       @ DW_AT_decl_file
-;CHECK-NEXT:        .byte   6                       @ DW_AT_decl_line
-;CHECK-NEXT:        .byte   8                       @ DW_AT_location
+;CHECK-NEXT:        @ DW_AT_type
+;CHECK-NEXT:        @ DW_AT_decl_file
+;CHECK-NEXT:        @ DW_AT_decl_line
+;CHECK-NEXT:        @ DW_AT_location
 ;CHECK-NEXT:        .byte   3
 ;CHECK-NEXT:        .long   __MergedGlobals
 ;CHECK-NEXT:        .byte   16
index 2449046c65fb177fe0236b36b836ce0b5ac1e59c..87d7e910c33910af8946b95fc89c1b300fc3e320 100644 (file)
@@ -5,10 +5,10 @@ target triple = "x86_64-apple-darwin10.0.0"
 
 ;CHECK:        .ascii   "var"                  ## DW_AT_name
 ;CHECK-NEXT:        .byte   0
-;CHECK-NEXT:        .byte   2                       ## DW_AT_decl_file
-;CHECK-NEXT:        .short  19509                   ## DW_AT_decl_line
-;CHECK-NEXT:        .long   68                      ## DW_AT_type
-;CHECK-NEXT:        .byte   1                       ## DW_AT_location
+;CHECK-NEXT:        ## DW_AT_decl_file
+;CHECK-NEXT:        ## DW_AT_decl_line
+;CHECK-NEXT:        ## DW_AT_type
+;CHECK-NEXT:        ## DW_AT_location
 
 @dfm = external global i32, align 4