Make these regexes stricter by disallowing any additional characters in the output.
Thanks to dblaikie for pointing this out!
llvm-svn: 215166
diff --git a/llvm/test/CodeGen/ARM/debug-info-sreg2.ll b/llvm/test/CodeGen/ARM/debug-info-sreg2.ll
index 6e20286..c74bd43 100644
--- a/llvm/test/CodeGen/ARM/debug-info-sreg2.ll
+++ b/llvm/test/CodeGen/ARM/debug-info-sreg2.ll
@@ -10,7 +10,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:
diff --git a/llvm/test/DebugInfo/ARM/s-super-register.ll b/llvm/test/DebugInfo/ARM/s-super-register.ll
index 5040a79..36205df 100644
--- a/llvm/test/DebugInfo/ARM/s-super-register.ll
+++ b/llvm/test/DebugInfo/ARM/s-super-register.ll
@@ -7,7 +7,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: