diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-03-19 23:10:14 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-03-19 23:10:14 +0000 |
commit | 86eac722f9e7478d90c240e4a8c11a8fa2318f1d (patch) | |
tree | 05de80af79da4ce48771352064500ce5ac01b84c /clang/test/CodeGenCXX/debug-info-fwd-ref.cpp | |
parent | 2c0473563096131603232069a9d2c29c3eb4d605 (diff) | |
download | bcm5719-llvm-86eac722f9e7478d90c240e4a8c11a8fa2318f1d.tar.gz bcm5719-llvm-86eac722f9e7478d90c240e4a8c11a8fa2318f1d.zip |
Simplify/generalize some debug info test cases
Mostly, try to depend on the annotation comments more so these tests are more
legible, brief, and agnostic to schema changes in the future (sure, they're not
agnostic to changes to the comment annotations but since they're easier to read
they should be easier to update if that happens).
llvm-svn: 177457
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-fwd-ref.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-info-fwd-ref.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-fwd-ref.cpp b/clang/test/CodeGenCXX/debug-info-fwd-ref.cpp index 69dd192bd99..c479506c61e 100644 --- a/clang/test/CodeGenCXX/debug-info-fwd-ref.cpp +++ b/clang/test/CodeGenCXX/debug-info-fwd-ref.cpp @@ -18,8 +18,7 @@ int main(int argc, char** argv) { // Make sure we have two DW_TAG_structure_types for baz and bar and no forward // references. -// CHECK: metadata !{i32 {{.*}}, null, metadata !"bar", metadata ![[FILE:.*]], i32 8, i64 128, i64 64, i32 0, i32 0, null, metadata !{{.*}}, i32 0, null, null} ; [ DW_TAG_structure_type ] -// CHECK: metadata !{i32 {{.*}}, null, metadata !"baz", metadata ![[FILE]], i32 3, i64 32, i64 32, i32 0, i32 0, null, metadata !{{.*}}, i32 0, null, null} ; [ DW_TAG_structure_type ] -// CHECK-NOT: metadata !{i32 {{.*}}, null, metadata !"bar", metadata ![[FILE]], i32 8, i64 0, i64 0, i32 0, i32 4, i32 0, null, i32 0, i32 0} ; [ DW_TAG_structure_type ] -// CHECK-NOT: metadata !{i32 {{.*}}, null, metadata !"baz", metadata ![[FILE]], i32 3, i64 0, i64 0, i32 0, i32 4, null, null, i32 0, null, null} ; [ DW_TAG_structure_type ] - +// CHECK-NOT: [fwd] +// CHECK: [ DW_TAG_structure_type ] [bar] +// CHECK: [ DW_TAG_structure_type ] [baz] +// CHECK-NOT: [fwd] |