diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:05:49 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:05:49 +0000 |
commit | e2fd426bdafe9f5c10066d3926ece6e342184a67 (patch) | |
tree | bfbbb5fd38554e6b8988b7a217e9fd0623728d7d /wasm/Config.h | |
parent | 84c4061b34e048f47e5eb4fbabc1558495e8157c (diff) |
Notes
Diffstat (limited to 'wasm/Config.h')
-rw-r--r-- | wasm/Config.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/wasm/Config.h b/wasm/Config.h index 76a780567072..0857a645f1e8 100644 --- a/wasm/Config.h +++ b/wasm/Config.h @@ -20,18 +20,22 @@ namespace wasm { struct Configuration { bool AllowUndefined; - bool CompressRelocTargets; + bool CompressRelocations; bool Demangle; bool DisableVerify; bool ExportAll; + bool ExportDynamic; bool ExportTable; bool GcSections; bool ImportMemory; + bool SharedMemory; bool ImportTable; bool MergeDataSegments; + bool Pie; bool PrintGcSections; bool Relocatable; bool SaveTemps; + bool Shared; bool StripAll; bool StripDebug; bool StackFirst; @@ -50,6 +54,9 @@ struct Configuration { llvm::StringSet<> AllowUndefinedSymbols; std::vector<llvm::StringRef> SearchPaths; llvm::CachePruningPolicy ThinLTOCachePolicy; + + // True if we are creating position-independent code. + bool Pic; }; // The only instance of Configuration struct. |