r214198 - Fix test case in r214190. (It failed on my end.)

Larisse Voufo lvoufo at google.com
Tue Jul 29 12:15:28 PDT 2014


Author: lvoufo
Date: Tue Jul 29 14:15:27 2014
New Revision: 214198

URL: http://llvm.org/viewvc/llvm-project?rev=214198&view=rev
Log:
Fix test case in r214190. (It failed on my end.)

Modified:
    cfe/trunk/test/CodeGenCXX/debug-info-varargs.cpp

Modified: cfe/trunk/test/CodeGenCXX/debug-info-varargs.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-varargs.cpp?rev=214198&r1=214197&r2=214198&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info-varargs.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/debug-info-varargs.cpp Tue Jul 29 14:15:27 2014
@@ -5,13 +5,13 @@ struct A
   // CHECK-DAG: ", i32 [[@LINE+1]], metadata ![[ATY:[0-9]+]]{{.*}}[ DW_TAG_subprogram ]{{.*}}[a]
   void a(int c, ...) {}
   // CHECK: ![[ATY]] ={{.*}} metadata ![[AARGS:[0-9]+]], i32 0, null, null, null} ; [ DW_TAG_subroutine_type ]
-  // CHECK: ![[AARGS]] = metadata !{null, metadata !{{[0-9]+}}, metadata !{{[0-9]+}}, null}
+  // CHECK: ![[AARGS]] = metadata !{null, metadata !{{[0-9]+}}, metadata !{{[0-9]+}}, metadata !{{[0-9]+}}}
 };
 
   // CHECK: ", i32 [[@LINE+1]], metadata ![[BTY:[0-9]+]]{{.*}}[ DW_TAG_subprogram ]{{.*}}[b]
 void b(int c, ...) {
   // CHECK: ![[BTY]] ={{.*}} metadata ![[BARGS:[0-9]+]], i32 0, null, null, null} ; [ DW_TAG_subroutine_type ]
-  // CHECK: ![[BARGS]] = metadata !{null, metadata !{{[0-9]+}}, null}
+  // CHECK: ![[BARGS]] = metadata !{null, metadata !{{[0-9]+}}, metadata !{{[0-9]+}}}
 
   A a;
 





More information about the cfe-commits mailing list