projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77dce2f
)
Use the integrated assembler on NetBSD/powerpc by default.
author
Joerg Sonnenberger
<joerg@bec.de>
Thu, 15 Aug 2013 15:04:56 +0000
(15:04 +0000)
committer
Joerg Sonnenberger
<joerg@bec.de>
Thu, 15 Aug 2013 15:04:56 +0000
(15:04 +0000)
llvm-svn: 188462
clang/lib/Driver/ToolChains.h
patch
|
blob
|
history
diff --git
a/clang/lib/Driver/ToolChains.h
b/clang/lib/Driver/ToolChains.h
index d5c57a96f043376069dcd82624ef29a30fb9182b..9e83013dbea0e9ca578b8656a49699b022e8a0b5 100644
(file)
--- a/
clang/lib/Driver/ToolChains.h
+++ b/
clang/lib/Driver/ToolChains.h
@@
-514,6
+514,11
@@
public:
virtual void
AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs,
llvm::opt::ArgStringList &CC1Args) const;
+ virtual bool IsIntegratedAssemblerDefault() const {
+ if (getTriple().getArch() == llvm::Triple::ppc)
+ return true;
+ return Generic_ELF::IsIntegratedAssemblerDefault();
+ }
protected:
virtual Tool *buildAssembler() const;