Displaying 1 result from an estimated 1 matches for "llvminitializehcs12asmprint".
Did you mean:
llvminitializehcs12asmprinter
2011 Oct 14
0
[LLVMdev] Native MCAsmStreamer?
...2AsmPrinter(TargetMachine &TM, MCStreamer &Streamer)
: AsmPrinter(TM, Streamer) {}
virtual const char *getPassName() const {
return "HCS12 Assembly Printer";
}
};
} // end of anonymous namespace
// Force static initialization.
extern "C" void LLVMInitializeHCS12AsmPrinter() {
RegisterAsmPrinter<HCS12AsmPrinter> X(TheHCS12Target);
}
---
Most targets seem to go through this, but is there a way to register an
MCAsmStreamer directly?
I may have missed something; some help is appriciated.
Thanks in advance,
Ed.