[cfe-commits] r110640 - /cfe/trunk/test/CodeGen/2009-10-20-GlobalDebug.c
Devang Patel
dpatel at apple.com
Mon Aug 9 18:36:24 PDT 2010
Author: dpatel
Date: Mon Aug 9 20:36:24 2010
New Revision: 110640
URL: http://llvm.org/viewvc/llvm-project?rev=110640&view=rev
Log:
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.
Modified:
cfe/trunk/test/CodeGen/2009-10-20-GlobalDebug.c
Modified: cfe/trunk/test/CodeGen/2009-10-20-GlobalDebug.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2009-10-20-GlobalDebug.c?rev=110640&r1=110639&r2=110640&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/2009-10-20-GlobalDebug.c (original)
+++ cfe/trunk/test/CodeGen/2009-10-20-GlobalDebug.c Mon Aug 9 20:36:24 2010
@@ -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;
More information about the cfe-commits
mailing list