[LLVMdev] JIT on armhf, again

Tim Northover t.p.northover at gmail.com
Wed Jul 23 07:30:06 PDT 2014


>> You should probably be specifying a triple directly, and making it an
>> AAPCS-VFP one for good measure: "armv7-linux-gnueabihf" for example,
>> or "thumbv7-none-eabihf". You shouldn't even need to set FloatABI for
>> those two.
>
> How do I do this? (I can't find any examples, and the API is decidedly
> unclear...)

It looks like it's a case of calling Module::setTargetTriple. As with
most JIT setup questions, though, often the best way to find out is to
get something working in lli and then look at what it does
(tools/lli/lli.cpp).

Cheers.

Tim.



More information about the llvm-dev mailing list