Chromium Code Reviews| Index: include/llvm/Bitcode/PNaCl/PNaClReaderWriter.h |
| diff --git a/include/llvm/Bitcode/PNaCl/PNaClReaderWriter.h b/include/llvm/Bitcode/PNaCl/PNaClReaderWriter.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7642a2a932e92b2a03fdb2117b5f01fef88b1ddd |
| --- /dev/null |
| +++ b/include/llvm/Bitcode/PNaCl/PNaClReaderWriter.h |
| @@ -0,0 +1,28 @@ |
| +//===-- llvm/Bitcode/PNaCl/PNaClReaderWriter.h - Bitcode reader/writers ----*- C++ -*-===// |
|
Karl
2013/04/24 18:25:59
Shortened line length.
|
| +// |
| +// The LLVM Compiler Infrastructure |
| +// |
| +// This file is distributed under the University of Illinois Open Source |
| +// License. See LICENSE.TXT for details. |
| +// |
| +//===----------------------------------------------------------------------===// |
| +// |
| +// This header defines interfaces to read and write LLVM bitcode files/streams. |
| +// |
| +//===----------------------------------------------------------------------===// |
| + |
| +#ifndef LLVM_BITCODE_PNACLREADERWRITER_H |
| +#define LLVM_BITCODE_PNACLREADERWRITER_H |
| + |
| +namespace llvm { |
| + class Module; |
| + class raw_ostream; |
| + |
| + /// PNaClWriteBitcodeToFile - Write the specified module to the |
| + /// specified raw output stream, using PNaCl wire format. For |
| + /// streams where it matters, the given stream should be in "binary" |
| + /// mode. |
| + void PNaClWriteBitcodeToFile(const Module *M, raw_ostream &Out); |
| + |
| +} // end llvm namespace |
| +#endif |