[LLVMdev] LLVM JIT machine detection
Manny Ko
Manny.Ko at imgtec.com
Fri Jan 25 11:43:48 PST 2013
It is controlled by the TargetTriple which tries to have a good default. You can explicitly sets it by using EngineBuilder::setEnvironment().
Cheers.
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of David Given
Sent: Friday, January 25, 2013 10:31 AM
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] LLVM JIT machine detection
How does the LLVM JIT determine the ABI and architecture to generate code for?
I ask because I have an armhf device (running Debian, sort of), except the JIT is generating soft-float code. This isn't ABI compatible as parameters are passed in the wrong registers, and so simply doesn't work.
Is this something that I, as an LLVM library user, should not need to worry about (and therefore the fact that it doesn't work is a misconfiguration of the LLVM Debian package), or should I be setting up the JIT somehow?
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ │ 𝕻𝖍'𝖓𝖌𝖑𝖚𝖎 𝖒𝖌𝖑𝖜'𝖓𝖆𝖋𝖍 𝕮𝖙𝖍𝖚𝖑𝖍𝖚 𝕽'𝖑𝖞𝖊𝖍
𝖜𝖌𝖆𝖍'𝖓𝖆𝖌𝖑 𝖋𝖍𝖙𝖆𝖌𝖓.
│
More information about the llvm-dev
mailing list