r214472 - Add comments to debug info testing case.

Manman Ren manman.ren at gmail.com
Thu Jul 31 18:47:13 PDT 2014


Author: mren
Date: Thu Jul 31 20:47:13 2014
New Revision: 214472

URL: http://llvm.org/viewvc/llvm-project?rev=214472&view=rev
Log:
Add comments to debug info testing case.

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=214472&r1=214471&r2=214472&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info-varargs.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/debug-info-varargs.cpp Thu Jul 31 20:47:13 2014
@@ -5,6 +5,7 @@ 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 ]
+  // We no longer use an explicit unspecified parameter. Instead we use a trailing null to mean the function is variadic.
   // CHECK: ![[AARGS]] = metadata !{null, metadata !{{[0-9]+}}, metadata !{{[0-9]+}}, null}
 };
 





More information about the cfe-commits mailing list