[cfe-commits] r106641 - /cfe/trunk/lib/Driver/ToolChains.h
Daniel Dunbar
daniel at zuster.org
Wed Jun 23 11:15:13 PDT 2010
Author: ddunbar
Date: Wed Jun 23 13:15:13 2010
New Revision: 106641
URL: http://llvm.org/viewvc/llvm-project?rev=106641&view=rev
Log:
Driver: Add make variable to allow disabling default integrated assembler, till
all the kinks are worked out.
Modified:
cfe/trunk/lib/Driver/ToolChains.h
Modified: cfe/trunk/lib/Driver/ToolChains.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.h?rev=106641&r1=106640&r2=106641&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.h (original)
+++ cfe/trunk/lib/Driver/ToolChains.h Wed Jun 23 13:15:13 2010
@@ -157,9 +157,13 @@
return !isMacosxVersionLT(10, 6);
}
virtual bool IsIntegratedAssemblerDefault() const {
+#ifdef DISABLE_DEFAULT_INTEGRATED_ASSEMBLER
+ return false;
+#else
// Default integrated assembler to on for x86.
return (getTriple().getArch() == llvm::Triple::x86 ||
getTriple().getArch() == llvm::Triple::x86_64);
+#endif
}
virtual bool IsObjCNonFragileABIDefault() const {
// Non-fragile ABI is default for everything but i386.
More information about the cfe-commits
mailing list