You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
365 B
20 lines
365 B
4 months ago
|
// RUN: %clang_cc1 -debug-info-kind=limited -emit-llvm -o - %s | FileCheck %s
|
||
|
// Radar 8801045
|
||
|
// Do not emit AT_MIPS_linkage_name for static variable i
|
||
|
|
||
|
// CHECK: !DIGlobalVariable(name: "i"
|
||
|
// CHECK-NOT: linkageName:
|
||
|
// CHECK-SAME: ){{$}}
|
||
|
|
||
|
@interface A {
|
||
|
}
|
||
|
-(void) foo;
|
||
|
@end
|
||
|
|
||
|
@implementation A
|
||
|
-(void)foo {
|
||
|
static int i = 1;
|
||
|
}
|
||
|
@end
|
||
|
|