summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.h
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-09-19 18:19:44 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-09-19 18:19:44 +0000
commitce63ce947e2f0356f86a274ff4a53aab7c0034a1 (patch)
treee36fe3cddf7e5e7c6b1f22ef5fb5188196ecfdf1 /clang/lib/Driver/Tools.h
parent27f81776ad9ff370b3adfff36919c6aa1fcfdacf (diff)
downloadbcm5719-llvm-ce63ce947e2f0356f86a274ff4a53aab7c0034a1.tar.gz
bcm5719-llvm-ce63ce947e2f0356f86a274ff4a53aab7c0034a1.zip
Driver: tweak ARM target feature calculation
Rather than using re-calculating the effective triple, thread the already calculated value down into AddARMTargetArgs. This avoids both recreating the triple, as well as re-parsing the triple as it was already done in the previous frame. llvm-svn: 248094
Diffstat (limited to 'clang/lib/Driver/Tools.h')
-rw-r--r--clang/lib/Driver/Tools.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Driver/Tools.h b/clang/lib/Driver/Tools.h
index b1d5d69eb16..2efcba7217a 100644
--- a/clang/lib/Driver/Tools.h
+++ b/clang/lib/Driver/Tools.h
@@ -59,7 +59,8 @@ private:
void AddAArch64TargetArgs(const llvm::opt::ArgList &Args,
llvm::opt::ArgStringList &CmdArgs) const;
- void AddARMTargetArgs(const llvm::opt::ArgList &Args,
+ void AddARMTargetArgs(const llvm::Triple &Triple,
+ const llvm::opt::ArgList &Args,
llvm::opt::ArgStringList &CmdArgs,
bool KernelOrKext) const;
void AddARM64TargetArgs(const llvm::opt::ArgList &Args,
OpenPOWER on IntegriCloud