mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-15 19:24:33 +00:00
Add more documentation about the TargetStreamer interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192796 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
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
|
||||
-----------------------
|
||||
|
||||
|
Reference in New Issue
Block a user