[lld] r314966 - Remove dead code.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 4 20:01:05 PDT 2017
Author: rafael
Date: Wed Oct 4 20:01:05 2017
New Revision: 314966
URL: http://llvm.org/viewvc/llvm-project?rev=314966&view=rev
Log:
Remove dead code.
Modified:
lld/trunk/ELF/Config.h
Modified: lld/trunk/ELF/Config.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Config.h?rev=314966&r1=314965&r2=314966&view=diff
==============================================================================
--- lld/trunk/ELF/Config.h (original)
+++ lld/trunk/ELF/Config.h Wed Oct 4 20:01:05 2017
@@ -67,12 +67,6 @@ struct VersionDefinition {
size_t NameOff = 0; // Offset in the string table
};
-// Structure for mapping renamed symbols
-struct RenamedSymbol {
- Symbol *Target;
- uint8_t OriginalBinding;
-};
-
// This struct contains the global configuration for the linker.
// Most fields are direct mapping from the command line options
// and such fields have the same name as the corresponding options.
@@ -108,7 +102,6 @@ struct Configuration {
std::vector<SymbolVersion> VersionScriptGlobals;
std::vector<SymbolVersion> VersionScriptLocals;
std::vector<uint8_t> BuildIdVector;
- llvm::MapVector<Symbol *, RenamedSymbol> RenamedSymbols;
bool AllowMultipleDefinition;
bool AsNeeded = false;
bool Bsymbolic;
More information about the llvm-commits
mailing list