summaryrefslogtreecommitdiffstats
path: root/lld/wasm/Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/wasm/Config.h')
-rw-r--r--lld/wasm/Config.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lld/wasm/Config.h b/lld/wasm/Config.h
index 08355b569e5..4b11320e7cf 100644
--- a/lld/wasm/Config.h
+++ b/lld/wasm/Config.h
@@ -13,6 +13,7 @@
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/BinaryFormat/Wasm.h"
+#include "llvm/Support/CachePruning.h"
namespace lld {
namespace wasm {
@@ -21,6 +22,7 @@ struct Configuration {
bool AllowUndefined;
bool CompressRelocTargets;
bool Demangle;
+ bool DisableVerify;
bool ExportTable;
bool GcSections;
bool ImportMemory;
@@ -28,19 +30,25 @@ struct Configuration {
bool MergeDataSegments;
bool PrintGcSections;
bool Relocatable;
+ bool SaveTemps;
bool StripAll;
bool StripDebug;
bool StackFirst;
uint32_t GlobalBase;
uint32_t InitialMemory;
uint32_t MaxMemory;
- uint32_t Optimize;
uint32_t ZStackSize;
+ unsigned LTOPartitions;
+ unsigned LTOO;
+ unsigned Optimize;
+ unsigned ThinLTOJobs;
llvm::StringRef Entry;
llvm::StringRef OutputFile;
+ llvm::StringRef ThinLTOCacheDir;
llvm::StringSet<> AllowUndefinedSymbols;
std::vector<llvm::StringRef> SearchPaths;
+ llvm::CachePruningPolicy ThinLTOCachePolicy;
};
// The only instance of Configuration struct.
OpenPOWER on IntegriCloud