Displaying 3 results from an estimated 3 matches for "libllvmriscocodegen".
2010 Oct 13
4
[LLVMdev] How to register a new LLVM backend
...C machine (named
Risco), based on the existing Sparc and Mips backends and the main tutorial
[1]. I'm having trouble registering the backend so the main tools can see
it.
My project code is outside the source tree, and I've altered the Makefile to
generate a shared library for the backend (libLLVMRiscoCodeGen.so). I've
tried running: llc -load ./libLLVMRiscoCodeGen.so -march=risco, but the
target isn't recognized (it doesn't even appear in the llc -version output).
The main steps I did for registering the backend were:
- At RiscoTargetMachine.cpp:
extern "C" void LLVMInitializeR...
2010 Oct 13
0
[LLVMdev] How to register a new LLVM backend
> My project code is outside the source tree, and I've altered the Makefile to
> generate a shared library for the backend (libLLVMRiscoCodeGen.so).
You cannot do this anymore. You need to alter the build system (add
stuff to configure, etc.)
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2010 Oct 14
3
[LLVMdev] How to register a new LLVM backend
Thanks for the info.
On Wed, Oct 13, 2010 at 5:27 PM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
>
> > My project code is outside the source tree, and I've altered the Makefile to
> > generate a shared library for the backend (libLLVMRiscoCodeGen.so).
> You cannot do this anymore. You need to alter the build system (add
> stuff to configure, etc.)
That's unfortunate. In order to test the backend, currently, I have to
build it and then link llc again: the linking process in freezing my
machine pretty bad for a while. Is there a ea...