Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
da93061f56d5820725b01a140879d047554e7d32
/
.
/
test
/
CodeGen
/
builtin-stackaddress.c
blob: 5c6d540172a0836b68c56f823d3603390ec81b72 [
file
] [
log
] [
blame
]
// 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
);
}