Sign in
fuchsia
/
third_party
/
github.com
/
llvm
/
llvm-project
/
refs/heads/users/avillega/main.gsymdwarf-include-end_sequence-debug_line-rows-when-looking-up-addr-ranges
/
.
/
clang
/
test
/
CodeGen
/
asm-call-func.c
blob: 18841c269632c666b79f73dfc0723d5d4fd7fb4b [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm %s -o - -triple x86_64-unknown-linux-gnu| FileCheck %s
void
callee
(
void
);
void
caller
(
void
)
{
//CHECK: call void asm sideeffect "rcall $0", "n,~{dirflag},~{fpsr},~{flags}"(ptr @callee)
asm
(
"rcall %0"
::
"n"
(
callee
));
}