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.

llvm-svn: 110640
This commit is contained in:
Devang Patel 2010-08-10 01:36:24 +00:00
parent ac6a3c4c66
commit 2210aa2eca
1 changed files with 1 additions and 1 deletions

View File

@ -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;