Error PDBStringTableBuilder::commit(BinaryStreamWriter &Writer) const { BinaryStreamWriter SectionWriter; std::tie(SectionWriter, Writer) = Writer.split(sizeof(PDBStringTableHeader)); if (auto EC = writeHeader(SectionWriter)) return EC; std::tie(SectionWriter, Writer) = Writer.split(Strings.calculateSerializedSize()); if (auto EC = writeStrings(SectionWriter)) return EC; std::tie(SectionWriter, Writer) = Writer.split(calculateHashTableSize()); if (auto EC = writeHashTable(SectionWriter)) return EC; std::tie(SectionWriter, Writer) = Writer.split(sizeof(uint32_t)); if (auto EC = writeEpilogue(SectionWriter)) return EC; return Error::success(); }