[cfe-commits] r160660 - /cfe/trunk/test/CodeGenCXX/debug-info-globalinit.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Mon Jul 23 19:03:39 PDT 2012
Author: chapuni
Date: Mon Jul 23 21:03:39 2012
New Revision: 160660
URL: http://llvm.org/viewvc/llvm-project?rev=160660&view=rev
Log:
clang/test/CodeGenCXX/debug-info-globalinit.cpp: Fix for -Asserts.
Modified:
cfe/trunk/test/CodeGenCXX/debug-info-globalinit.cpp
Modified: cfe/trunk/test/CodeGenCXX/debug-info-globalinit.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-globalinit.cpp?rev=160660&r1=160659&r2=160660&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info-globalinit.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/debug-info-globalinit.cpp Mon Jul 23 21:03:39 2012
@@ -17,14 +17,14 @@
// CHECK: define internal void @__cxx_global_var_init()
// CHECK-NOT: __cxx_global_var_init
-// CHECK: %call = call i32 @_Z4testv(), !dbg ![[LINE:.*]]
+// CHECK: %[[C0:.+]] = call i32 @_Z4testv(), !dbg ![[LINE:.*]]
// CHECK-NOT: __cxx_global_var_init
-// CHECK: store i32 %call, i32* @_ZL1i, align 4, !dbg
+// CHECK: store i32 %[[C0]], i32* @_ZL1i, align 4, !dbg
//
// CHECK: define internal void @__cxx_global_var_init1()
// CHECK-NOT: dbg
-// CHECK: %call = call i32 @_Z4testv()
+// CHECK: %[[C1:.+]] = call i32 @_Z4testv()
// CHECK-NOT: dbg
-// CHECK: store i32 %call, i32* @_ZL1j, align 4
+// CHECK: store i32 %[[C1]], i32* @_ZL1j, align 4
//
// CHECK: ![[LINE]] = metadata !{i32 13, i32 16
More information about the cfe-commits
mailing list