aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Bytecode
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Bytecode')
-rw-r--r--include/llvm/Bytecode/Writer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Bytecode/Writer.h b/include/llvm/Bytecode/Writer.h
index 4db6d13664..0517d8c84b 100644
--- a/include/llvm/Bytecode/Writer.h
+++ b/include/llvm/Bytecode/Writer.h
@@ -28,6 +28,10 @@
namespace llvm {
class Module;
+ /// WriteBytecodeToFile - Write the specified module to the specified output
+ /// stream. If compress is set to true, try to use compression when writing
+ /// out the file. This throws an std::string if there is an error writing
+ /// the file.
void WriteBytecodeToFile(const Module *M, std::ostream &Out,
bool compress = true);
} // End llvm namespace