]> granicus.if.org Git - clang/commit
[Driver] Compute effective target triples once per job (NFCI)
authorVedant Kumar <vsk@apple.com>
Mon, 18 Jul 2016 19:56:38 +0000 (19:56 +0000)
committerVedant Kumar <vsk@apple.com>
Mon, 18 Jul 2016 19:56:38 +0000 (19:56 +0000)
commit126d42279ed3058c009894d534453e03c2b13a9e
treeaea159fc9d41b43d66123693166006a169947008
parent7dd6e493971e29a300c1374a0329d4cb8b73590e
[Driver] Compute effective target triples once per job (NFCI)

Compute an effective target triple exactly once in ConstructJob(), and
then simply pass around references to it. This eliminates wasteful
re-computation of effective triples (e.g in getARMFloatABI()).

Differential Revision: https://reviews.llvm.org/D22290

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275895 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ReleaseNotes.rst
include/clang/Driver/SanitizerArgs.h
include/clang/Driver/Tool.h
include/clang/Driver/ToolChain.h
lib/Driver/Driver.cpp
lib/Driver/SanitizerArgs.cpp
lib/Driver/ToolChain.cpp
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h
lib/Driver/Tools.cpp
lib/Driver/Tools.h