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

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: