[LLVMdev] Adding register allocator to LLVM

Chris Lattner sabre at nondot.org
Sat Sep 2 11:32:27 PDT 2006

On Sat, 2 Sep 2006, Anton Vayvod wrote:
> I didn't manage to link my regalloc to lli (I added USEDLIBS to its
> makefile). Without it I can't run tests cause they need lli to be built. So
> how can I link createMyRegisterAllocator function to lli?

Make sure to add it to Codegen/LinkAllCodegenComponents.h.


> On 8/22/06, Anton Vayvod <avayvod at gmail.com> wrote:
>>  I managed to link my RegAlloc.a library to llc tool but can;t make the
>>  same with lli tool.
>>  Should I use USEDLIBS variable in lli makefile (like llc) or there is
>>  another way?



More information about the llvm-dev mailing list