r312627 - Corrected testcase to work with release build

Karl-Johan Karlsson via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 6 03:12:32 PDT 2017


Author: karka
Date: Wed Sep  6 03:12:32 2017
New Revision: 312627

URL: http://llvm.org/viewvc/llvm-project?rev=312627&view=rev
Log:
Corrected testcase to work with release build

The fault was introduced in r312623

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

Modified: cfe/trunk/test/CodeGen/debug-info-attributed-stmt.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/debug-info-attributed-stmt.c?rev=312627&r1=312626&r2=312627&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/debug-info-attributed-stmt.c (original)
+++ cfe/trunk/test/CodeGen/debug-info-attributed-stmt.c Wed Sep  6 03:12:32 2017
@@ -6,7 +6,7 @@ void f(_Bool b)
   while (b);
 }
 
-// CHECK: br label %while.cond, !dbg ![[NUM:[0-9]+]]
-// CHECK: br i1 %tobool, label %while.body, label %while.end, !dbg ![[NUM]]
-// CHECK: br label %while.cond, !dbg ![[NUM]], !llvm.loop
+// CHECK: br label {{.*}}, !dbg ![[NUM:[0-9]+]]
+// CHECK: br i1 {{.*}}, label {{.*}}, label {{.*}}, !dbg ![[NUM]]
+// CHECK: br label {{.*}}, !dbg ![[NUM]], !llvm.loop
 // CHECK: ![[NUM]] = !DILocation(line: 6,




More information about the cfe-commits mailing list