[LLVMdev] Assembling the output of llc

John Criswell criswell at uiuc.edu
Mon May 19 18:45:40 PDT 2008


Talin wrote:
> Here's a more specific question about compiling native code: When I use
> llc to generate a .s file, and then I try to assemble it using 'as', I
> get tons of errors - it appears to be choking on lines like the following:
>   
Have you tried assembling the .s file with gcc?  That's what I've done 
as gcc automatically passes the proper options to as and ld (if such 
options are needed).  I'm not positive that it'll solve your problem, 
but it's probably worth a try.

-- John T.
>         movl
> L"_tart.core.Iterable<tart.core.String>:type"$non_lazy_ptr, %eax
>
> The error I get is:
>
>         out/Debug/test/tart/FileStreamTest.out.s:95:junk
> `"_tart.core.Iterable<tart.core.String>:type"$non_lazy_ptr' after expression
>
> (plus a few hundred more like it.)
>
> -- Talin
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>   




More information about the llvm-dev mailing list