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.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.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGenCXX/debug-info.cpp b/test/CodeGenCXX/debug-info.cpp index 722b9c08f8..9575a5129e 100644 --- a/test/CodeGenCXX/debug-info.cpp +++ b/test/CodeGenCXX/debug-info.cpp @@ -8,8 +8,9 @@ // !llvm.dbg.cu pulls in globals and their types first. // CHECK-NOT: !DIGlobalVariable(name: "c" -// CHECK: [[X]] = distinct !DIGlobalVariable(name: "x", linkageName: "_ZN6pr96081xE" -// CHECK-SAME: type: [[INCARRAYPTR:![0-9]*]] +// CHECK: [[X]] = !DIGlobalVariableExpression(var: [[XV:!.*]]) +// CHECK: [[XV]] = distinct !DIGlobalVariable(name: "x", linkageName: "_ZN6pr96081xE" +// CHECK-SAME: type: [[INCARRAYPTR:![0-9]*]] // CHECK: [[INCARRAYPTR]] = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: [[INCARRAY:![0-9]+]] // CHECK: [[INCARRAY]] = !DICompositeType(tag: DW_TAG_array_type // CHECK-NOT: line: |