[LLVMdev] JIT on armhf

David Tweed david.tweed at arm.com
Fri Feb 8 07:42:25 PST 2013


| For ARM, you will need to use the MCJIT ExecutionEngine as the legacy
| one is broken for ARM. (call EngineBuilder::setUseMCJIT()).

Also remember to include the correct MCJIT headers not the JIT one's:
calling setUseMCJIT() with the old JIT headers are the only ones being
included just constructs an old JIT, it doesn't spit out a helpful warning
like "I can't build an MCJIT JIT for you". (This bit me until Amara pointed
it out.)

Cheers,
Dave







More information about the llvm-dev mailing list