summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-06-09 16:52:56 +0000
committerRui Ueyama <ruiu@google.com>2015-06-09 16:52:56 +0000
commit0e77d227f8bddfc9c855bfacfbc14a652c11ac53 (patch)
tree3c7485840244e5bd365985612a4d9a798bcbea08
parentcd50135a29b80e6fa5dbf8de49845e2edda07bef (diff)
downloadbcm5719-llvm-0e77d227f8bddfc9c855bfacfbc14a652c11ac53.tar.gz
bcm5719-llvm-0e77d227f8bddfc9c855bfacfbc14a652c11ac53.zip
COFF: Update comment.
llvm-svn: 239413
-rw-r--r--lld/COFF/Symbols.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/COFF/Symbols.cpp b/lld/COFF/Symbols.cpp
index 864db01ae08..76dc433a993 100644
--- a/lld/COFF/Symbols.cpp
+++ b/lld/COFF/Symbols.cpp
@@ -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
OpenPOWER on IntegriCloud