[llvm] [PDB] Correctly read/write the named stream map's niMac value (PR #225729)

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 01:00:17 PDT 2026


================
@@ -69,17 +73,22 @@ Error NamedStreamMap::commit(BinaryStreamWriter &Writer) const {
   if (auto EC = Writer.writeFixedString(Data))
     return EC;
 
-  // And finally the Offset Index map.
+  // Followed by the Offset Index map.
   if (auto EC = OffsetIndexMap.commit(Writer))
     return EC;
 
+  // And finally the NMTNI::niMac value.
+  if (auto EC = Writer.writeInteger(0))
----------------
zmodem wrote:

Done.

https://github.com/llvm/llvm-project/pull/225729


More information about the llvm-commits mailing list