summaryrefslogtreecommitdiff
path: root/debuginfo-tests/sret.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2013-09-06 18:10:44 +0000
committerAdrian Prantl <aprantl@apple.com>2013-09-06 18:10:44 +0000
commitaa18f59f8815b95e89826f41599734fc0d24b866 (patch)
tree3d203139b1aabf54d3bc28f69b2b46f884498ee8 /debuginfo-tests/sret.cpp
parent78a518e27e333b2c332ec0393dcf1c3923376cd7 (diff)
Add an lldb wrapper script that implements gdb-compatible commands on top
of lldb. This will be the new default method for executing the tests in this repository on Darwin. There is also a related patch for llvm/utils/test_debuginfo.pl coming. I also relaxed some of the checks to work with both gdb's and lldb's output.
Diffstat (limited to 'debuginfo-tests/sret.cpp')
-rw-r--r--debuginfo-tests/sret.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/debuginfo-tests/sret.cpp b/debuginfo-tests/sret.cpp
index 1903cdda53b..6405bde0d03 100644
--- a/debuginfo-tests/sret.cpp
+++ b/debuginfo-tests/sret.cpp
@@ -5,9 +5,10 @@
// DEBUGGER: break 62
// DEBUGGER: r
// DEBUGGER: p a
-// CHECK: $1 = {
-// CHECK: _vptr$A =
-// CHECK: m_int = 12
+// CHECK: ${{[0-9]+}} = {
+// LLDB does not print artificial members.
+// CHECK-NEXT: {{(_vptr\$A =)|(m_int = 12)}}
+// CHECK-NEXT: {{(m_int = 12)|(})}}
class A
{