[lld] r263280 - Remove obsolete comment.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 11:04:56 PST 2016


Author: ruiu
Date: Fri Mar 11 13:04:56 2016
New Revision: 263280

URL: http://llvm.org/viewvc/llvm-project?rev=263280&view=rev
Log:
Remove obsolete comment.

Modified:
    lld/trunk/ELF/Symbols.h

Modified: lld/trunk/ELF/Symbols.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Symbols.h?rev=263280&r1=263279&r2=263280&view=diff
==============================================================================
--- lld/trunk/ELF/Symbols.h (original)
+++ lld/trunk/ELF/Symbols.h Fri Mar 11 13:04:56 2016
@@ -10,14 +10,6 @@
 // All symbols are handled as SymbolBodies regardless of their types.
 // This file defines various types of SymbolBodies.
 //
-// File-scope symbols in ELF objects are the only exception of SymbolBody
-// instantiation. We will never create SymbolBodies for them for performance
-// reason. They are often represented as nullptrs. This is fine for symbol
-// resolution because the symbol table naturally cares only about
-// externally-visible symbols. For relocations, you have to deal with both
-// local and non-local functions, and we have two different functions
-// where we need them.
-//
 //===----------------------------------------------------------------------===//
 
 #ifndef LLD_ELF_SYMBOLS_H




More information about the llvm-commits mailing list