Displaying 3 results from an estimated 3 matches for "has_asmprinter".
2012 Jul 25
1
[LLVMdev] LLVMInitializeMyTargetAsmPrinter is not called
Hi,
I'm trying to implement a LLVM backend but have actually a problem and don't know how to handle. Actually I'm at the very beginning.
I tried to (carefully) copy from existing backends (Sparc and Hexogon), but I messed up with something. My "LLVMInitializeMyTargetAsmPrinter" function is not called. All the other "LLVMInitializeMyTargetSomeThing" functions to
2013 Mar 03
2
[LLVMdev] trouble with AsmPrinter registration
Hello everyone!
Could somebody, advice me what's wrong with my AsmPrinter? I've created
ColdFireAsmPrinter.cpp file, and added initialization:
extern "C" void LLVMInitializeColdFireAsmPrinter() {
RegisterAsmPrinter<ColdFireAsmPrinter> X(TheColdFireTarget);
}
But, unfortunately, after build AsmPrinters.def doesn't contain
LLVM_ASM_PRINTER(ColdFire). Maybe I've
2013 Mar 03
0
[LLVMdev] trouble with AsmPrinter registration
> 1. I've configured llvm with my target. And after, I added AsmPrinter. Do I
> need re-configure LLVM, or only re-make?
re-configure, as I mentioned
> 2. required_libraries list contains AsmPrinter or you mean something else?
has_asmprinter = 1 in TargetGroup
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University