Displaying 1 result from an estimated 1 matches for "uqdjgjsn".
2011 Jul 31
1
[LLVMdev] shadow-stack broken?
Hi,
I have been trying all day long to get the following
5 line file to compile:
test.ll:
declare void @llvm.gcroot (i8**, i8*)
define i32 @main() gc "shadow-stack" {
entry:
%0 = alloca i8*
%1 = call i8* @malloc(i64 10)
store i8* %1, i8** %0
call void @llvm.gcroot(i8** %0, i8* null)
ret i32 0
}
declare i8* @malloc (i64)
If I do
> llc test.ll
I get
ld: in