diff options
author | Eric Christopher <echristo@apple.com> | 2012-02-15 23:25:18 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-02-15 23:25:18 +0000 |
commit | 7381907e651b74a1e30e3b2d2bafb933e2b3dd58 (patch) | |
tree | 2b21aab096cf47cc7a177b03f3508481194d626b /clang/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp | |
parent | 923d199a67350e30f4d38856238383a8261cfbbc (diff) | |
download | bcm5719-llvm-7381907e651b74a1e30e3b2d2bafb933e2b3dd58.tar.gz bcm5719-llvm-7381907e651b74a1e30e3b2d2bafb933e2b3dd58.zip |
Add a completed/incomplete type difference. This allows us to have
partial types for contexts and forward decls while allowing us to
complete types later on for debug purposes.
This piggy-backs on the metadata replacement and rauw changes
for temporary nodes and takes advantage of the incremental
support I added in earlier. This allows us to, if we decide,
to limit adding methods and variables to structures in order
to limit the amount of debug information output into a .o file.
The caching is a bit complicated though so any thoughts on
untangling that are welcome.
llvm-svn: 150631
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp b/clang/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp index 695d1b0967e..42ac61dec5f 100644 --- a/clang/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp +++ b/clang/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s -// XFAIL: * + class Test { public: @@ -19,6 +19,6 @@ protected: Test t; -// CHECK: metadata !"data", metadata !7, i32 13, i64 32, i64 32, i32 0, i32 0 +// CHECK: metadata !"data", metadata !7, i32 14, i64 32, i64 32, i32 0, i32 0 // CHECK: metadata !"", null, i32 0, i64 64, i64 64, i64 0, i32 0, metadata !5} ; [ DW_TAG_pointer_type ] // CHECK-NOT: metadata !"data", metadata !7, i32 13, i64 0, i64 0, i32 0, i32 4, |