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

Amara Emerson amara.emerson at arm.com
Mon Oct 8 08:32:50 PDT 2012


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lli-specify-floatabi-2.patch
Type: application/octet-stream
Size: 1586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121008/69bbb255/attachment.obj>

More information about the llvm-commits mailing list