diff options
author | Adrian Prantl <aprantl@apple.com> | 2014-03-18 02:34:54 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2014-03-18 02:34:54 +0000 |
commit | f521af81efde77a84e2d258445c439c07861e374 (patch) | |
tree | 733b0a2c1518e452d22d621f79cc4655d9bb4193 /clang/test/CodeGenCXX/debug-info.cpp | |
parent | 702bf5a9d97c93cb0e1ef02e45da242c69c379d5 (diff) | |
download | bcm5719-llvm-f521af81efde77a84e2d258445c439c07861e374.tar.gz bcm5719-llvm-f521af81efde77a84e2d258445c439c07861e374.zip |
Debug info: Update testcases to new DIBuilder behaviour. Variables now
store DIRefs to their types for improved type uniquing.
llvm-svn: 204105
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-info.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/debug-info.cpp b/clang/test/CodeGenCXX/debug-info.cpp index 93a4fe3f466..2e7226d8696 100644 --- a/clang/test/CodeGenCXX/debug-info.cpp +++ b/clang/test/CodeGenCXX/debug-info.cpp @@ -77,7 +77,7 @@ foo func(foo f) { return f; // reference 'f' for now because otherwise we hit another bug } -// CHECK: [[FOO:![0-9]*]] = metadata !{i32 {{[0-9]*}}, metadata !{{[0-9]*}}, metadata [[PR14763:![0-9]*]], {{.*}} ; [ DW_TAG_structure_type ] [foo] +// CHECK: metadata !{i32 {{[0-9]*}}, metadata !{{[0-9]*}}, metadata [[PR14763:![0-9]*]], {{.*}}, metadata !"[[FOO:.*]]"} ; [ DW_TAG_structure_type ] [foo] // CHECK: [[PR14763]] = {{.*}} ; [ DW_TAG_namespace ] [pr14763] // CHECK: [[INCTYPE:![0-9]*]] = {{.*}} ; [ DW_TAG_structure_type ] [incomplete]{{.*}} [decl] // CHECK: metadata [[A_MEM:![0-9]*]], i32 0, null, null, metadata !"_ZTSN7pr162141aE"} ; [ DW_TAG_structure_type ] [a] @@ -97,7 +97,7 @@ incomplete (*x)[3]; } // For some reason the argument for PR14763 ended up all the way down here -// CHECK: = metadata !{i32 {{[0-9]*}}, metadata [[FUNC]], {{.*}}, metadata [[FOO]], i32 8192, i32 0} ; [ DW_TAG_arg_variable ] [f] +// CHECK: = metadata !{i32 {{[0-9]*}}, metadata [[FUNC]], {{.*}}, metadata !"[[FOO]]", i32 8192, i32 0} ; [ DW_TAG_arg_variable ] [f] namespace pr16214 { struct a { |