mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Add more documentation about the TargetStreamer interface.
llvm-svn: 192796
This commit is contained in:
parent
0d16abf302
commit
69e679267f
@ -643,6 +643,11 @@ inherit from it, a target object streamer and a target asm streamer. The target
|
|||||||
asm streamer just prints it (``emitFnStart -> .fnstrart``), and the object
|
asm streamer just prints it (``emitFnStart -> .fnstrart``), and the object
|
||||||
streamer implement the assembler logic for it.
|
streamer implement the assembler logic for it.
|
||||||
|
|
||||||
|
To make llvm use these classes, the target initialization must call
|
||||||
|
TargetRegistry::RegisterAsmStreamer and TargetRegistry::RegisterMCObjectStreamer
|
||||||
|
passing callbacks that allocate the corresponding target streamer and pass it
|
||||||
|
to createAsmStreamer or to the appropriate object streamer constructor.
|
||||||
|
|
||||||
The ``MCContext`` class
|
The ``MCContext`` class
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user