aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Bitcode/NaCl/NaClReaderWriter.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Bitcode/NaCl/NaClReaderWriter.h b/include/llvm/Bitcode/NaCl/NaClReaderWriter.h
index d415b85de8..c3c15851a0 100644
--- a/include/llvm/Bitcode/NaCl/NaClReaderWriter.h
+++ b/include/llvm/Bitcode/NaCl/NaClReaderWriter.h
@@ -24,6 +24,8 @@ namespace llvm {
class LLVMContext;
class Module;
class raw_ostream;
+ class NaClBitcodeHeader;
+ class NaClBitstreamWriter;
/// \brief Defines the integer bit size used to model pointers in PNaCl.
static const unsigned PNaClIntPtrTypeBitSize = 32;
@@ -98,5 +100,10 @@ namespace llvm {
BufPtr[3] == 'E';
}
+ // NaClWriteHeader - Write the contents of the bitcode header to the
+ // corresponding bitcode stream.
+ void NaClWriteHeader(const NaClBitcodeHeader &Header,
+ NaClBitstreamWriter &Stream);
+
} // end llvm namespace
#endif