llvm.org GIT mirror llvm / stable test / CodeGen / X86 / GC / lower_gcroot.ll
stable

Tree @stable (Download .tar.gz)

lower_gcroot.ll @stableraw · history · 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)