]> granicus.if.org Git - clang/commitdiff
There is no need to pubish file static variable's name. Do not rely on this code...
authorDevang Patel <dpatel@apple.com>
Tue, 10 Aug 2010 01:36:24 +0000 (01:36 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 10 Aug 2010 01:36:24 +0000 (01:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110640 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/2009-10-20-GlobalDebug.c

index 1db37de4bb27a3c5cc62df36a6122f86db24584e..3c46bea37986f0a1a3a04efdf2e76ab4c3444837 100644 (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;