10 #ifndef LLVM_DEBUGINFO_CODEVIEW_TYPERECORDBUILDER_H
11 #define LLVM_DEBUGINFO_CODEVIEW_TYPERECORDBUILDER_H
49 uint64_t
size()
const {
return Stream.
tell(); }
void writeInt64(int64_t Value)
void writeNullTerminatedString(StringRef Value)
void writeTypeIndex(TypeIndex TypeInd)
A raw_ostream that writes to an SmallVector or SmallString.
void writeBytes(StringRef Value)
void truncate(uint64_t Size)
void writeInt32(int32_t Value)
uint64_t tell() const
tell - Return the current offset with the file.
void writeUInt8(uint8_t Value)
void writeEncodedInteger(int64_t Value)
size_t maxBytesRemaining() const
Returns the number of bytes remaining before this record is larger than the maximum record length...
TypeRecordKind
Distinguishes individual records in .debug$T section or PDB type stream.
void writeEncodedSignedInteger(int64_t Value)
void writeTypeRecordKind(TypeRecordKind Kind)
void writeInt16(int16_t Value)
void writeEncodedUnsignedInteger(uint64_t Value)
void writeUInt64(uint64_t Value)
void writeUInt32(uint32_t Value)
LLVM_ATTRIBUTE_ALWAYS_INLINE size_type size() const
void writeGuid(StringRef Guid)
TypeRecordKind kind() const
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
LLVM Value Representation.
StringRef - Represent a constant reference to a string, i.e.
void reset(TypeRecordKind K)
void writeUInt16(uint16_t Value)