diff options
| author | Rui Ueyama <ruiu@google.com> | 2015-09-30 17:26:13 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2015-09-30 17:26:13 +0000 |
| commit | 7971152589cce3a0fd254043cca8e80a32444737 (patch) | |
| tree | 3edd8b060d4c3d799ccfa1a8bd215ffc1c2e9aed | |
| parent | 72ca6b8f3fcc2f8936ec675969f036521fabc63f (diff) | |
| download | bcm5719-llvm-7971152589cce3a0fd254043cca8e80a32444737.tar.gz bcm5719-llvm-7971152589cce3a0fd254043cca8e80a32444737.zip | |
ELF2: Do not set default values that will always be overwritten.
These member variables are overwritten unconditionally by Driver,
so setting default values would be confusing.
llvm-svn: 248922
| -rw-r--r-- | lld/ELF/Config.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lld/ELF/Config.h b/lld/ELF/Config.h index dd36ededefa..4935796ca99 100644 --- a/lld/ELF/Config.h +++ b/lld/ELF/Config.h @@ -24,13 +24,13 @@ struct Configuration { llvm::StringRef Sysroot; std::string RPath; std::vector<llvm::StringRef> InputSearchPaths; - bool AllowMultipleDefinition = false; - bool DiscardAll = false; - bool DiscardLocals = false; - bool DiscardNone = false; - bool ExportDynamic = false; - bool NoInhibitExec = false; - bool Shared = false; + bool AllowMultipleDefinition; + bool DiscardAll; + bool DiscardLocals; + bool DiscardNone; + bool ExportDynamic; + bool NoInhibitExec; + bool Shared; }; extern Configuration *Config; |

