From 7fac68aac1489266397e23926733991cf9a15539 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 10 Aug 2010 01:36:24 +0000 Subject: [PATCH] There is no need to pubish file static variable's name. Do not rely on this code gen bug to check whether debug info is generated for such variables or not. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110640 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/2009-10-20-GlobalDebug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CodeGen/2009-10-20-GlobalDebug.c b/test/CodeGen/2009-10-20-GlobalDebug.c index 1db37de4bb..3c46bea379 100644 --- a/test/CodeGen/2009-10-20-GlobalDebug.c +++ b/test/CodeGen/2009-10-20-GlobalDebug.c @@ -1,7 +1,7 @@ // RUN: %clang -ccc-host-triple i386-apple-darwin10 -S -g -dA %s -o - | FileCheck %s int global; +// CHECK: ascii "localstatic" ## DW_AT_name // CHECK: asciz "global" ## External Name -// CHECK: asciz "localstatic" ## External Name int main() { static int localstatic; return 0; -- 2.40.0