]> granicus.if.org Git - clang/commit
[runtimes] Move libunwind, libc++abi and libc++ to lib/ and include/
authorPetr Hosek <phosek@chromium.org>
Fri, 8 Mar 2019 05:35:22 +0000 (05:35 +0000)
committerPetr Hosek <phosek@chromium.org>
Fri, 8 Mar 2019 05:35:22 +0000 (05:35 +0000)
commit60510251f0c7e121e59a5477103c53e69833ca56
treed463fa89f066c3e8f84d16e9690862dce2b90850
parentae78f33054b081980625557c31599d3548954461
[runtimes] Move libunwind, libc++abi and libc++ to lib/ and include/

This change is a consequence of the discussion in "RFC: Place libs in
Clang-dedicated directories", specifically the suggestion that
libunwind, libc++abi and libc++ shouldn't be using Clang resource
directory.  Tools like clangd make this assumption, but this is
currently not true for the LLVM_ENABLE_PER_TARGET_RUNTIME_DIR build.
This change addresses that by moving the output of these libraries to
lib/<target> and include/ directories, leaving resource directory only
for compiler-rt runtimes and Clang builtin headers.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@355665 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChain.cpp
lib/Driver/ToolChains/Fuchsia.cpp
lib/Driver/ToolChains/Linux.cpp
test/Driver/linux-per-target-runtime-dir.c