Massage those regexps to work with both lldb and gdb.

llvm-svn: 190967
This commit is contained in:
Adrian Prantl 2013-09-18 22:56:35 +00:00
parent d6aadc797c
commit 7f6f3bb86b
2 changed files with 3 additions and 4 deletions

View File

@ -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:

View File

@ -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
{