LLVM 20.0.0git
|
A wrapper class to abstract writer stream with support of bytes back patching. More...
#include "llvm/CGData/CodeGenDataWriter.h"
Public Member Functions | |
CGDataOStream (raw_fd_ostream &FD) | |
CGDataOStream (raw_string_ostream &STR) | |
uint64_t | tell () |
void | write (uint64_t V) |
void | write32 (uint32_t V) |
void | write8 (uint8_t V) |
void | patch (ArrayRef< CGDataPatchItem > P) |
Public Attributes | |
bool | IsFDOStream |
raw_ostream & | OS |
support::endian::Writer | LE |
A wrapper class to abstract writer stream with support of bytes back patching.
Definition at line 32 of file CodeGenDataWriter.h.
|
inline |
Definition at line 34 of file CodeGenDataWriter.h.
|
inline |
Definition at line 36 of file CodeGenDataWriter.h.
void CGDataOStream::patch | ( | ArrayRef< CGDataPatchItem > | P | ) |
Definition at line 19 of file CodeGenDataWriter.cpp.
References llvm::Data, I, IsFDOStream, OS, P, llvm::raw_fd_ostream::seek(), llvm::raw_string_ostream::str(), llvm::raw_ostream::tell(), and write().
|
inline |
Definition at line 39 of file CodeGenDataWriter.h.
References OS, and llvm::raw_ostream::tell().
|
inline |
Definition at line 40 of file CodeGenDataWriter.h.
References LE, and llvm::support::endian::Writer::write().
Referenced by patch().
|
inline |
Definition at line 41 of file CodeGenDataWriter.h.
References LE, and llvm::support::endian::Writer::write().
|
inline |
Definition at line 42 of file CodeGenDataWriter.h.
References LE, and llvm::support::endian::Writer::write().
bool llvm::CGDataOStream::IsFDOStream |
Definition at line 51 of file CodeGenDataWriter.h.
Referenced by patch().
support::endian::Writer llvm::CGDataOStream::LE |
Definition at line 53 of file CodeGenDataWriter.h.
raw_ostream& llvm::CGDataOStream::OS |
Definition at line 52 of file CodeGenDataWriter.h.