diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-12-20 02:10:02 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-12-20 02:10:02 +0000 |
commit | 5f4740d3e52b7726543b0104677e5fd02b7e5d61 (patch) | |
tree | 6759e04254bf69dc710741b53bb37bea01515c4d /clang/test/CodeGenCXX/debug-info-template-member.cpp | |
parent | abd69332e20327368bacaa647b5f5c7a77e2ff07 (diff) | |
download | bcm5719-llvm-5f4740d3e52b7726543b0104677e5fd02b7e5d61.tar.gz bcm5719-llvm-5f4740d3e52b7726543b0104677e5fd02b7e5d61.zip |
Update for LLVM global variable debug info API change.
This reapplies r289921.
llvm-svn: 290155
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-template-member.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-info-template-member.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-template-member.cpp b/clang/test/CodeGenCXX/debug-info-template-member.cpp index 749b92e93ba..2b840745ffe 100644 --- a/clang/test/CodeGenCXX/debug-info-template-member.cpp +++ b/clang/test/CodeGenCXX/debug-info-template-member.cpp @@ -19,8 +19,9 @@ inline int add3(int x) { } // The compile unit pulls in the global variables first. -// CHECK: [[X]] = distinct !DIGlobalVariable(name: "x", -// CHECK-SAME: type: ![[OUTER_FOO_INNER_ID:[0-9]+]] +// CHECK: [[X]] = !DIGlobalVariableExpression(var: [[XV:.*]]) +// CHECK: [[XV]] = distinct !DIGlobalVariable(name: "x", +// CHECK-SAME: type: ![[OUTER_FOO_INNER_ID:[0-9]+]] // CHECK: ![[OUTER_FOO_INNER_ID:[0-9]*]] = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "inner"{{.*}}, identifier: // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "foo" |