[cfe-commits] r160399 - /cfe/trunk/test/CodeGen/debug-info-line2.c

Eric Christopher echristo at apple.com
Tue Jul 17 14:52:08 PDT 2012


Author: echristo
Date: Tue Jul 17 16:52:07 2012
New Revision: 160399

URL: http://llvm.org/viewvc/llvm-project?rev=160399&view=rev
Log:
Robustify test in the face of no assertions.

Modified:
    cfe/trunk/test/CodeGen/debug-info-line2.c

Modified: cfe/trunk/test/CodeGen/debug-info-line2.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/debug-info-line2.c?rev=160399&r1=160398&r2=160399&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/debug-info-line2.c (original)
+++ cfe/trunk/test/CodeGen/debug-info-line2.c Tue Jul 17 16:52:07 2012
@@ -9,8 +9,9 @@
 	} 
 	else
 	{
-//CHECK: store i32 %add
-//CHECK-NOT:  br label %{{[a-zA-Z0-9\.]+}}, !dbg 
+          // CHECK: add nsw
+          // CHECK-NEXT: store i32 %{{[a-zA-Z0-9]+}}
+          // CHECK-NOT:  br label %{{[a-zA-Z0-9\.]+}}, !dbg 
 		j = bar() + 2;
 	}
 	return j;





More information about the cfe-commits mailing list