[lld] r319219 - [WebAssembly] Remove initializers from Config.h
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 28 12:27:21 PST 2017
Author: sbc
Date: Tue Nov 28 12:27:21 2017
New Revision: 319219
URL: http://llvm.org/viewvc/llvm-project?rev=319219&view=rev
Log:
[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
Modified:
lld/trunk/wasm/Config.h
Modified: lld/trunk/wasm/Config.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/Config.h?rev=319219&r1=319218&r2=319219&view=diff
==============================================================================
--- lld/trunk/wasm/Config.h (original)
+++ lld/trunk/wasm/Config.h Tue Nov 28 12:27:21 2017
@@ -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;
};
More information about the llvm-commits
mailing list