Introduce an API for LLDB to compute the default module cache path
authorAdrian Prantl <aprantl@apple.com>
Fri, 9 Feb 2018 18:43:10 +0000 (18:43 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 9 Feb 2018 18:43:10 +0000 (18:43 +0000)
commit70599030f80d7de2d71ef61c9fd4c385f82df2ec
tree0ef25815ad1b2d372f78d5496a11345ee2fd9044
parent58914ecb64f1b9ad215bab63e6da777e8e99bc71
Introduce an API for LLDB to compute the default module cache path

LLDB creates Clang modules and had an incomplete copy of the clang
Driver code that compute the -fmodule-cache-path. This patch makes the
clang driver code accessible to LLDB.

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

llvm-svn: 324761
clang/include/clang/Driver/Driver.h
clang/lib/Driver/ToolChains/Clang.cpp