search for: emitbar

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

Did you mean: editbar
2013 Oct 08
0
[LLVMdev] The new MCTargetStreamer interface
...* FooTargetStreamer : public MCTargetStreamer * FooTargetAsmSreamer : public FooTargetStreamer * FooTargetELFStreamer : public FooTargetStreamer FooTargetStreamer should have a pure virtual method for each directive. For example, for a ".bar symbol_name" directive, it should have virtual emitBar(const MCSymbol &Symbol) = 0; The FooTargetAsmSreamer and FooTargetELFStreamer classes implement the method. The assembly streamer just prints ".bar symbol_name". The object streamer does whatever is needed to implement .bar in the object file. In the assembly printer and parser the...