mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Add a paragraph about MCTargetStreamer.
llvm-svn: 192265
This commit is contained in:
parent
942a2fc0cb
commit
a6f424f877
@ -636,6 +636,13 @@ file (MCObjectStreamer). MCAsmStreamer is a straight-forward implementation
|
||||
that prints out a directive for each method (e.g. ``EmitValue -> .byte``), but
|
||||
MCObjectStreamer implements a full assembler.
|
||||
|
||||
For target specific directives, the MCStreamer has a MCTargetStreamer instance.
|
||||
Each target that needs it defines a class that inherits from it and is a lot
|
||||
like MCStreamer itself: It has one method per directive and two classes that
|
||||
inherit from it, a target object streamer and a target asm streamer. The target
|
||||
asm streamer just prints it (``emitFnStart -> .fnstrart``), and the object
|
||||
streamer implement the assembler logic for it.
|
||||
|
||||
The ``MCContext`` class
|
||||
-----------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user