blob: 162d32a658c04eef81977cae43af563bbd24699d (
plain)
1
2
3
4
5
6
7
8
|
// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.*address | count 4
void *test1() {
return __builtin_return_address(1);
}
void *test2() {
return __builtin_frame_address(0);
}
|