From: Chad Rosier Date: Sat, 25 Feb 2012 20:32:43 +0000 (+0000) Subject: Temporarily revert r151288: X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1868793bfb3ffcb6f569cf362f7c5db1f52525c;p=clang Temporarily revert r151288: ARM: enable the integrated assembler by default for Darwin. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151454 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/ToolChains.h b/lib/Driver/ToolChains.h index 0fb213828f..98c226b0e1 100644 --- a/lib/Driver/ToolChains.h +++ b/lib/Driver/ToolChains.h @@ -329,8 +329,9 @@ public: #ifdef DISABLE_DEFAULT_INTEGRATED_ASSEMBLER return false; #else - // Default integrated assembler to on for Darwin. - return true; + // Default integrated assembler to on for x86. + return (getTriple().getArch() == llvm::Triple::x86 || + getTriple().getArch() == llvm::Triple::x86_64); #endif } virtual bool IsStrictAliasingDefault() const {