summaryrefslogtreecommitdiff
path: root/debuginfo-tests
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-04-06 17:59:50 +0000
committerAdrian Prantl <aprantl@apple.com>2017-04-06 17:59:50 +0000
commit8ba7af599dc61f3838617ea3885140e36d60bbb4 (patch)
treeafd1736865690cf88811da034f5ce32f1b8b43d0 /debuginfo-tests
parent63cc48e991e2bc2aa4b08588734f226567ff100a (diff)
Add DEBUGGER and CHECKs back to dbg-arg.c
When this testcase was migrated from IR to source the DEBUGGER commands were not migrated together with the rest of the testcase. It was also compiling without debug info. Make the testcase slightly less useless by adding them back in :-)
Diffstat (limited to 'debuginfo-tests')
-rw-r--r--debuginfo-tests/dbg-arg.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/debuginfo-tests/dbg-arg.c b/debuginfo-tests/dbg-arg.c
index 26de4e5732c..c44bfd48803 100644
--- a/debuginfo-tests/dbg-arg.c
+++ b/debuginfo-tests/dbg-arg.c
@@ -1,8 +1,13 @@
// This test case checks debug info during register moves for an argument.
-// RUN: %clang %target_itanium_abi_host_triple -arch x86_64 -mllvm -fast-isel=false %s -c -o %t.o
+// RUN: %clang %target_itanium_abi_host_triple -arch x86_64 -mllvm -fast-isel=false %s -c -o %t.o -g
// RUN: %clang %target_itanium_abi_host_triple -arch x86_64 %t.o -o %t.out
// RUN: %test_debuginfo %s %t.out
//
+// DEBUGGER: break 26
+// DEBUGGER: r
+// DEBUGGER: print mutex
+// CHECK: ={{.*}} 0x0
+//
// Radar 8412415
struct _mtx