]> granicus.if.org Git - clang/commit
Add Multilib selection machinery
authorJonathan Roelofs <jonathan@codesourcery.com>
Wed, 12 Feb 2014 03:21:20 +0000 (03:21 +0000)
committerJonathan Roelofs <jonathan@codesourcery.com>
Wed, 12 Feb 2014 03:21:20 +0000 (03:21 +0000)
commitddccd4eca1d469a4efe5968f74a3ca20a953f5f4
treef41840970c5936cb8b0e31c5385034127c71f264
parent56c7cf67c6809d3a9aaaf3ec1ccfb1a37982131c
Add Multilib selection machinery

This patch improves the support for picking Multilibs from gcc installations.
It also provides a better approximation for the flags '-print-multi-directory'
and '-print-multi-lib'.

This reverts r201203 (i.e. re-applying r201202 with small fixes in
unittests/CMakeLists.txtto make the build bots happy).

review: http://llvm-reviews.chandlerc.com/D2538

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201205 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/clang/Driver/Multilib.h [new file with mode: 0644]
include/clang/Driver/ToolChain.h
lib/Driver/CMakeLists.txt
lib/Driver/Driver.cpp
lib/Driver/Multilib.cpp [new file with mode: 0644]
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h
lib/Driver/Tools.cpp
lib/Driver/Tools.h
unittests/CMakeLists.txt
unittests/Driver/CMakeLists.txt [new file with mode: 0644]
unittests/Driver/Makefile [new file with mode: 0644]
unittests/Driver/MultilibTest.cpp [new file with mode: 0644]
unittests/Makefile