[lld] r192942 - Fix a layout pass debug message.

Rui Ueyama ruiu at google.com
Thu Oct 17 20:18:52 PDT 2013


Author: ruiu
Date: Thu Oct 17 22:18:52 2013
New Revision: 192942

URL: http://llvm.org/viewvc/llvm-project?rev=192942&view=rev
Log:
Fix a layout pass debug message.

Modified:
    lld/trunk/lib/Passes/LayoutPass.cpp

Modified: lld/trunk/lib/Passes/LayoutPass.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Passes/LayoutPass.cpp?rev=192942&r1=192941&r2=192942&view=diff
==============================================================================
--- lld/trunk/lib/Passes/LayoutPass.cpp (original)
+++ lld/trunk/lib/Passes/LayoutPass.cpp Thu Oct 17 22:18:52 2013
@@ -124,7 +124,7 @@ bool LayoutPass::CompareAtoms::operator(
   std::string reason;
   bool result = compare(left, right, reason);
   DEBUG({
-    StringRef comp = result ? "<" : ">";
+    StringRef comp = result ? "<" : ">=";
     llvm::dbgs() << "Layout: '" << left->name() << "' " << comp << " '"
                  << right->name() << "' (" << reason << ")\n";
   });





More information about the llvm-commits mailing list