[all-commits] [llvm/llvm-project] 73f141: [NFC] Add null terminator assert to CodeViewRecord...
Hans Wennborg via All-commits
all-commits at lists.llvm.org
Tue May 26 01:51:07 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 73f141f75caf842e289a9d8166365b702adfeb3b
https://github.com/llvm/llvm-project/commit/73f141f75caf842e289a9d8166365b702adfeb3b
Author: Hans Wennborg <hans at hanshq.net>
Date: 2026-05-26 (Tue, 26 May 2026)
Changed paths:
M llvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
Log Message:
-----------
[NFC] Add null terminator assert to CodeViewRecordIO::mapStringZ (#199624)
mapStringZ assumes that there's a null terminator past the end of Value
(I suppose the name hints at this too). This doesn't seem very nice to
me, but at least we can add an assert to check that the assumption
holds.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list