Skip to content

Commit

Permalink
[COFF] Delete CanExitEarly
Browse files Browse the repository at this point in the history
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

llvm-svn: 322026
  • Loading branch information
smeenai committed Jan 8, 2018
1 parent 92fe563 commit 7e3e28f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lld/COFF/Config.h
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion lld/COFF/Driver.cpp
Expand Up @@ -60,7 +60,6 @@ bool link(ArrayRef<const char *> Args, bool CanExitEarly, raw_ostream &Diag) {
errorHandler().ExitEarly = CanExitEarly;
Config = make<Configuration>();
Config->Argv = {Args.begin(), Args.end()};
Config->CanExitEarly = CanExitEarly;

Symtab = make<SymbolTable>();

Expand Down

0 comments on commit 7e3e28f

Please sign in to comment.