[lld] r239413 - COFF: Update comment.
Rui Ueyama
ruiu at google.com
Tue Jun 9 09:52:57 PDT 2015
Author: ruiu
Date: Tue Jun 9 11:52:56 2015
New Revision: 239413
URL: http://llvm.org/viewvc/llvm-project?rev=239413&view=rev
Log:
COFF: Update comment.
Modified:
lld/trunk/COFF/Symbols.cpp
Modified: lld/trunk/COFF/Symbols.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Symbols.cpp?rev=239413&r1=239412&r2=239413&view=diff
==============================================================================
--- lld/trunk/COFF/Symbols.cpp (original)
+++ lld/trunk/COFF/Symbols.cpp Tue Jun 9 11:52:56 2015
@@ -71,7 +71,8 @@ int Undefined::compare(SymbolBody *Other
StringRef DefinedRegular::getName() {
// DefinedSymbol's name is read lazily for a performance reason.
- // Non-external symbol names are never used by the linker.
+ // Non-external symbol names are never used by the linker
+ // except for logging or debugging.
// Their internal references are resolved not by name but by symbol index.
// And because they are not external, no one can refer them by name.
// Object files contain lots of non-external symbols, and creating
More information about the llvm-commits
mailing list