aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-02-15 23:25:18 +0000
committerEric Christopher <echristo@apple.com>2012-02-15 23:25:18 +0000
commit9a68d4584afcd0853b930bd80235b58736e785b4 (patch)
treed3432c3434e7c238c600f2573f41ba0357865a4f /test/CodeGenCXX/debug-info-dup-fwd-decl.cpp
parent3ad02aa90105a9fcfd3d4328e800aa1362a90234 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150631 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/debug-info-dup-fwd-decl.cpp')
-rw-r--r--test/CodeGenCXX/debug-info-dup-fwd-decl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp b/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp
index 695d1b0967..42ac61dec5 100644
--- a/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp
+++ b/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,