Go to the documentation of this file.
26 NamedStreams(NamedStreams) {
27 ::memset(&Guid, 0,
sizeof(Guid));
33 Features.push_back(Sig);
37 HashPDBContentsToGUID =
B;
50 (Features.size() + 1) *
sizeof(
uint32_t);
58 auto InfoS = WritableMappedBlockStream::createIndexedStream(
65 ::memset(&
H, 0,
sizeof(
H));
70 if (
auto EC = NamedStreams.
commit(Writer))
74 for (
auto E : Features) {
This is an optimization pass for GlobalISel generic memory operations.
Error writeInteger(T Value)
Write the integer Value to the underlying stream in the specified endianness.
Error writeEnum(T Num)
Similar to writeInteger.
Provides write only access to a subclass of WritableBinaryStream.
void setHashPDBContentsToGUID(bool B)
static ErrorSuccess success()
Create a success value.
This represents the 'GUID' type from windows.h.
void setGuid(codeview::GUID G)
uint32_t calculateSerializedLength() const
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
void setVersion(PdbRaw_ImplVer V)
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
uint64_t bytesRemaining() const
Error commit(BinaryStreamWriter &Writer) const
void addFeature(PdbRaw_FeatureSig Sig)
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
Error setStreamSize(uint32_t Idx, uint32_t Size)
Update the size of an existing stream.
void setSignature(uint32_t S)
Error writeObject(const T &Obj)
Writes the object Obj to the underlying stream, as if by using memcpy.
add sub stmia L5 ldr r0 bl L_printf $stub Instead of a and a wouldn t it be better to do three moves *Return an aggregate type is even return S
BumpPtrAllocator & getAllocator()
Lightweight error class with error context and mandatory checking.
Error finalizeMsfLayout()
Error commit(const msf::MSFLayout &Layout, WritableBinaryStreamRef Buffer) const