summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/debug-info-static.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
commit35bbcefb4be62f6f5a9630d8f0664c97e52b2b20 (patch)
treedc770ddc62fb9e04ed99f4c539bc552ac393c0ee /clang/test/CodeGen/debug-info-static.c
parent741b387563c1d4d5be0ae272eed1721291bb4775 (diff)
downloadbcm5719-llvm-35bbcefb4be62f6f5a9630d8f0664c97e52b2b20.tar.gz
bcm5719-llvm-35bbcefb4be62f6f5a9630d8f0664c97e52b2b20.zip
Update for LLVM global variable debug info API change.
llvm-svn: 289901
Diffstat (limited to 'clang/test/CodeGen/debug-info-static.c')
-rw-r--r--clang/test/CodeGen/debug-info-static.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CodeGen/debug-info-static.c b/clang/test/CodeGen/debug-info-static.c
index 0ebd6a626d8..016f1e6e6cc 100644
--- a/clang/test/CodeGen/debug-info-static.c
+++ b/clang/test/CodeGen/debug-info-static.c
@@ -2,7 +2,8 @@
// CHECK: @f.xyzzy = internal global i32 0, align 4, !dbg [[XYZZY:![0-9]+]]
-// CHECK: [[XYZZY]] = distinct !DIGlobalVariable
+// CHECK: [[XYZZY]] = !DIGlobalVariableExpression(var: [[VAR:.*]])
+// CHECK: [[VAR]] = distinct !DIGlobalVariable
void f(void)
{
static int xyzzy;
OpenPOWER on IntegriCloud