search for: npcontemplation

Displaying 5 results from an estimated 5 matches for "npcontemplation".

2009 Aug 15
2
[LLVMdev] Patch: Initialize target info for LLVM-C.
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? Jose -------------- next part -------------- A non-text attachment was scrubbed... Name: llvm-c-initialize-target-info.patch Type: text/x-diff Size: 1480 bytes Desc:...
2009 Aug 18
0
[LLVMdev] Patch: Initialize target info for LLVM-C.
...t;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...
2009 Aug 21
1
[LLVMdev] Patch: Initialize target info for LLVM-C.
...ote: >> 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 pat...
2009 Dec 24
0
[LLVMdev] Running functions built with the LLVM C API
...LVMRunFunction, with requisite boxing of arguments and unboxing of return value. Is this the recommended route? Is the C API just lacking a getPointerToFunction equivalent? If so, I imagine it will be fairly straightforward to add one, which I’ll be happy to do. Thanks very much, Rob [1]: http://npcontemplation.blogspot.com/2008/06/secret-of-llvm-c-bindings.html -- Rob Rix, Unknown Quantity Monochrome Industries
2009 Nov 05
2
[LLVMdev] Strange error for libLLVMCore.a
mingw, llvm 2.6 (buid with llvm-gcc) Example source code: http://npcontemplation.blogspot.com/2008/06/secret-of-llvm-c-bindings.html I change LLVMCreateJITCompiler(&engine, provider, &error); to LLVMCreateJITCompiler(&engine, provider, 3, &error); $ llvm-gcc `llvm-config --cflags` -c fac.c $ g++ `llvm-config --libs --cflags --ldflags core analysis exec...