]> granicus.if.org Git - clang/commit
[Driver] Search compiler-rt paths in -print-file-name=
authorPetr Hosek <phosek@chromium.org>
Thu, 10 Aug 2017 04:16:38 +0000 (04:16 +0000)
committerPetr Hosek <phosek@chromium.org>
Thu, 10 Aug 2017 04:16:38 +0000 (04:16 +0000)
commit442874b97b7d00e027d2e95398e6b04a220c8d66
tree34187421a052d7ae954cd0f4c56f86cf4c1e3f73
parenta84910e5897a9e331f9dcdea4e85b902d544b18e
[Driver] Search compiler-rt paths in -print-file-name=

This makes it possible to print the name of compiler-rt libraries
by using simply clang -print-file-name=libclang_rt.${runtime}-${arch}.so
same as other libraries, without having to know the details of the
resource directory organization.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310548 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/ToolChain.h
lib/Driver/Driver.cpp
lib/Driver/ToolChain.cpp