diff options
author | Eric Christopher <echristo@apple.com> | 2012-02-18 00:50:17 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-02-18 00:50:17 +0000 |
commit | 1c3785aae92b3c4d242ff1538eba1f4430395d25 (patch) | |
tree | 33b8ff3a21aa7784f97414d91af6694a0daee4ed /clang/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp | |
parent | 1a0c882a228d7ae372aff169a4e84cbf57f4bca2 (diff) | |
download | bcm5719-llvm-1c3785aae92b3c4d242ff1538eba1f4430395d25.tar.gz bcm5719-llvm-1c3785aae92b3c4d242ff1538eba1f4430395d25.zip |
Add in a caching mechanism so that forward declarations are replaced
with full types if they exist.
rdar://10809898 and rdar://10209967 and rdar://10400981
llvm-svn: 150858
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp b/clang/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp index 1f50256dff7..e67987b5a35 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: * +// RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin -fno-limit-debug-info %s -o - | FileCheck %s + class Test { public: @@ -19,6 +19,6 @@ protected: Test t; -// 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, +// CHECK: metadata !"", null, i32 0, i64 64, i64 64, i64 0, i32 0, metadata {{.*}} [ DW_TAG_pointer_type ] +// CHECK: metadata !"data", metadata !6, i32 14, i64 32, i64 32, i32 0, i32 0 +// CHECK-NOT: metadata !"data", metadata {{.*}}, i32 14, i64 0, i64 0, i32 0, i32 4, |