[PATCH] D20818: [Docs][CodeGenerator] AsmStreamer doesn't need to be registered anymore

Visoiu Mistrih Francis via llvm-commits llvm-commits at lists.llvm.org
Tue May 31 08:18:50 PDT 2016


thegameg created this revision.
thegameg added a reviewer: rafael.
thegameg added a subscriber: llvm-commits.

* docs/CodeGenerator.rst: From r232423:
   "There is only one Asm streamer, there is no need for targets to register
   it.
   
   Instead, have the targets register a TargetStreamer to be use with the
   asm streamer (if any)."

http://reviews.llvm.org/D20818

Files:
  docs/CodeGenerator.rst

Index: docs/CodeGenerator.rst
===================================================================
--- docs/CodeGenerator.rst
+++ docs/CodeGenerator.rst
@@ -644,9 +644,10 @@
 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.
+TargetRegistry::RegisterAsmTargetStreamer and
+TargetRegistry::RegisterObjectTargetStreamer passing callbacks that allocate
+the corresponding target streamer and pass it to createAsmStreamer or to the
+appropriate object streamer constructor.
 
 The ``MCContext`` class
 -----------------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20818.59073.patch
Type: text/x-patch
Size: 823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160531/3bf5b1e6/attachment.bin>


More information about the llvm-commits mailing list