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
/
builtin-stackaddress.c
blob
f13b90eb9ed3f7856e1dc4ae3527147d0c8ec19c
1
// RUN: %clang_cc1 -emit-llvm < %s | grep "llvm.returnaddress"
2
// RUN: %clang_cc1 -emit-llvm < %s | grep "llvm.frameaddress"
3
void
*
a
(
unsigned
x
) {
4
return
__builtin_return_address
(
0
);
5
}
6
7
void
*
c
(
unsigned
x
) {
8
return
__builtin_frame_address
(
0
);
9
}