Tweak diagnostic text from e4eb6216c2e
authorNico Weber <thakis@chromium.org>
Tue, 7 Dec 2021 00:12:58 +0000 (19:12 -0500)
committerNico Weber <thakis@chromium.org>
Tue, 7 Dec 2021 00:57:28 +0000 (19:57 -0500)
llvm/lib/DebugInfo/MSF/MSFBuilder.cpp

index 8e48059..f9a763d 100644 (file)
@@ -360,8 +360,7 @@ Expected<FileBufferByteStream> MSFBuilder::commit(StringRef Path,
 
     return make_error<MSFError>(
         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));
   }