summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-fwd-ref.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-04-23 19:00:24 +0000
committerEric Christopher <echristo@apple.com>2012-04-23 19:00:24 +0000
commit3cc207bbccbaedfdb94eb2532624fc065d675d99 (patch)
treee341b2017dbf388df79ff75f45e290302d2065fd /clang/test/CodeGenCXX/debug-info-fwd-ref.cpp
parent27deb265f9ccbc9dbc925a0ebb413eea2bbb165c (diff)
downloadbcm5719-llvm-3cc207bbccbaedfdb94eb2532624fc065d675d99.tar.gz
bcm5719-llvm-3cc207bbccbaedfdb94eb2532624fc065d675d99.zip
Forward declarations should take a context. This helps the debugger
find forward declarations in the context that the actual definition will occur. rdar://11291658 llvm-svn: 155381
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-fwd-ref.cpp')
-rw-r--r--clang/test/CodeGenCXX/debug-info-fwd-ref.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-fwd-ref.cpp b/clang/test/CodeGenCXX/debug-info-fwd-ref.cpp
index 5480c6b14fd..e7f2ed19d79 100644
--- a/clang/test/CodeGenCXX/debug-info-fwd-ref.cpp
+++ b/clang/test/CodeGenCXX/debug-info-fwd-ref.cpp
@@ -19,8 +19,8 @@ int main(int argc, char** argv) {
// Make sure we have two DW_TAG_class_types for baz and bar and no forward
// references.
// FIXME: These should be struct types to match the declaration.
-// CHECK: metadata !{i32 {{.*}}, null, metadata !"bar", metadata !6, i32 8, i64 128, i64 64, i32 0, i32 0, null, metadata !20, i32 0, null, null} ; [ DW_TAG_class_type ]
-// CHECK: metadata !{i32 {{.*}}, null, metadata !"baz", metadata !6, i32 3, i64 32, i64 32, i32 0, i32 0, null, metadata !23, i32 0, null, null} ; [ DW_TAG_class_type ]
-// CHECK-NOT: metadata !{i32 {{.*}}, null, metadata !"bar", metadata !6, i32 9, i64 0, i64 0, i32 0, i32 4, i32 0, null, i32 0, i32 0} ; [ DW_TAG_class_type ]
+// CHECK: metadata !{i32 {{.*}}, null, metadata !"bar", metadata !6, i32 8, i64 128, i64 64, i32 0, i32 0, null, metadata !18, i32 0, null, null} ; [ DW_TAG_class_type ]
+// CHECK: metadata !{i32 {{.*}}, null, metadata !"baz", metadata !6, i32 3, i64 32, i64 32, i32 0, i32 0, null, metadata !21, i32 0, null, null} ; [ DW_TAG_class_type ]
+// CHECK-NOT: metadata !{i32 {{.*}}, null, metadata !"bar", metadata !6, i32 8, i64 0, i64 0, i32 0, i32 4, i32 0, null, i32 0, i32 0} ; [ DW_TAG_class_type ]
// CHECK-NOT: metadata !{i32 {{.*}}, null, metadata !"baz", metadata !6, i32 3, i64 0, i64 0, i32 0, i32 4, null, null, i32 0, null, null} ; [ DW_TAG_class_type ]
OpenPOWER on IntegriCloud