diff options
author | Adrian Prantl <aprantl@apple.com> | 2013-09-18 22:56:35 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2013-09-18 22:56:35 +0000 |
commit | 7f6f3bb86bc28b0de1e051157b264588a9864c5c (patch) | |
tree | ecfd7f3cc9a63d2189e1d3cb01e359fe6e338825 | |
parent | d6aadc797c5325b1fbffaff2fa81b335f8188b17 (diff) | |
download | bcm5719-llvm-7f6f3bb86bc28b0de1e051157b264588a9864c5c.tar.gz bcm5719-llvm-7f6f3bb86bc28b0de1e051157b264588a9864c5c.zip |
Massage those regexps to work with both lldb and gdb.
llvm-svn: 190967
-rw-r--r-- | debuginfo-tests/aggregate-indirect-arg.cpp | 4 | ||||
-rw-r--r-- | debuginfo-tests/sret.cpp | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/debuginfo-tests/aggregate-indirect-arg.cpp b/debuginfo-tests/aggregate-indirect-arg.cpp index 26c571458ad..55609a64517 100644 --- a/debuginfo-tests/aggregate-indirect-arg.cpp +++ b/debuginfo-tests/aggregate-indirect-arg.cpp @@ -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: diff --git a/debuginfo-tests/sret.cpp b/debuginfo-tests/sret.cpp index 6405bde0d03..863e347d1f7 100644 --- a/debuginfo-tests/sret.cpp +++ b/debuginfo-tests/sret.cpp @@ -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 { |