]> granicus.if.org Git - clang/commit
[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)
commit9ec7bba8d029b29ed4387a0d59a92382aa2ade70
treee8b812d15d205185681cdd78c74f95533bb48ad9
parent6abfe5cfd2160d5c1c8594673ae995151afad6f5
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299473 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Driver/Driver.cpp
test/Driver/immediate-options.c