Sign in
cobalt
/
cobalt
/
63c7ad499be49ef959b3b1c5ea3f48491aa033d3
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGen
/
builtin-stackaddress.c
blob: f13b90eb9ed3f7856e1dc4ae3527147d0c8ec19c [
file
] [
log
] [
blame
]
// 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
);
}