Debian Codegraph @

clang/test/DebugInfo/ObjC/static-var.m

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