[llvm] r200806 - Fix wording of warning message about invalid debug info.

Manman Ren manman.ren at gmail.com
Tue Feb 4 15:49:02 PST 2014


Author: mren
Date: Tue Feb  4 17:49:02 2014
New Revision: 200806

URL: http://llvm.org/viewvc/llvm-project?rev=200806&view=rev
Log:
Fix wording of warning message about invalid debug info.

Modified:
    llvm/trunk/lib/IR/DiagnosticInfo.cpp

Modified: llvm/trunk/lib/IR/DiagnosticInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/DiagnosticInfo.cpp?rev=200806&r1=200805&r2=200806&view=diff
==============================================================================
--- llvm/trunk/lib/IR/DiagnosticInfo.cpp (original)
+++ llvm/trunk/lib/IR/DiagnosticInfo.cpp Tue Feb  4 17:49:02 2014
@@ -53,6 +53,6 @@ void DiagnosticInfoStackSize::print(Diag
 }
 
 void DiagnosticInfoDebugMetadataVersion::print(DiagnosticPrinter &DP) const {
-  DP << "invalid debug metadata version (" << getMetadataVersion() << ") in "
-     << getModule();
+  DP << "ignoring debug info with an invalid version (" << getMetadataVersion()
+     << ") in " << getModule();
 }





More information about the llvm-commits mailing list