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
This commit is contained in:
Dimitry Andric 2014-02-21 20:55:34 +00:00
parent 461918e205
commit 52be84ca03
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=262303

View File

@ -512,7 +512,12 @@ class LLVM_LIBRARY_VISIBILITY FreeBSD : public Generic_ELF {
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: