summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/2009-10-20-GlobalDebug.c
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-08-10 01:36:24 +0000
committerDevang Patel <dpatel@apple.com>2010-08-10 01:36:24 +0000
commit2210aa2eca031b5fa09d68ff1006df3c4adaa47b (patch)
tree59174a978e4167554e9965ccba07c16b568d0c24 /clang/test/CodeGen/2009-10-20-GlobalDebug.c
parentac6a3c4c66e5d4562ada6f78e7027639d3d16a7d (diff)
downloadbcm5719-llvm-2210aa2eca031b5fa09d68ff1006df3c4adaa47b.tar.gz
bcm5719-llvm-2210aa2eca031b5fa09d68ff1006df3c4adaa47b.zip
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
Diffstat (limited to 'clang/test/CodeGen/2009-10-20-GlobalDebug.c')
-rw-r--r--clang/test/CodeGen/2009-10-20-GlobalDebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/2009-10-20-GlobalDebug.c b/clang/test/CodeGen/2009-10-20-GlobalDebug.c
index 1db37de4bb2..3c46bea3798 100644
--- a/clang/test/CodeGen/2009-10-20-GlobalDebug.c
+++ b/clang/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;
OpenPOWER on IntegriCloud