Sign in
swiftshader
/
SwiftShader
/
08afdde7726c80522005f8e6ac79515b6f742cf9
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
CodeGen
/
X86
/
GC
/
lower_gcroot.ll
blob: 8cccd78100f5259f44c04a3aa9a6ba24fa4a8800 [
file
] [
log
] [
blame
]
; RUN: llc < %s
; REQUIRES: default_triple
%Env
=
type
i8
*
define
void
@.main
(
%Env
)
gc
"shadow-stack"
{
%Root
=
alloca
%Env
call
void
@llvm.gcroot
(
%Env
*
%Root
,
%Env
null
)
unreachable
}
declare
void
@llvm.gcroot
(
%Env
*,
%Env
)