[all-commits] [llvm/llvm-project] dab859: Reland: [clang driver] Move default module cache f...
David Zarzycki via All-commits
all-commits at lists.llvm.org
Sat Jun 27 02:36:27 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: dab859d1bf250c4d0299ac505e2a6773c56b6503
https://github.com/llvm/llvm-project/commit/dab859d1bf250c4d0299ac505e2a6773c56b6503
Author: David Zarzycki <dave at znu.io>
Date: 2020-06-27 (Sat, 27 Jun 2020)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Driver/Driver.h
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/modules-cache-path.m
M clang/unittests/Driver/ModuleCacheTest.cpp
M llvm/lib/Support/Unix/Path.inc
M llvm/unittests/Support/Path.cpp
Log Message:
-----------
Reland: [clang driver] Move default module cache from system temporary directory
This fixes a unit test. Otherwise here is the original commit:
1) Shared writable directories like /tmp are a security problem.
2) Systems provide dedicated cache directories these days anyway.
3) This also refines LLVM's cache_directory() on Darwin platforms to use
the Darwin per-user cache directory.
Reviewers: compnerd, aprantl, jakehehrlich, espindola, respindola, ilya-biryukov, pcc, sammccall
Reviewed By: compnerd, sammccall
Subscribers: hiraditya, llvm-commits, cfe-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D82362
More information about the All-commits
mailing list