From 50dda49c7d76b24cc5265080c0cd34efd9858c5f Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 6 Dec 2021 19:12:58 -0500 Subject: [PATCH] Tweak diagnostic text from e4eb6216c2e --- llvm/lib/DebugInfo/MSF/MSFBuilder.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/lib/DebugInfo/MSF/MSFBuilder.cpp b/llvm/lib/DebugInfo/MSF/MSFBuilder.cpp index 8e48059..f9a763d 100644 --- a/llvm/lib/DebugInfo/MSF/MSFBuilder.cpp +++ b/llvm/lib/DebugInfo/MSF/MSFBuilder.cpp @@ -360,8 +360,7 @@ Expected MSFBuilder::commit(StringRef Path, return make_error( error_code, - formatv("File size would have been {0,1:N} which exceeds the maximum \ - file size for the current page size {1}", + formatv("File size {0,1:N} too large for current PDB page size {1}", FileSize, Layout.SB->BlockSize)); } -- 2.7.4