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