[lld] r195801 - Print a bit more information before aborting.
Rui Ueyama
ruiu at google.com
Tue Nov 26 17:33:42 PST 2013
Author: ruiu
Date: Tue Nov 26 19:33:42 2013
New Revision: 195801
URL: http://llvm.org/viewvc/llvm-project?rev=195801&view=rev
Log:
Print a bit more information before aborting.
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=195801&r1=195800&r2=195801&view=diff
==============================================================================
--- lld/trunk/lib/Passes/LayoutPass.cpp (original)
+++ lld/trunk/lib/Passes/LayoutPass.cpp Tue Nov 26 19:33:42 2013
@@ -129,7 +129,8 @@ bool LayoutPass::CompareAtoms::compare(c
return leftOrdinal < rightOrdinal;
}
- DEBUG(llvm::dbgs() << "Unordered\n");
+ llvm::errs() << "Unordered: <" << left->name() << "> <"
+ << right->name() << ">\n";
llvm_unreachable("Atoms with Same Ordinal!");
}
More information about the llvm-commits
mailing list