search for: llvminitializemytargetasmprint

Displaying 1 result from an estimated 1 matches for "llvminitializemytargetasmprint".

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 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&quot...