repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update analyzer build.
[clang.git]
/
test
/
CodeGen
/
debug-info-var-location.c
blob
12edb0898274ab2e312867a2ac91eaa39a6e1d30
1
// RUN: %clang -S -g -fverbose-asm %s -o - | FileCheck %s
2
// Radar 8461032
3
// CHECK: DW_AT_location
4
// CHECK-NEXT: byte 145
5
6
// 145 is DW_OP_fbreg
7
struct
s
{
8
int
a
;
9
struct
s
*
next
;
10
};
11
12
int
foo
(
struct
s
*
s
) {
13
switch
(
s
->
a
) {
14
case
1
:
15
case
2
: {
16
struct
s
*
sp
=
s
->
next
;
17
}
18
break
;
19
}
20
return
1
;
21
}