llvm.org GIT mirror llvm / e1433f2 test / CodeGen / Generic / GC / lower_gcroot.ll
e1433f2

Tree @e1433f2 (Download .tar.gz)

lower_gcroot.ll @e1433f2raw · history · blame

; RUN: llvm-as < %s | llc

	%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)