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

Unified Diff: lib/Driver/ToolChains.h

Issue 1208073002: [MIPS] Add support for direct-to-nacl in Clang (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-clang.git@master
Patch Set: Updated change. Created 5 years, 5 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.cpp » ('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 e4f6e563c7696d3178973ddad55275135136272e..c3918d81a79716dd176f2f96ecb4b1e8eed9502d 100644
--- a/lib/Driver/ToolChains.h
+++ b/lib/Driver/ToolChains.h
@@ -753,7 +753,9 @@ public:
llvm::opt::ArgStringList &CmdArgs) const override;
bool
- IsIntegratedAssemblerDefault() const override { return false; }
+ IsIntegratedAssemblerDefault() const override {
+ return getTriple().getArch() == llvm::Triple::mipsel;
+ }
// Get the path to the file containing NaCl's ARM macros. It lives in NaCl_TC
// because the AssembleARM tool needs a const char * that it can pass around
« no previous file with comments | « lib/CodeGen/TargetInfo.cpp ('k') | lib/Driver/ToolChains.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698