a426b286c8
patch for r263619, and unify all the URLs to point to svnweb.
26 lines
968 B
Diff
26 lines
968 B
Diff
Pull in r197521 from upstream clang trunk (by Roman Divacky):
|
|
|
|
Use the integrated assembler by default on FreeBSD/ppc and ppc64.
|
|
|
|
Introduced here: http://svnweb.freebsd.org/changeset/base/262303
|
|
|
|
Index: tools/clang/lib/Driver/ToolChains.h
|
|
===================================================================
|
|
--- tools/clang/lib/Driver/ToolChains.h
|
|
+++ tools/clang/lib/Driver/ToolChains.h
|
|
@@ -512,8 +512,13 @@ class LLVM_LIBRARY_VISIBILITY FreeBSD : public Gen
|
|
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:
|
|
virtual Tool *buildAssembler() const;
|