LLVM: llvm::CGDataOStream Class Reference (original) (raw)
A wrapper class to abstract writer stream with support of bytes back patching. More...
#include "[llvm/CGData/CodeGenDataWriter.h](CodeGenDataWriter%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| CGDataOStream (raw_fd_ostream &FD) | |
| CGDataOStream (raw_string_ostream &STR) | |
| CGDataOStream (raw_svector_ostream &SVEC) | |
| uint64_t | tell () |
| void | write (uint64_t V) |
| void | write32 (uint32_t V) |
| void | write8 (uint8_t V) |
| LLVM_ABI void | patch (ArrayRef< CGDataPatchItem > P) |
A wrapper class to abstract writer stream with support of bytes back patching.
Definition at line 28 of file CodeGenDataWriter.h.
◆ CGDataOStream() [2/3]
◆ CGDataOStream() [3/3]
◆ patch()
Definition at line 19 of file CodeGenDataWriter.cpp.
References llvm::support::endian::byte_swap(), llvm::Data, I, Kind, llvm::little, OS, P, llvm::raw_pwrite_stream::pwrite(), llvm::raw_fd_ostream::seek(), llvm::raw_string_ostream::str(), llvm::raw_ostream::tell(), and write().
Referenced by llvm::GlobalMergeFunc::emitFunctionMap().
◆ tell()
| uint64_t llvm::CGDataOStream::tell ( ) | inline |
|---|
◆ write()
| void llvm::CGDataOStream::write ( uint64_t V) | inline |
|---|
◆ write32()
| void llvm::CGDataOStream::write32 ( uint32_t V) | inline |
|---|
◆ write8()
| void llvm::CGDataOStream::write8 ( uint8_t V) | inline |
|---|
◆ Kind
OStreamKind llvm::CGDataOStream::Kind
◆ LE
◆ OS
The documentation for this class was generated from the following files:
- include/llvm/CGData/CodeGenDataWriter.h
- lib/CGData/CodeGenDataWriter.cpp