[PATCH] D144981: [Driver] Allow to collect `-save-stats` data to a file specified in the environment variable.
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 28 14:44:06 PST 2023
ahatanak added inline comments.
================
Comment at: clang/lib/Frontend/CompilerInstance.cpp:1093
+ StatsFile, EC,
+ llvm::sys::fs::OF_Append | llvm::sys::fs::OF_TextWithCRLF);
if (EC) {
----------------
`OF_Append` is necessary when the results are written to a single file specified via `CC_PRINT_INTERNAL_STAT_FILE`, but do we want this change for users passing `-save-stats` to the command line?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144981/new/
https://reviews.llvm.org/D144981
More information about the cfe-commits
mailing list