r351217 - [Solaris] Move enabling IAS for SPARC from the Solaris toolchain to Generic_GCC.
Brad Smith via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 15 10:24:03 PST 2019
Author: brad
Date: Tue Jan 15 10:24:03 2019
New Revision: 351217
URL: http://llvm.org/viewvc/llvm-project?rev=351217&view=rev
Log:
[Solaris] Move enabling IAS for SPARC from the Solaris toolchain to Generic_GCC.
Modified:
cfe/trunk/lib/Driver/ToolChains/Gnu.cpp
cfe/trunk/lib/Driver/ToolChains/Solaris.h
Modified: cfe/trunk/lib/Driver/ToolChains/Gnu.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/Gnu.cpp?rev=351217&r1=351216&r2=351217&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/Gnu.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains/Gnu.cpp Tue Jan 15 10:24:03 2019
@@ -2475,6 +2475,12 @@ bool Generic_GCC::IsIntegratedAssemblerD
case llvm::Triple::mips64:
case llvm::Triple::mips64el:
return true;
+ case llvm::Triple::sparc:
+ case llvm::Triple::sparcel:
+ case llvm::Triple::sparcv9:
+ if (getTriple().isOSSolaris())
+ return true;
+ return false;
default:
return false;
}
Modified: cfe/trunk/lib/Driver/ToolChains/Solaris.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/Solaris.h?rev=351217&r1=351216&r2=351217&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/Solaris.h (original)
+++ cfe/trunk/lib/Driver/ToolChains/Solaris.h Tue Jan 15 10:24:03 2019
@@ -55,8 +55,6 @@ public:
Solaris(const Driver &D, const llvm::Triple &Triple,
const llvm::opt::ArgList &Args);
- bool IsIntegratedAssemblerDefault() const override { return true; }
-
void
AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,
llvm::opt::ArgStringList &CC1Args) const override;
More information about the cfe-commits
mailing list