1 | // RUN: %clang_cc1 -debug-info-kind=limited -emit-llvm -o - %s | FileCheck %s |
---|---|
2 | // Radar 8801045 |
3 | // Do not emit AT_MIPS_linkage_name for static variable i |
4 | |
5 | // CHECK: !DIGlobalVariable(name: "i" |
6 | // CHECK-NOT: linkageName: |
7 | // CHECK-SAME: ){{$}} |
8 | |
9 | @interface A { |
10 | } |
11 | -(void) foo; |
12 | @end |
13 | |
14 | @implementation A |
15 | -(void)foo { |
16 | static int i = 1; |
17 | } |
18 | @end |
19 | |
20 |