Displaying 4 results from an estimated 4 matches for "x86targetmachinemodule".
Did you mean:
_x86targetmachinemodule
2008 May 26
3
[LLVMdev] X86TargetMachineModule not helping
...After creating a new LLVM-based project, I faced an odd problem.
ExecutionEngine::create always retuned null. After some investigation I
found out that it was due to the target architecture not getting registered.
I'm using Visual C++ 2005 and in the X86TargetMachine.cpp file an extern
variable X86TargetMachineModule is created to 'ensure' that the module is
linked in. It works for the example projects, but not for the one I created.
When I write a value to X86TargetMachineModule in another module, all is
fine and dandy.
Although it's a viable workaround for now I was wondering if anyone knew a...
2008 May 28
0
[LLVMdev] X86TargetMachineModule not helping
Nicolas,
In Visual Studio 2005, you can force the linker to include specific symbols.
In your project, under "Configuration Properties/Linker/Input/Force Symbol
References", try adding _X86TargetMachineModule.
Hope that helps!
Stein Pedersen
_____
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of Nicolas Capens
Sent: 27. mai 2008 00:11
To: 'LLVM Developers Mailing List'
Subject: [LLVMdev] X86TargetMachineModule not helping
Hi all,
After c...
2008 Feb 21
0
[LLVMdev] LLVM Win32 Issue
Hola Aaron,
Just having that code didn't work since the linker still stripped it
out, so I have that function called from the code in the system that
actually is being used by our app.
Kinda grubby, but I include:
#include "llvm/lib/Target/X86/X86TargetMachine.h"
Which is in the LLVM lib, not the LLVM inc directory. This little
maneuver made our Mac builds really unhappy, so
2008 Feb 21
3
[LLVMdev] LLVM Win32 Issue
Thanks for your response Chuck.
>From this and the other responses to my question, it looks like I'm
including all the right object files, so it must be something with
Visual Studio stripping "dead" code.
So, given your response Chuck, I have a few questions.
First, what exactly is the code that VStudio seems to be stripping? I
might be able to figure out how to prevent it