Displaying 7 results from an estimated 7 matches for "createjdkunkregisterallocator".
2010 Oct 15
2
[LLVMdev] [LLVMDev] Trouble Linking
I am writing my register allocator directly in the LLVM tree, and I am
having trouble linking my project on windows msvc 10.0 compiler. The
error are below, but let me say what I have changed.
1. I added "(void) llvm::createJDKunkRegisterAllocator();" to the
struct ForcePassLinking::ForcePassLinking() method in
"llvm\include\llvm\LinkAllPasses.h"
2. I added "FunctionPass* createJDKunkRegisterAllocator();" to header
"llvm\CodeGen\Passes.h."
3. I implemented "FunctionPass* createJDKunkRegisterAllocator()...
2010 Oct 15
2
[LLVMdev] [LLVMDev] Trouble Linking
...does not show my reg alloc pass anymore. It worked before
the API change e-mail was released.
1) I created my .cpp file RegAllocJDKunk.cpp in llvm/lib/CodeGen/ directory.
2) I updated the CMakeList.txt in the directory llvm/lib/CodeGen/ to
include RegAllocJDKunk.cpp.
3) I added "(void) llvm::createJDKunkRegisterAllocator();" to the
struct ForcePassLinking::ForcePassLinking() method in
"llvm\include\llvm\LinkAllPasses.h"
4) I added "FunctionPass* createJDKunkRegisterAllocator();" to header
"llvm\CodeGen\Passes.h."
5) I implemented "FunctionPass* createJDKunkRegisterAllocator()...
2010 Oct 15
0
[LLVMdev] [LLVMDev] Trouble Linking
...les, and I did not
> need to change the CMakeList.txt.
Next time you update your LLVM sources, that VS solution will be
overwritten.
> The offical name is LLVMCodeGen.
>
> However, the "opt.obj" and "bugpoint.obj" cannot find the reference
> function "llvm::createJDKunkRegisterAllocator." I added this file to
> the header described previously. I implemented it, in my
> RegAllocJDKunk.cpp file.
As you do not provide the information I asked for, I can't help you
anymore.
2010 Oct 15
3
[LLVMdev] [LLVMDev] Trouble Linking
...into the CodeGen library. Thus, I did not need to add
my code into the same directory as the CodeGen files, and I did not
need to change the CMakeList.txt.
The offical name is LLVMCodeGen.
However, the "opt.obj" and "bugpoint.obj" cannot find the reference
function "llvm::createJDKunkRegisterAllocator." I added this file to
the header described previously. I implemented it, in my
RegAllocJDKunk.cpp file.
Jeff Kunkel
On Fri, Oct 15, 2010 at 1:43 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> The following message is a courtesy copy of an article
> that has been posted to gmane...
2010 Oct 15
0
[LLVMdev] [LLVMDev] Trouble Linking
Jeff Kunkel <jdkunk3 at gmail.com> writes:
> I am writing my register allocator directly in the LLVM tree, and I am
> having trouble linking my project on windows msvc 10.0 compiler. The
> error are below, but let me say what I have changed.
> 1. I added "(void) llvm::createJDKunkRegisterAllocator();" to the
> struct ForcePassLinking::ForcePassLinking() method in
> "llvm\include\llvm\LinkAllPasses.h"
> 2. I added "FunctionPass* createJDKunkRegisterAllocator();" to header
> "llvm\CodeGen\Passes.h."
> 3. I implemented "FunctionPass* create...
2010 Oct 15
2
[LLVMdev] [LLVMDev] Trouble Linking
...lt;jdkunk3 at gmail.com> writes:
>
>> I am writing my register allocator directly in the LLVM tree, and I am
>> having trouble linking my project on windows msvc 10.0 compiler. The
>> error are below, but let me say what I have changed.
>> 1. I added "(void) llvm::createJDKunkRegisterAllocator();" to the
>> struct ForcePassLinking::ForcePassLinking() method in
>> "llvm\include\llvm\LinkAllPasses.h"
>> 2. I added "FunctionPass* createJDKunkRegisterAllocator();" to header
>> "llvm\CodeGen\Passes.h."
>> 3. I implemented "...
2010 Oct 15
0
[LLVMdev] [LLVMDev] Trouble Linking
Jeff Kunkel <jdkunk3 at gmail.com> writes:
> - I placed my code in the the existing CodeGen library.
Ok.
> - No, it is not in the CMakeLists.txt. The code is separate from the
> rest of the CodeGen code, but it is linked into the code gen library
> automatically through the visual studio linker.
If your source code is on a separate file, and that file is not listed
on the