Skip to content

Commit 66aa97b

Browse files
committed
use UINT32_MAX, fix syntax
1 parent e639bc4 commit 66aa97b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,9 @@ Error GSIStreamBuilder::finalizeMsfLayout() {
324324
if (RecordBytes > UINT32_MAX)
325325
return make_error<StringError>(
326326
formatv("the public ({0} bytes) and global ({1} bytes) "
327-
"symbols are too large to fit in a PDB file; ",
328-
"the maximum total is 4294967295 bytes.
329-
PSH->RecordByteSize, GSH->RecordByteSize),
327+
"symbols are too large to fit in a PDB file; "
328+
"the maximum total is {2} bytes.",
329+
PSH->RecordByteSize, GSH->RecordByteSize, UINT32_MAX),
330330
inconvertibleErrorCode());
331331

332332
Idx = Msf.addStream(RecordBytes);

0 commit comments

Comments
 (0)