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 missed something important?
--
Regards,
Vadim.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20130303/2edae9c6/attachment.html>
Hello> But, unfortunately, after build AsmPrinters.def doesn't contain > LLVM_ASM_PRINTER(ColdFire). Maybe I've missed something important?Yes. How the .def would be generated from the source? :) Make sure: 0. Configure knows about your target 1. You re-configured LLVM (with removed cache) 2. You filled LLVMBuild.txt properly -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
> 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