]> granicus.if.org Git - clang/commitdiff
Debug Info: update testing cases when the derived-from field of
authorManman Ren <manman.ren@gmail.com>
Tue, 8 Oct 2013 23:29:36 +0000 (23:29 +0000)
committerManman Ren <manman.ren@gmail.com>
Tue, 8 Oct 2013 23:29:36 +0000 (23:29 +0000)
DICompositeType is updated to use DITypeRef.

Paired commit with r192251.

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

test/CodeGenCXX/debug-info.cpp

index 8ef8aa7bb8648cc9ec1367ef2cd22a0145e6ec73..93a4fe3f466a6f2146e12cc135497d7451659645 100644 (file)
@@ -93,7 +93,7 @@ struct incomplete;
 incomplete (*x)[3];
 // CHECK: metadata [[INCARRAYPTR:![0-9]*]], i32 0, i32 1, [3 x i8]** @_ZN6pr96081xE, null} ; [ DW_TAG_variable ] [x]
 // CHECK: [[INCARRAYPTR]] = {{.*}}metadata [[INCARRAY:![0-9]*]]} ; [ DW_TAG_pointer_type ]
-// CHECK: [[INCARRAY]] = {{.*}}metadata [[INCTYPE]], metadata {{![0-9]*}}, i32 0, null, null, null} ; [ DW_TAG_array_type ] [line 0, size 0, align 0, offset 0] [from incomplete]
+// CHECK: [[INCARRAY]] = {{.*}}metadata !"_ZTSN6pr960810incompleteE", metadata {{![0-9]*}}, i32 0, null, null, null} ; [ DW_TAG_array_type ] [line 0, size 0, align 0, offset 0] [from _ZTSN6pr960810incompleteE]
 }
 
 // For some reason the argument for PR14763 ended up all the way down here