Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
f94e215e4a67e5439d56a67bbe470c7860d4b9a6
/
.
/
test
/
CodeGen
/
builtin-stackaddress.c
blob: ddfb9dc790aafb41a8c16b0a9e38b22bab980dc9 [
file
] [
log
] [
blame
]
// RUN: clang -emit-llvm < %s | grep "llvm.returnaddress" &&
// RUN: clang -emit-llvm < %s | grep "llvm.frameaddress"
void
*
a
(
unsigned
x
)
{
return
__builtin_return_address
(
0
);
}
void
*
c
(
unsigned
x
)
{
return
__builtin_frame_address
(
0
);
}