summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/debug-info.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-12-16 04:26:15 +0000
committerAdrian Prantl <aprantl@apple.com>2016-12-16 04:26:15 +0000
commitbb01ff0b77c73af1066c43b16d3a35adeb52ff8d (patch)
treea2c0ce36d8b2c32a1ffede1978d2207db4f98db1 /test/CodeGenCXX/debug-info.cpp
parent652c9fe88f966515fae0aaaa3d5bc91206c17d15 (diff)
Update for LLVM global variable debug info API change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/debug-info.cpp')
-rw-r--r--test/CodeGenCXX/debug-info.cpp5
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: