Check only relevant strings in output to increase stability of the tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126338 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2011-02-23 22:35:57 +00:00
parent f956183643
commit 1d6b2c74c0
2 changed files with 9 additions and 10 deletions

View 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

View 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