[Mips] Handle -mips32r[3|5] / -mips64r[3|5] options while selecting lib/headers paths
authorSimon Atanasyan <simon@atanasyan.com>
Thu, 26 Feb 2015 04:45:57 +0000 (04:45 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Thu, 26 Feb 2015 04:45:57 +0000 (04:45 +0000)
commit59b25cbeaa6d4768cb23814a637f5a814b83eead
treeebe4a5e08432839676405bd9f1152ab9a551aaf5
parenta346e03084dbaa16fa21862ec58db075fec64514
[Mips] Handle -mips32r[3|5] / -mips64r[3|5] options while selecting lib/headers paths

There is no supported toolchain which provides headers / libs / object
files specific to the mips32r[3|5] and mips64r[3|5] ISA. So select "r2"
specific folders when they are available.

http://reviews.llvm.org/D7879

llvm-svn: 230611
clang/lib/Driver/ToolChains.cpp
clang/test/Driver/mips-fsf.cpp