Profile writer stream that supports deferred byte-level back-patching.
Declared in <llvm/ProfileData/InstrProf.h>
class ProfOStream;
| Name | Description |
|---|---|
ProfOStream [constructor] | Constructors |
patch | Apply deferred patches after all data has been written and flushed. |
tell | Return the current write offset in bytes. |
write | Write a 64-bit value in the stream's endianness. |
write32 | Write a 32-bit value in the stream's endianness. |
writeByte | Write a single byte. |
| Name | Description |
|---|---|
IsFDOStream | True when OS is a raw_fd_ostream; otherwise it is a string stream. |
LE | Endian-aware writer used for multi-byte stores. |
OS | Underlying output stream being written. |
| Name | Description |
|---|---|
writeMemProf | Write MemProf profile data to OS in the requested indexed format version. |