diff options
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. |