I have a program that is pretty much a duplicate of the HowToUseJIT project, same code compiling type, some libs linked (same order even), etc... and so forth. However the JIT never runs, always the interpreter, the machine target list in the JIT Create function is always empty in my project, yet it is nicely populated and creates a JIT and all in the HowToUseJIT project. I am curious as to what I could be doing wrong? How does a target register itself into that list, I know it is a static constructor somewhere, but I am not sure where...
OvermindDL1 <overminddl1 at gmail.com> writes: [snip]> How does a target register itself into that > list, I know it is a static constructor somewhere, but I am not sure > where...http://www.llvm.org/docs/CMake.html#msvc ? -- Oscar
On Fri, Apr 10, 2009 at 10:07 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:> OvermindDL1 <overminddl1 at gmail.com> writes: > > [snip] >> How does a target register itself into that >> list, I know it is a static constructor somewhere, but I am not sure >> where... > > http://www.llvm.org/docs/CMake.html#msvc > > ?Oh thank you so much, that was it, three days of being irritated all released at once. Cannot believe I have not seen that before, I wrote parts of those MSVC documents even... I now see how it registers them now that I knew what to look for, bit different then how I would have done it, but it works well enough. :)
Reasonably Related Threads
- [LLVMdev] JIT target list empty
- [LLVMdev] Removal of Visual Studio project files.
- [LLVMdev] Removal of Visual Studio project files.
- [LLVMdev] Handling SRet on Windows x86
- [LLVMdev] modify cmakefiles to set the default triple of msvc and mingw to i686-pc-mingw