[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 Mar 7 13:58:32 PST 2023
ahatanak added inline comments.
================
Comment at: clang/test/Driver/save-stats.c:26
// CHECK-LTO: "-plugin-opt=stats-file=save-stats.stats"
+// CHECK-LTO: "-plugin-opt=-stats-file-append"
----------------
ahatanak wrote:
> Doesn't this require `stats-file-append` to be supported by the plugin just like `stats-file` is supported?
>
> https://github.com/llvm/llvm-project/blob/main/llvm/tools/gold/gold-plugin.cpp#L309
Do we want to pass `stats-file-append` in `tools::addLTOOptions`?
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