aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Bytecode
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-14 19:10:22 +0000
committerChris Lattner <sabre@nondot.org>2006-05-14 19:10:22 +0000
commitc3bb700f36f32279f1cef2660a69eb6fa5d2a63e (patch)
tree653e2bbb0d6c2c0eb217366b76acb4ba054e9139 /include/llvm/Bytecode
parentb461131c99d79a4e7f1cf01bd5ef4a98b169af96 (diff)
improve comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28296 91177308-0d34-0410-b5e6-96231b3b80d8
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