[WebAssembly] Remove initializers from Config.h

These should get initialized in by Driver.cpp based on
command line options.

Also, sort entries.

Differential Revision: https://reviews.llvm.org/D40570

llvm-svn: 319219
This commit is contained in:
Sam Clegg 2017-11-28 20:27:21 +00:00
parent e200016ea9
commit f95826dccd
1 changed files with 13 additions and 13 deletions

View File

@ -23,23 +23,23 @@ namespace lld {
namespace wasm {
struct Configuration {
bool AllowUndefined = false;
bool Demangle = true;
bool EmitRelocs = false;
bool ImportMemory = false;
bool Relocatable = false;
bool StripDebug = false;
bool StripAll = false;
uint32_t ZStackSize = 0;
uint32_t MaxMemory = 0;
uint32_t GlobalBase = 0;
uint32_t InitialMemory = 0;
bool AllowUndefined;
bool Demangle;
bool EmitRelocs;
bool ImportMemory;
bool Relocatable;
bool StripAll;
bool StripDebug;
uint32_t GlobalBase;
uint32_t InitialMemory;
uint32_t MaxMemory;
uint32_t ZStackSize;
llvm::StringRef Entry;
llvm::StringRef Sysroot;
llvm::StringRef OutputFile;
llvm::StringRef Sysroot;
std::vector<llvm::StringRef> SearchPaths;
std::set<llvm::StringRef> AllowUndefinedSymbols;
std::vector<llvm::StringRef> SearchPaths;
std::vector<std::pair<Symbol *, WasmGlobal>> SyntheticGlobals;
};