Make these regexes stricter by disallowing any additional characters in the output.

Thanks to dblaikie for pointing this out!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215166 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Adrian Prantl 2014-08-07 23:04:07 +00:00
parent 2158dec965
commit 7f48f056f7
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ target triple = "thumbv7-apple-macosx10.6.7"
; CHECK: 0x00000000: Beginning address offset:
; CHECK-NEXT: Ending address offset:
; CHECK-NEXT: Location description: 90 {{.. .. .. ..}}
; CHECK-NEXT: Location description: 90 {{.. .. .. .. $}}
define void @_Z3foov() optsize ssp {
entry:

View File

@ -7,7 +7,7 @@ target triple = "thumbv7-apple-macosx10.6.7"
; 0x90 DW_OP_regx of super-register
; 0x93 DW_OP_piece
; 0x9d DW_OP_bit_piece
; CHECK: Location description: 90 {{.. .. ((93 ..)|(9d .. ..))}}
; CHECK: Location description: 90 {{.. .. ((93 ..)|(9d .. ..)) $}}
define void @_Z3foov() optsize ssp {
entry: