Displaying 5 results from an estimated 5 matches for "gbso6cun2anfzk".
2011 Apr 10
2
[LLVMdev] gcroot + `section not found for addresss ...' ???
...a i8*
%1 = call i8* @malloc(i64 1)
store i8* %1, i8** %0
call void @llvm.gcroot(i8** %0, i8* null)
ret i32 0
}
declare i8* @malloc(i64)
declare void @llvm.gcroot(i8**, i8*) nounwind
in test.ll
and then do
> llc test.ll
> gcc test.s
I get the error
ld: in /var/folders/Ea/EakEx6b+GBSo6cUn2AnFZk+++TI/-Tmp-//cc5d3RCx.o, section not found for address 0x64200E00000004CD
If I remove line containing malloc and the line after that, no such error happens. If I remove
the gcroot line then no such error happens.
Any hints as to what this error means would be great!
Cheers,
N
2011 Apr 11
0
[LLVMdev] gcroot + `section not found for addresss ...' ???
...oot(i8** %0, i8* null)
> ret i32 0
> }
>
> declare i8* @malloc(i64)
>
> declare void @llvm.gcroot(i8**, i8*) nounwind
>
> in test.ll
>
> and then do
>
>> llc test.ll
>> gcc test.s
>
> I get the error
>
> ld: in /var/folders/Ea/EakEx6b+GBSo6cUn2AnFZk+++TI/-Tmp-//cc5d3RCx.o, section not found for address 0x64200E00000004CD
>
> If I remove line containing malloc and the line after that, no such error happens. If I remove
> the gcroot line then no such error happens.
>
> Any hints as to what this error means would be great!
>...
2011 Apr 12
2
[LLVMdev] gcroot + `section not found for addresss ...' ???
...> declare i8* @malloc(i64)
>>
>> declare void @llvm.gcroot(i8**, i8*) nounwind
>>
>> in test.ll
>>
>> and then do
>>
>>> llc test.ll
>>> gcc test.s
>>
>> I get the error
>>
>> ld: in /var/folders/Ea/EakEx6b+GBSo6cUn2AnFZk+++TI/-Tmp-//cc5d3RCx.o, section not found for address 0x64200E00000004CD
>>
>> If I remove line containing malloc and the line after that, no such error happens. If I remove
>> the gcroot line then no such error happens.
>>
>> Any hints as to what this error means wo...
2011 Apr 05
0
[LLVMdev] how to use the shadow-stack?
...e <stdio.h>
void __printi (long x)
{
printf ("%ld\n", x);
}
extern int mymain (void);
int main (void)
{
return mymain ();
}
Now I'm trying to compile everything with
> llc my.ll
> g++ my.s mylib.c gc.cpp
But get the following error
ld: in /var/folders/Ea/EakEx6b+GBSo6cUn2AnFZk+++TI/-Tmp-//ccTjTjtW.o, section not found for address 0x6D200E00000004DD
collect2: ld returned 1 exit status
How do I have to do to compile?
Thanks!
N
2011 Apr 12
0
[LLVMdev] gcroot + `section not found for addresss ...' ???
...;>> declare void @llvm.gcroot(i8**, i8*) nounwind
>>>
>>> in test.ll
>>>
>>> and then do
>>>
>>>> llc test.ll
>>>> gcc test.s
>>>
>>> I get the error
>>>
>>> ld: in /var/folders/Ea/EakEx6b+GBSo6cUn2AnFZk+++TI/-Tmp-//cc5d3RCx.o, section not found for address 0x64200E00000004CD
>>>
>>> If I remove line containing malloc and the line after that, no such error happens. If I remove
>>> the gcroot line then no such error happens.
>>>
>>> Any hints as to what t...