diff options
Diffstat (limited to 'lib/Driver/ToolChains.h')
-rw-r--r-- | lib/Driver/ToolChains.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/Driver/ToolChains.h b/lib/Driver/ToolChains.h index 3afd8dd228..50973073da 100644 --- a/lib/Driver/ToolChains.h +++ b/lib/Driver/ToolChains.h @@ -577,6 +577,20 @@ public: bool isPICDefaultForced() const; }; +/// EmscriptenToolChain - A tool chain for the Emscripten C/C++ to JS compiler. +class LLVM_LIBRARY_VISIBILITY EmscriptenToolChain : public ToolChain { +public: + EmscriptenToolChain(const Driver &D, const llvm::Triple& Triple, + const ArgList &Args); + ~EmscriptenToolChain(); + + bool IsMathErrnoDefault() const; + bool IsObjCNonFragileABIDefault() const; + bool isPICDefault() const; + bool isPIEDefault() const; + bool isPICDefaultForced() const; +}; + class LLVM_LIBRARY_VISIBILITY Windows : public ToolChain { public: Windows(const Driver &D, const llvm::Triple& Triple, const ArgList &Args); |