[lld] r322026 - [COFF] Delete CanExitEarly
Shoaib Meenai via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 8 13:14:51 PST 2018
Author: smeenai
Date: Mon Jan 8 13:14:51 2018
New Revision: 322026
URL: http://llvm.org/viewvc/llvm-project?rev=322026&view=rev
Log:
[COFF] Delete CanExitEarly
It was being set but never used, and its value is only ever needed
locally in lld::coff::link.
Differential Revision: https://reviews.llvm.org/D41814
Modified:
lld/trunk/COFF/Config.h
lld/trunk/COFF/Driver.cpp
Modified: lld/trunk/COFF/Config.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Config.h?rev=322026&r1=322025&r2=322026&view=diff
==============================================================================
--- lld/trunk/COFF/Config.h (original)
+++ lld/trunk/COFF/Config.h Mon Jan 8 13:14:51 2018
@@ -164,7 +164,6 @@ struct Configuration {
uint32_t MinorImageVersion = 0;
uint32_t MajorOSVersion = 6;
uint32_t MinorOSVersion = 0;
- bool CanExitEarly = false;
bool DynamicBase = true;
bool AllowBind = true;
bool NxCompat = true;
Modified: lld/trunk/COFF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Driver.cpp?rev=322026&r1=322025&r2=322026&view=diff
==============================================================================
--- lld/trunk/COFF/Driver.cpp (original)
+++ lld/trunk/COFF/Driver.cpp Mon Jan 8 13:14:51 2018
@@ -60,7 +60,6 @@ bool link(ArrayRef<const char *> Args, b
errorHandler().ExitEarly = CanExitEarly;
Config = make<Configuration>();
Config->Argv = {Args.begin(), Args.end()};
- Config->CanExitEarly = CanExitEarly;
Symtab = make<SymbolTable>();
More information about the llvm-commits
mailing list