[Driver] Add option to print the resource directory
authorMeador Inge <meadori@codesourcery.com>
Tue, 4 Apr 2017 21:46:50 +0000 (21:46 +0000)
committerMeador Inge <meadori@codesourcery.com>
Tue, 4 Apr 2017 21:46:50 +0000 (21:46 +0000)
commit51208a38de9ea04e3e36022c02db68d911e96d1a
tree4e5a7aac05ed84dd2d60739542cc58a99d16a787
parentc745b6a1f6eecf3429b6ebdbcae5d524f7efacb2
[Driver] Add option to print the resource directory

This patch adds the option -print-resource-dir. It simply
prints the resource directory. This information will eventually
be used in compiler-rt to setup COMPILER_RT_LIBRARY_INSTALL_DIR.

Patch by Catherine Moore!

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

llvm-svn: 299473
clang/include/clang/Driver/Options.td
clang/lib/Driver/Driver.cpp
clang/test/Driver/immediate-options.c