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

Unified Diff: lib/Driver/Driver.cpp

Issue 1022123003: clang: add support for asmjs arch and Emscripten OS (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-clang.git@master
Patch Set: Address comments. Created 5 years, 9 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/CodeGen/TargetInfo.cpp ('k') | lib/Driver/ToolChains.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Driver/Driver.cpp
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index 251f8acb987ebc95943f0b53c93f9d8e432ea0c8..a7a183dc50970d7230f5c3400a8454d00d9cafd9 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -2014,6 +2014,11 @@ const ToolChain &Driver::getToolChain(const ArgList &Args,
else
TC = new toolchains::Linux(*this, Target, Args);
break;
+ // @LOCALMOD-START Emscripten
+ case llvm::Triple::Emscripten:
+ TC = new toolchains::EmscriptenToolChain(*this, Target, Args);
+ break;
+ // @LOCALMOD-END Emscripten
// @LOCALMOD-START
case llvm::Triple::NaCl:
TC = new toolchains::NaCl_TC(*this, Target, Args);
« no previous file with comments | « lib/CodeGen/TargetInfo.cpp ('k') | lib/Driver/ToolChains.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698