Displaying 1 result from an estimated 1 matches for "llvminitializemytargetsometh".
2012 Jul 25
1
[LLVMdev] LLVMInitializeMyTargetAsmPrinter is not called
...d 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 register something are called, but not the one to register the AsmPrinter.
The function is in the MyTargetAsmPrinter.cpp in the main directory of my target. It is just plain:
extern "C" void LLVMInitializeMyTargetAsmPrinter() {
RegisterAsmPrinter<MyTargetAsmPr...