[LLVMdev] how to emit machine code to custom MCStreamer

Jochen Wilhelmy j.wilhelmy at arcor.de
Mon May 30 05:29:16 PDT 2011


Hi!

I'd like to emit code to a custom MCStreamer instead of e.g. MCELFStreamer.
Unfortunately LLVMTargetMachine::addCommonCodeGenPasses is private
but I would need it, or even better a method simular to addPassesToEmitFile
(e.g. addPassesToEmitCustomMC) taking an MCSreamer would be great.

What do you think?

-Jochen




More information about the llvm-dev mailing list