Displaying 1 result from an estimated 1 matches for "sectionforaddress".
2011 Jul 31
1
[LLVMdev] shadow-stack broken?
...ot;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 /var/folders/89/p11x49r14dgd12j0sj1l6jkw0000gn/T//cc2yjCje.o,
sectionForAddress(0x5200E00000004CD) address not in any section for
architecture x86_64
If anyone knows how to get _any_ function that uses @gcroot and
shadow-stack to compile, that would be great...
Thanks,
N