From db4c86f953f139eaa75acdd58d5213be2f6fe65b Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Fri, 16 Dec 2016 04:26:15 +0000 Subject: Update for LLVM global variable debug info API change. llvm-svn: 289921 --- clang/test/CodeGen/debug-info-static.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'clang/test/CodeGen/debug-info-static.c') 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; -- cgit v1.2.3