mirror of
https://github.com/opnsense/src.git
synced 2026-02-25 19:05:20 -05:00
9 lines
244 B
C
9 lines
244 B
C
// RUN: clang-cc -emit-llvm < %s | grep "llvm.returnaddress" &&
|
|
// RUN: clang-cc -emit-llvm < %s | grep "llvm.frameaddress"
|
|
void* a(unsigned x) {
|
|
return __builtin_return_address(0);
|
|
}
|
|
|
|
void* c(unsigned x) {
|
|
return __builtin_frame_address(0);
|
|
}
|