[LLVMdev] Patch: Initialize target info for LLVM-C.

Daniel Dunbar daniel at zuster.org
Mon Aug 17 20:06:26 PDT 2009


Applied as r79307, thanks

On Sat, Aug 15, 2009 at 8:57 AM, José Fonseca<jose.r.fonseca at gmail.com> wrote:
> Hi,
>
> Using a JIT engine on LLVM-C currently fails on SVN because the
> LLVMInitialize???Info is never called.
>
> The attached patch fixes this.
>
> BTW, would it be possible to include a simple LLVM-C test case, like
> http://npcontemplation.blogspot.com/2008/06/secret-of-llvm-c-bindings.html,
> into the test suite, and build/test regularly to prevent regressions
> like this?

Yes. This should probably be done as a unit tests, for example we
already have some JIT unittests for the C++ API. Want to make a patch
for it?

 - Daniel

> Jose
>
> _______________________________________________
> 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