mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-13 08:00:22 -04:00
10 lines
245 B
C
10 lines
245 B
C
// 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);
|
|
}
|