OLD | NEW |
(Empty) | |
| 1 //===-- llvm/Bitcode/NaCl/NaClReaderWriter.h - ------------------*- C++ -*-===// |
| 2 // NaCl Bitcode reader/writer. |
| 3 // |
| 4 // The LLVM Compiler Infrastructure |
| 5 // |
| 6 // This file is distributed under the University of Illinois Open Source |
| 7 // License. See LICENSE.TXT for details. |
| 8 // |
| 9 //===----------------------------------------------------------------------===// |
| 10 // |
| 11 // This header defines interfaces to read and write LLVM bitcode files/streams. |
| 12 // |
| 13 //===----------------------------------------------------------------------===// |
| 14 |
| 15 #ifndef LLVM_BITCODE_NACL_NACLREADERWRITER_H |
| 16 #define LLVM_BITCODE_NACL_NACLREADERWRITER_H |
| 17 |
| 18 namespace llvm { |
| 19 class Module; |
| 20 class raw_ostream; |
| 21 |
| 22 /// NaClWriteBitcodeToFile - Write the specified module to the |
| 23 /// specified raw output stream, using PNaCl wire format. For |
| 24 /// streams where it matters, the given stream should be in "binary" |
| 25 /// mode. |
| 26 void NaClWriteBitcodeToFile(const Module *M, raw_ostream &Out); |
| 27 |
| 28 } // end llvm namespace |
| 29 #endif |
OLD | NEW |