From: Sam Clegg Date: Tue, 28 Nov 2017 20:27:21 +0000 (+0000) Subject: [WebAssembly] Remove initializers from Config.h X-Git-Tag: llvmorg-6.0.0-rc1~2466 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f95826dccdf013bbb7fead7b1f86093aec42f274;p=platform%2Fupstream%2Fllvm.git [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 --- diff --git a/lld/wasm/Config.h b/lld/wasm/Config.h index f3cf063..7d0708f 100644 --- a/lld/wasm/Config.h +++ b/lld/wasm/Config.h @@ -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 SearchPaths; std::set AllowUndefinedSymbols; + std::vector SearchPaths; std::vector> SyntheticGlobals; };