Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 //===-- llvm/Bitcode/PNaCl/PNaClReaderWriter.h - ----------------*- C++ -*-===// | |
|
jvoung (off chromium)
2013/04/25 17:42:45
Is the header meant to have reader functions too (
Karl
2013/04/25 20:48:17
Yes. However, I haven't added that part yet. I did
| |
| 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_PNACLREADERWRITER_H | |
| 16 #define LLVM_BITCODE_PNACLREADERWRITER_H | |
| 17 | |
| 18 namespace llvm { | |
| 19 class Module; | |
| 20 class raw_ostream; | |
| 21 | |
| 22 /// PNaClWriteBitcodeToFile - 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 PNaClWriteBitcodeToFile(const Module *M, raw_ostream &Out); | |
| 27 | |
| 28 } // end llvm namespace | |
| 29 #endif | |
| OLD | NEW |