summaryrefslogtreecommitdiff
path: root/test/CodeGen/debug-info-global-constant.c
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-12-16 00:35:42 +0000
committerAdrian Prantl <aprantl@apple.com>2016-12-16 00:35:42 +0000
commite3521eb182b2a93328cf6bbb96120af6bc6ca104 (patch)
tree7b9409c06ee62c36d842c0da47f6f054ffd82390 /test/CodeGen/debug-info-global-constant.c
parent54ef662fef67c57a7428e4e915488d170226b7ef (diff)
downloadclang-e3521eb182b2a93328cf6bbb96120af6bc6ca104.tar.gz
Update for LLVM global variable debug info API change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/debug-info-global-constant.c')
-rw-r--r--test/CodeGen/debug-info-global-constant.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/debug-info-global-constant.c b/test/CodeGen/debug-info-global-constant.c
index f214fdcd11..4175f24675 100644
--- a/test/CodeGen/debug-info-global-constant.c
+++ b/test/CodeGen/debug-info-global-constant.c
@@ -5,8 +5,8 @@
// exactly once.
// CHECK: @i = internal constant i32 1, align 4, !dbg ![[I:[0-9]+]]
-// CHECK: ![[I]] = distinct !DIGlobalVariable(name: "i",
-// CHECK-SAME: expr: ![[EXPR:[0-9]+]]
+// CHECK: ![[I]] = !DIGlobalVariableExpression(var: ![[VAR:.*]], expr: ![[EXPR:[0-9]+]])
+// CHECK: ![[VAR]] = distinct !DIGlobalVariable(name: "i",
// CHECK: !DICompileUnit({{.*}}globals: ![[GLOBALS:[0-9]+]])
// CHECK: ![[GLOBALS]] = !{![[I]]}
// CHECK: ![[EXPR]] = !DIExpression(DW_OP_constu, 1, DW_OP_stack_value)