From aa18f59f8815b95e89826f41599734fc0d24b866 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Fri, 6 Sep 2013 18:10:44 +0000 Subject: 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. --- debuginfo-tests/sret.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'debuginfo-tests/sret.cpp') 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 { -- cgit v1.2.3