[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:01 PDT 2026


================
@@ -56,7 +56,11 @@ Error NamedStreamMap::load(BinaryStreamReader &Stream) {
     return EC;
   NamesBuffer.assign(Buffer.begin(), Buffer.end());
 
-  return OffsetIndexMap.load(Stream);
+  if (auto EC = OffsetIndexMap.load(Stream))
+    return EC;
+
+  uint32_t niMac;
----------------
zmodem wrote:

Done.

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


More information about the llvm-commits mailing list