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