Added llvm-mc support for parsing the .dump and .load directives.
[oota-llvm.git] / include / llvm / MC / MCStreamer.h
index a418a0f0b0ea5da5837813f50ca02f44ac818e1e..8daa2464821a0600271ee2a361e5c404a9178f59 100644 (file)
@@ -126,6 +126,12 @@ namespace llvm {
     /// @param DescValue - The value to set into the n_desc field.
     virtual void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) = 0;
 
+    /// EmitLocalSymbol - Emit a local symbol of @param Value to @param Symbol.
+    ///
+    /// @param Symbol - The local symbol being created.
+    /// @param Value - The value for the symbol.
+    virtual void EmitLocalSymbol(MCSymbol *Symbol, const MCValue &Value) = 0;
+
     /// EmitCommonSymbol - Emit a common or local common symbol of @param Size
     /// with the @param Pow2Alignment if non-zero.
     ///
@@ -154,6 +160,24 @@ namespace llvm {
     /// @param AbortReason - The reason assembly is terminated, if non-NULL.
     virtual void AbortAssembly(const char *AbortReason) = 0;
 
+    /// SwitchInputAssemblyFile - Assemble the contents of the specified file in
+    /// @param FileName at this point in the assembly.
+    ///
+    /// @param FileName - The file to assemble at this point
+    virtual void SwitchInputAssemblyFile(const char *FileName) = 0;
+
+    /// DumpSymbolsandMacros - Dump to the specified file in @param FileName all
+    /// symbols and macros at this point in the assembly.
+    ///
+    /// @param FileName - The file to dump the symbols and macros into.
+    virtual void DumpSymbolsandMacros(const char *FileName) = 0;
+
+    /// LoadSymbolsandMacros - Load from the specified file in @param FileName
+    /// symbols and macros into the assembler at this point in the assembly.
+    ///
+    /// @param FileName - The file to load the symbols and macros from.
+    virtual void LoadSymbolsandMacros(const char *FileName) = 0;
+
     /// @}
     /// @name Generating Data
     /// @{