Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: lib/Driver/ToolChains.h

Issue 1696583002: Remove Emscripten support (Closed) Base URL: https://chromium.googlesource.com/a/native_client/pnacl-clang.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/Driver/Driver.cpp ('k') | test/CodeGen/emscripten-arguments.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Driver/ToolChains.h
diff --git a/lib/Driver/ToolChains.h b/lib/Driver/ToolChains.h
index c3918d81a79716dd176f2f96ecb4b1e8eed9502d..33c97b2f3d2e44230e1f7a8d231d7ca0a80df5d1 100644
--- a/lib/Driver/ToolChains.h
+++ b/lib/Driver/ToolChains.h
@@ -716,23 +716,6 @@ public:
static StringRef GetTargetCPU(const llvm::opt::ArgList &Args);
};
-// @LOCALMOD-START Emscripten
-/// EmscriptenToolChain - A toolchain 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 llvm::opt::ArgList &Args)
- : ToolChain(D, Triple, Args) {}
- ~EmscriptenToolChain() override {}
-
- bool IsMathErrnoDefault() const override { return false; }
- bool IsObjCNonFragileABIDefault() const override { return true; }
- bool isPICDefault() const override { return false; }
- bool isPIEDefault() const override { return false; }
- bool isPICDefaultForced() const override { return false; }
-};
-// @LOCALMOD-END Emscripten
-
class LLVM_LIBRARY_VISIBILITY NaCl_TC : public Generic_ELF {
public:
NaCl_TC(const Driver &D, const llvm::Triple &Triple,
« no previous file with comments | « lib/Driver/Driver.cpp ('k') | test/CodeGen/emscripten-arguments.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698