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 | ce25d00e2e923bc08d758f8fecd526d5877407ab (patch) | |
tree | 0f058db03e7f849a3ddfcec8b5fd6ceb11c22dd2 /test/CodeGenCXX/debug-info-template-member.cpp | |
parent | 598b67703801390463844547138d8fdee0061477 (diff) |
Update for LLVM global variable debug info API change.
This reapplies r289921.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/debug-info-template-member.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info-template-member.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGenCXX/debug-info-template-member.cpp b/test/CodeGenCXX/debug-info-template-member.cpp index 749b92e93b..2b840745ff 100644 --- a/test/CodeGenCXX/debug-info-template-member.cpp +++ b/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" |