[LLVMdev] 2.6/trunk Execution Engine question
Reid Kleckner
rnk at mit.edu
Mon Oct 5 19:00:49 PDT 2009
On Mon, Oct 5, 2009 at 9:52 PM, Kenneth Uildriks <kennethuil at gmail.com> wrote:
> On Mon, Oct 5, 2009 at 8:27 PM, Axel Naumann <Axel.Naumann at cern.ch> wrote:
>> Hi,
>>
>> #include "JIT.h" will do.
>
> Thanks. That was exactly what I needed to progress to the next error
> ("Unable to find target for this triple (no targets are registered)")
You probably need to call InitializeNativeTarget() or something. IMO,
LLVM should probably do this by default as part of constructing a JIT.
Reid
> As soon as I get this front-end working with the trunk, I'll start
> submitting patches that add calls to the C-API; my front-end generates
> code-generation-code that relies on it rather heavily, and there are
> gaps I'd like to fill in.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
More information about the llvm-dev
mailing list