search for: hcs12asmprinter

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

2011 Oct 14
0
[LLVMdev] Native MCAsmStreamer?
...icrocontroller, in the process of learning the LLVM backend things. It's going well so far, but I have a question: I'd like to use a pure MCAsmStreamer and not have another layer of glue. Right now, I have the following to make it compile: --- using namespace llvm; namespace { class HCS12AsmPrinter : public AsmPrinter { public: HCS12AsmPrinter(TargetMachine &TM, MCStreamer &Streamer) : AsmPrinter(TM, Streamer) {} virtual const char *getPassName() const { return "HCS12 Assembly Printer"; } }; } // end of anonymous namespace // Force static...