HomePhabricator

[Driver] Search the toolchain dir with -print-file-name

Authored by phosek on May 28 2019, 5:01 PM.

Description

[Driver] Search the toolchain dir with -print-file-name

This is useful when looking for directories or files relative to the
toolchain root, e.g. include/c++/v1. This change also adds a test
to make sure this functionality doesn't regress in the future.

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

llvm-svn: 361903