2012-12-28 09:16:31 +08:00
|
|
|
// RUN: %clang_cc1 -g -emit-llvm -o - %s | FileCheck %s
|
2011-02-10 03:16:38 +08:00
|
|
|
// Radar 8801045
|
|
|
|
// Do not emit AT_MIPS_linkage_name for static variable i
|
|
|
|
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: !DIGlobalVariable(name: "i"
|
2015-03-04 01:25:55 +08:00
|
|
|
// CHECK-NOT: linkageName:
|
|
|
|
// CHECK-SAME: ){{$}}
|
2011-02-10 03:16:38 +08:00
|
|
|
|
|
|
|
@interface A {
|
|
|
|
}
|
|
|
|
-(void) foo;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation A
|
|
|
|
-(void)foo {
|
|
|
|
static int i = 1;
|
|
|
|
}
|
|
|
|
@end
|
|
|
|
|