projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add support for frame pointers, and large offsets from stack and frame pointers....
[oota-llvm.git]
/
test
/
CFrontend
/
2004-02-13-BuiltinFrameReturnAddress.c.tr
1
// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep 'llvm.*address' | wc -l | grep 4
2
3
void *test1() {
4
return __builtin_return_address(1);
5
}
6
void *test2() {
7
return __builtin_frame_address(0);
8
}