[llvm] 6bb05ea - [pdb] Tweak the message about overflowing the publics/globals record stream
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Fri May 23 00:55:19 PDT 2025
Author: Hans Wennborg
Date: 2025-05-23T09:55:10+02:00
New Revision: 6bb05ea4b888e7e65f7f4df7e6bb8fd156730404
URL: https://github.com/llvm/llvm-project/commit/6bb05ea4b888e7e65f7f4df7e6bb8fd156730404
DIFF: https://github.com/llvm/llvm-project/commit/6bb05ea4b888e7e65f7f4df7e6bb8fd156730404.diff
LOG: [pdb] Tweak the message about overflowing the publics/globals record stream
Follow-up to https://github.com/llvm/llvm-project/pull/140884
Added:
Modified:
llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
Removed:
################################################################################
diff --git a/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp b/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
index 8d684ab0aaf63..09cb355ca7319 100644
--- a/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
@@ -323,8 +323,8 @@ Error GSIStreamBuilder::finalizeMsfLayout() {
uint64_t RecordBytes = PSH->RecordByteSize + GSH->RecordByteSize;
if (RecordBytes > UINT32_MAX)
return make_error<StringError>(
- formatv("the public ({0} bytes) and global ({1} bytes) "
- "symbols are too large to fit in a PDB file; "
+ formatv("the public symbols ({0} bytes) and global symbols ({1} bytes) "
+ "are too large to fit in a PDB file; "
"the maximum total is {2} bytes.",
PSH->RecordByteSize, GSH->RecordByteSize, UINT32_MAX),
inconvertibleErrorCode());
More information about the llvm-commits
mailing list