Initial modifications to MCAssembler and TargetMachine for the MCJIT.
[oota-llvm.git] / include / llvm / MC / MCAssembler.h
index 07ca070ab28844670e4069a1db918497012c31f7..97ab1a143390a60419fa8c6ab5f5dc7cdceaf6bf 100644 (file)
@@ -669,7 +669,9 @@ public:
   MCCodeEmitter &getEmitter() const { return Emitter; }
 
   /// Finish - Do final processing and write the object to the output stream.
-  void Finish();
+  /// \arg Writer is used for custom object writer (as the MCJIT does),
+  /// if not specified it is automatically created from backend.
+  void Finish(MCObjectWriter *Writer = 0);
 
   // FIXME: This does not belong here.
   bool getSubsectionsViaSymbols() const {