Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
6855492ab6d55a6dd70691efa166aa0b2ee0f56e
/
.
/
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
);
}