[debuginfo-tests] r190967 - Massage those regexps to work with both lldb and gdb.

Adrian Prantl aprantl at apple.com
Wed Sep 18 15:56:35 PDT 2013


Author: adrian
Date: Wed Sep 18 17:56:35 2013
New Revision: 190967

URL: http://llvm.org/viewvc/llvm-project?rev=190967&view=rev
Log:
Massage those regexps to work with both lldb and gdb.

Modified:
    debuginfo-tests/trunk/aggregate-indirect-arg.cpp
    debuginfo-tests/trunk/sret.cpp

Modified: debuginfo-tests/trunk/aggregate-indirect-arg.cpp
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/aggregate-indirect-arg.cpp?rev=190967&r1=190966&r2=190967&view=diff
==============================================================================
--- debuginfo-tests/trunk/aggregate-indirect-arg.cpp (original)
+++ debuginfo-tests/trunk/aggregate-indirect-arg.cpp Wed Sep 18 17:56:35 2013
@@ -6,8 +6,8 @@
 // DEBUGGER: r
 // DEBUGGER: p v
 // CHECK: ${{[0-9]+}} = {
-// CHECK-NEXT:  Data = 0x0{{,|(0+$)}}
-// CHECK-NEXT:  Kind = 2142
+// CHECK:  Data = 0x0{{(0*)}}
+// CHECK:  Kind = 2142
 
 class SVal {
 public:

Modified: debuginfo-tests/trunk/sret.cpp
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/sret.cpp?rev=190967&r1=190966&r2=190967&view=diff
==============================================================================
--- debuginfo-tests/trunk/sret.cpp (original)
+++ debuginfo-tests/trunk/sret.cpp Wed Sep 18 17:56:35 2013
@@ -7,8 +7,7 @@
 // DEBUGGER: p a
 // CHECK: ${{[0-9]+}} = {
 // LLDB does not print artificial members.
-// CHECK-NEXT:  {{(_vptr\$A =)|(m_int = 12)}}
-// CHECK-NEXT:  {{(m_int = 12)|(})}}
+// CHECK-NEXT:  {{(_vptr\$A =)?.*}}m_int = 12
 
 class A
 {





More information about the llvm-commits mailing list