repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
CodeGenObjC
/
debug-info-static-var.m
blob
f98f454fe7296be5c2a746fdcd188096dbe60c52
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