[PATCH] D82259: Deprecate error prone temporary directory APIs
Saleem Abdulrasool via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 21 16:56:58 PDT 2020
compnerd added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:3177
llvm::sys::path::append(Result, "ModuleCache");
}
----------------
This default path is not ideal for Linux. On Linux, if we want to put this into the home directory, we should follow XDG and put this into the `~/.cache/org.llvm.clang/ModuleCache`, respecting the environment variable `XDG_CACHE_DIR`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82259/new/
https://reviews.llvm.org/D82259
More information about the llvm-commits
mailing list