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

Eric Christopher echristo at apple.com
Tue Jul 17 11:40:46 PDT 2012


Author: echristo
Date: Tue Jul 17 13:40:46 2012
New Revision: 160385

URL: http://llvm.org/viewvc/llvm-project?rev=160385&view=rev
Log:
Fix regexp for this test to properly check.

Patch by Eli Bendersky.

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=160385&r1=160384&r2=160385&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/debug-info-line2.c (original)
+++ cfe/trunk/test/CodeGen/debug-info-line2.c Tue Jul 17 13:40:46 2012
@@ -6,11 +6,11 @@
 	int j = 0;
 	if (i) {
 		j = bar();
-//CHECK: store i32
-//CHECK-NOT:  br label %{{%[a-zA-Z0-9\.]+}}, !dbg 
 	} 
 	else
 	{
+//CHECK: store i32 %add
+//CHECK-NOT:  br label %{{[a-zA-Z0-9\.]+}}, !dbg 
 		j = bar() + 2;
 	}
 	return j;





More information about the cfe-commits mailing list