Displaying 2 results from an estimated 2 matches for "tyht2tsjecavdueweux5p".
2009 Nov 20
3
[LLVMdev] llvm code working on linux but not mac, 64 bit problem?
...ing the ropes of LLVM. I have this simple LLVM assembly snippet
which compiles/runs fine in Ubuntu but won't work on snow leopard.
Somehow related to 64-bit? Anyone else experience this?
llvm-as if.ll
llc -f if.bc
gcc -o if if.s
ld: 32-bit pointer out of range in _main from
/var/folders/TY/TYHT2tSJEcaVdUEWeuX5P++++TI/-Tmp-//cck44HlB.o
collect2: ld returned 1 exit status
--------
@s = internal constant [4 x i8] c"%d\0A\00"
declare i32 @printf(i8 *, ...)
define i32 @main() nounwind {
entry:
%x = alloca i32
%x.0 = add i32 0, 5
%t1 = icmp sgt i32 %x.0, 0
br i1 %t1, label %thenLabel1, label %else...
2009 Nov 20
0
[LLVMdev] llvm code working on linux but not mac, 64 bit problem?
...e LLVM assembly snippet
> which compiles/runs fine in Ubuntu but won't work on snow leopard.
> Somehow related to 64-bit? Anyone else experience this?
>
> llvm-as if.ll
> llc -f if.bc
> gcc -o if if.s
> ld: 32-bit pointer out of range in _main from
> /var/folders/TY/TYHT2tSJEcaVdUEWeuX5P++++TI/-Tmp-//cck44HlB.o
> collect2: ld returned 1 exit status
>
> --------
>
> @s = internal constant [4 x i8] c"%d\0A\00"
> declare i32 @printf(i8 *, ...)
>
> define i32 @main() nounwind {
>
> entry:
> %x = alloca i32
> %x.0 = add i32 0, 5
> %t1...