You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
245 B
10 lines
245 B
4 months ago
|
// RUN: %clang_cc1 -emit-llvm < %s | grep "llvm.returnaddress"
|
||
|
// RUN: %clang_cc1 -emit-llvm < %s | grep "llvm.frameaddress"
|
||
|
void* a(unsigned x) {
|
||
|
return __builtin_return_address(0);
|
||
|
}
|
||
|
|
||
|
void* c(unsigned x) {
|
||
|
return __builtin_frame_address(0);
|
||
|
}
|