[llvm-commits] [PATCH] Add float abi CL option for lli

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Oct 9 14:53:46 PDT 2012


Since lli produces native code, wouldn't it be possible to detect what
system it is running on at runtime or maybe configure/cmake time?

On 8 October 2012 11:32, Amara Emerson <amara.emerson at arm.com> wrote:
> Hi,
>
> lli currently uses the default target options for most things, including the
> float ABI which defaults to soft. On hard float systems, this can cause
> silent faults when the JITed code tries to call library functions built for
> hard float ABI.
>
> The attached patch allows specifying the float abi to lli in exactly the
> same way as llc does it, via a -float-abi=[hard|soft|default] option.
>
> Amara
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>



More information about the llvm-commits mailing list