diff options
Diffstat (limited to 'wasm/Config.h')
-rw-r--r-- | wasm/Config.h | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/wasm/Config.h b/wasm/Config.h deleted file mode 100644 index 0857a645f1e8..000000000000 --- a/wasm/Config.h +++ /dev/null @@ -1,68 +0,0 @@ -//===- Config.h -------------------------------------------------*- C++ -*-===// -// -// The LLVM Linker -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#ifndef LLD_WASM_CONFIG_H -#define LLD_WASM_CONFIG_H - -#include "llvm/ADT/StringRef.h" -#include "llvm/ADT/StringSet.h" -#include "llvm/BinaryFormat/Wasm.h" -#include "llvm/Support/CachePruning.h" - -namespace lld { -namespace wasm { - -struct Configuration { - bool AllowUndefined; - 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; - uint32_t GlobalBase; - uint32_t InitialMemory; - uint32_t MaxMemory; - 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; - - // True if we are creating position-independent code. - bool Pic; -}; - -// The only instance of Configuration struct. -extern Configuration *Config; - -} // namespace wasm -} // namespace lld - -#endif |