[llvm] 50dda49 - Tweak diagnostic text from e4eb6216c2e

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 6 16:57:41 PST 2021


Author: Nico Weber
Date: 2021-12-06T19:57:28-05:00
New Revision: 50dda49c7d76b24cc5265080c0cd34efd9858c5f

URL: https://github.com/llvm/llvm-project/commit/50dda49c7d76b24cc5265080c0cd34efd9858c5f
DIFF: https://github.com/llvm/llvm-project/commit/50dda49c7d76b24cc5265080c0cd34efd9858c5f.diff

LOG: Tweak diagnostic text from e4eb6216c2e

Added: 
    

Modified: 
    llvm/lib/DebugInfo/MSF/MSFBuilder.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/DebugInfo/MSF/MSFBuilder.cpp b/llvm/lib/DebugInfo/MSF/MSFBuilder.cpp
index 8e4805962a8c2..f9a763d724a85 100644
--- a/llvm/lib/DebugInfo/MSF/MSFBuilder.cpp
+++ b/llvm/lib/DebugInfo/MSF/MSFBuilder.cpp
@@ -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));
   }
 


        


More information about the llvm-commits mailing list