]> granicus.if.org Git - clang/commitdiff
Debug Info: update testing cases when the context field of subprogram is updated
authorManman Ren <manman.ren@gmail.com>
Thu, 10 Oct 2013 18:40:16 +0000 (18:40 +0000)
committerManman Ren <manman.ren@gmail.com>
Thu, 10 Oct 2013 18:40:16 +0000 (18:40 +0000)
to use DIScopeRef.

Paired commit with r192378.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192379 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/debug-info-artificial-arg.cpp

index 8f468d952c5975e54a2c0247be9da0ea141ea453..84f496f54c376bb966958227b9962e62bceea401 100644 (file)
@@ -22,8 +22,8 @@ int main(int argc, char **argv) {
   A reallyA (500);
 }
 
-// CHECK: ![[CLASSTYPE:.*]] = {{.*}} ; [ DW_TAG_class_type ] [A]
+// CHECK: ![[CLASSTYPE:.*]] = {{.*}}, metadata !"_ZTS1A"} ; [ DW_TAG_class_type ] [A]
 // CHECK: ![[ARTARG:.*]] = {{.*}} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [artificial] [from _ZTS1A]
-// CHECK: metadata ![[CLASSTYPE]], {{.*}} ; [ DW_TAG_subprogram ] [line 12] [A]
+// CHECK: metadata !"_ZTS1A", {{.*}} ; [ DW_TAG_subprogram ] [line 12] [A]
 // CHECK: metadata [[FUNCTYPE:![0-9]*]], i32 0, null, null, null} ; [ DW_TAG_subroutine_type ]
 // CHECK: [[FUNCTYPE]] = metadata !{null, metadata ![[ARTARG]], metadata !{{.*}}, metadata !{{.*}}}