Separate construction of bi-arch path suffix from construction of
authorSimon Atanasyan <simon@atanasyan.com>
Sat, 28 Sep 2013 13:45:11 +0000 (13:45 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Sat, 28 Sep 2013 13:45:11 +0000 (13:45 +0000)
commit5c805e92a5f70a913bc3bfcd15c44875974c2111
tree1c6adbc7f804d64b444931da07fe0f3e68855276
parent9beaf20b882eb83082da27a74760277bb9fc0bdd
Separate construction of bi-arch path suffix from construction of
multi-library path suffix.

The code calculates MIPS toolchain specific multi-lib path suffixes like
mips16/soft-float/el is moved to the separate function
findMultiLibSuffix(). This function called during GCC installation
detection and result is stored for the future using.

The patch reviewed by Rafael Espindola.
http://llvm-reviews.chandlerc.com/D1738

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191612 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h
test/Driver/mips-cs-ld.c