search for: themytargettarget

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

2012 Jul 25
1
[LLVMdev] LLVMInitializeMyTargetAsmPrinter is not called
...nctions 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<MyTargetAsmPrinter> X(TheMyTargetTarget); } I'm afraid I did a very subtle (or maybe stupid) change after copying, because I can't find it. Is there a switch in the build system for LLVMInitializeMyTargetAsmPrinter functions? Anything else in the backend code that triggers the call of these functions (especially LLVMInitializeM...