summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2016-01-06 07:24:45 +0000
committerEric Christopher <echristo@gmail.com>2016-01-06 07:24:45 +0000
commit29a50bccb98818d0beac75771242a24b0e7da0c3 (patch)
treed6f2d6bafb52584a175c77df6a2814b32f959f9a /clang/lib/Driver/Tools.h
parent1b94d9a3cc337d597147ac8ebaa106d8c11ef029 (diff)
downloadbcm5719-llvm-29a50bccb98818d0beac75771242a24b0e7da0c3.tar.gz
bcm5719-llvm-29a50bccb98818d0beac75771242a24b0e7da0c3.zip
Change the set of actions built for external gcc tools.
A gcc tool has an "integrated" assembler (usually gas) that it will call to produce an object. Let it use that assembler so that we don't have to deal with assembly syntax incompatibilities. llvm-svn: 256919
Diffstat (limited to 'clang/lib/Driver/Tools.h')
-rw-r--r--clang/lib/Driver/Tools.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Driver/Tools.h b/clang/lib/Driver/Tools.h
index 314315dea00..168662f7e7f 100644
--- a/clang/lib/Driver/Tools.h
+++ b/clang/lib/Driver/Tools.h
@@ -149,6 +149,10 @@ public:
Common(const char *Name, const char *ShortName, const ToolChain &TC)
: GnuTool(Name, ShortName, TC) {}
+ // A gcc tool has an "integrated" assembler that it will call to produce an
+ // object. Let it use that assembler so that we don't have to deal with
+ // assembly syntax incompatibilities.
+ bool hasIntegratedAssembler() const override { return true; }
void ConstructJob(Compilation &C, const JobAction &JA,
const InputInfo &Output, const InputInfoList &Inputs,
const llvm::opt::ArgList &TCArgs,
OpenPOWER on IntegriCloud