[all-commits] [llvm/llvm-project] bb2683: [clang driver] Move default module cache from syst...
David Zarzycki via All-commits
all-commits at lists.llvm.org
Fri Jun 26 04:46:27 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: bb26838ceffb5feaa18186f55f7525a08084899e
https://github.com/llvm/llvm-project/commit/bb26838ceffb5feaa18186f55f7525a08084899e
Author: David Zarzycki <dave at znu.io>
Date: 2020-06-26 (Fri, 26 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
Log Message:
-----------
[clang driver] Move default module cache from system temporary directory
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