r226667 - Make the test a bit stricter. NFC.

Rafael Espindola rafael.espindola at gmail.com
Wed Jan 21 08:13:57 PST 2015


Author: rafael
Date: Wed Jan 21 10:13:57 2015
New Revision: 226667

URL: http://llvm.org/viewvc/llvm-project?rev=226667&view=rev
Log:
Make the test a bit stricter. NFC.

Modified:
    cfe/trunk/test/CodeGenCXX/vla-lambda-capturing.cpp

Modified: cfe/trunk/test/CodeGenCXX/vla-lambda-capturing.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vla-lambda-capturing.cpp?rev=226667&r1=226666&r2=226667&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/vla-lambda-capturing.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/vla-lambda-capturing.cpp Wed Jan 21 10:13:57 2015
@@ -80,7 +80,7 @@ int main() {
   return 0;
 }
 
-// CHECK: void [[F_INT]]([[INTPTR_T]]
+// CHECK: define linkonce_odr void [[F_INT]]([[INTPTR_T]]
 // CHECK: [[SIZE:%.+]] = add
 // CHECK: call i{{.+}}* @llvm.stacksave()
 // CHECK: [[BUFFER_ADDR:%.+]] = alloca [[INTPTR_T]], [[INTPTR_T]] [[SIZE]]
@@ -160,7 +160,7 @@ int main() {
 // CHECK: mul {{.*}} i{{[0-9]+}} {{[0-9]+}}, [[MUL]]
 // CHECK: ret void
 
-// CHECK: void [[F_INT_LAMBDA]]([[CAP_TYPE2]]*
+// CHECK: define linkonce_odr void [[F_INT_LAMBDA]]([[CAP_TYPE2]]*
 // CHECK: [[THIS:%.+]] = load [[CAP_TYPE2]]**
 // CHECK: [[SIZE_REF:%.+]] = getelementptr inbounds [[CAP_TYPE2]]* [[THIS]], i{{.+}} 0, i{{.+}} 0
 // CHECK: [[SIZE:%.+]] = load [[INTPTR_T]]* [[SIZE_REF]]





More information about the cfe-commits mailing list