Sign in
llvm
/
clang
/
337cba4b3e17b98cfa512dfd12e57f4ccb0859be
/
.
/
test
/
CodeGen
/
builtin-stackaddress.c
blob: d8e58c4f6be702fea03e9152a1abcd78ceb2557b [
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
);
}