[debuginfo-tests] r299673 - Add DEBUGGER and CHECKs back to dbg-arg.c

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 6 10:59:50 PDT 2017


Author: adrian
Date: Thu Apr  6 12:59:50 2017
New Revision: 299673

URL: http://llvm.org/viewvc/llvm-project?rev=299673&view=rev
Log:
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 :-)

Modified:
    debuginfo-tests/trunk/dbg-arg.c

Modified: debuginfo-tests/trunk/dbg-arg.c
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/dbg-arg.c?rev=299673&r1=299672&r2=299673&view=diff
==============================================================================
--- debuginfo-tests/trunk/dbg-arg.c (original)
+++ debuginfo-tests/trunk/dbg-arg.c Thu Apr  6 12:59:50 2017
@@ -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




More information about the llvm-commits mailing list