r214190 - [Debug Info] update testing case due to change in DIBuilder.
Eric Christopher
echristo at gmail.com
Thu Jul 31 14:42:15 PDT 2014
Since we're losing the implicit documentation of
DW_TAG_unspecified_parameters here would you mind adding a comment
with what we're looking for with the check please?
Thanks!
-eric
On Tue, Jul 29, 2014 at 11:21 AM, Manman Ren <manman.ren at gmail.com> wrote:
> Author: mren
> Date: Tue Jul 29 13:21:00 2014
> New Revision: 214190
>
> URL: http://llvm.org/viewvc/llvm-project?rev=214190&view=rev
> Log:
> [Debug Info] update testing case due to change in DIBuilder.
>
> This is the paired commit with llvm r214189.
>
> 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=214190&r1=214189&r2=214190&view=diff
> ==============================================================================
> --- cfe/trunk/test/CodeGenCXX/debug-info-varargs.cpp (original)
> +++ cfe/trunk/test/CodeGenCXX/debug-info-varargs.cpp Tue Jul 29 13:21:00 2014
> @@ -5,14 +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 ![[UNSPEC:[0-9]+]]}
> - // CHECK: ![[UNSPEC]] = {{.*}} [ DW_TAG_unspecified_parameters ]
> + // CHECK: ![[AARGS]] = metadata !{null, metadata !{{[0-9]+}}, metadata !{{[0-9]+}}, null}
> };
>
> // 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 ![[UNSPEC:[0-9]+]]}
> + // CHECK: ![[BARGS]] = metadata !{null, metadata !{{[0-9]+}}, null}
>
> A a;
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list