[lld] r174277 - [Resolver] Improve undefined symbol error.
Michael J. Spencer
bigcheesegs at gmail.com
Sun Feb 3 02:50:06 PST 2013
Author: mspencer
Date: Sun Feb 3 04:50:06 2013
New Revision: 174277
URL: http://llvm.org/viewvc/llvm-project?rev=174277&view=rev
Log:
[Resolver] Improve undefined symbol error.
Modified:
lld/trunk/lib/Core/Resolver.cpp
Modified: lld/trunk/lib/Core/Resolver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/Resolver.cpp?rev=174277&r1=174276&r2=174277&view=diff
==============================================================================
--- lld/trunk/lib/Core/Resolver.cpp (original)
+++ lld/trunk/lib/Core/Resolver.cpp Sun Feb 3 04:50:06 2013
@@ -318,7 +318,8 @@ void Resolver::checkUndefines(bool final
bool isError = false;
for (const UndefinedAtom *undefAtom : undefinedAtoms) {
if (undefAtom->canBeNull() == UndefinedAtom::canBeNullNever) {
- llvm::errs() << "Undefined Symbol: " << undefAtom->name() << "\n";
+ llvm::errs() << "Undefined Symbol: " << undefAtom->file().path()
+ << " : " << undefAtom->name() << "\n";
isError = true;
}
}
More information about the llvm-commits
mailing list