summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-09-30 17:26:13 +0000
committerRui Ueyama <ruiu@google.com>2015-09-30 17:26:13 +0000
commit7971152589cce3a0fd254043cca8e80a32444737 (patch)
tree3edd8b060d4c3d799ccfa1a8bd215ffc1c2e9aed
parent72ca6b8f3fcc2f8936ec675969f036521fabc63f (diff)
downloadbcm5719-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.h14
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;
OpenPOWER on IntegriCloud