mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 00:12:50 +01:00
95e0a61b2d
llvm-svn: 98508
12 lines
206 B
LLVM
12 lines
206 B
LLVM
; RUN: llc < %s
|
|
|
|
%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)
|