Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2014 20:55:34 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262303 - head/contrib/llvm/tools/clang/lib/Driver
Message-ID:  <201402212055.s1LKtYlE055447@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Fri Feb 21 20:55:34 2014
New Revision: 262303
URL: http://svnweb.freebsd.org/changeset/base/262303

Log:
  Pull in r197521 from upstream clang trunk (by rdivacky):
  
    Use the integrated assembler by default on FreeBSD/ppc and ppc64.
  
  Requested by:	jhibbits
  MFC after:	1 month
  X-MFC-With:	r261991

Modified:
  head/contrib/llvm/tools/clang/lib/Driver/ToolChains.h

Modified: head/contrib/llvm/tools/clang/lib/Driver/ToolChains.h
==============================================================================
--- head/contrib/llvm/tools/clang/lib/Driver/ToolChains.h	Fri Feb 21 19:58:45 2014	(r262302)
+++ head/contrib/llvm/tools/clang/lib/Driver/ToolChains.h	Fri Feb 21 20:55:34 2014	(r262303)
@@ -512,7 +512,12 @@ public:
   virtual void
   AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs,
                                llvm::opt::ArgStringList &CC1Args) const;
-
+  virtual bool IsIntegratedAssemblerDefault() const {
+    if (getTriple().getArch() == llvm::Triple::ppc ||
+        getTriple().getArch() == llvm::Triple::ppc64)
+      return true;
+    return Generic_ELF::IsIntegratedAssemblerDefault();
+  }
 
   virtual bool UseSjLjExceptions() const;
 protected:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402212055.s1LKtYlE055447>