From: Manman Ren Date: Tue, 29 Jul 2014 18:21:00 +0000 (+0000) Subject: [Debug Info] update testing case due to change in DIBuilder. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f632a0cce70524a1608ebdc351935a87c0481c83;p=clang [Debug Info] update testing case due to change in DIBuilder. This is the paired commit with llvm r214189. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214190 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/debug-info-varargs.cpp b/test/CodeGenCXX/debug-info-varargs.cpp index cc92477dbb..63186501bf 100644 --- a/test/CodeGenCXX/debug-info-varargs.cpp +++ b/test/CodeGenCXX/debug-info-varargs.cpp @@ -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;