Displaying 2 results from an estimated 2 matches for "__ot_runtime_print_int".
2011 Jul 31
4
[LLVMdev] high bit of function address set incorrectly?
Hi,
I recently updated to current llvm svn and fixed-up the minor compiler
errors I encountered.
However, at run-time even my Hello world programs crash with a
segmentation fault.
A concrete program that crashes on my Linux x86_64 Fedora box is:
declare void @__ot_runtime_print_int(i8*, i32)
define void @main() {
entry:
call void @__ot_runtime_print_int(i8* null, i32 12)
br label %return
return: ; preds = %entry
ret void
}
LLVM magic turns this into the assember shown in the attached image.
I am no expert but is seems to me...
2011 Jul 31
0
[LLVMdev] high bit of function address set incorrectly?
...gt;
> I recently updated to current llvm svn and fixed-up the minor compiler
> errors I encountered.
> However, at run-time even my Hello world programs crash with a
> segmentation fault.
>
> A concrete program that crashes on my Linux x86_64 Fedora box is:
>
> declare void @__ot_runtime_print_int(i8*, i32)
>
> define void @main() {
> entry:
> call void @__ot_runtime_print_int(i8* null, i32 12)
> br label %return
>
> return: ; preds = %entry
> ret void
> }
>
> LLVM magic turns this into the assember shown in the at...