[clang] [llvm] [TimeProfiler][Clang] Add zstd-compressed time-trace output support (PR #228627)
Alina Sbirlea via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 4 12:18:18 PDT 2026
================
@@ -437,14 +474,35 @@ Error llvm::timeTraceProfilerWrite(StringRef PreferredFileName,
if (Path.empty()) {
Path = FallbackFileName == "-" ? "out" : FallbackFileName.str();
Path += TimeTraceFileExtension;
+ if (TimeTraceProfilerInstance->TimeTraceCompress ==
----------------
alinas wrote:
Hmm, is could be possible the given path does not have a .zst(d) extension, but the compression is specified as zstd, in which case the path is not currently updated. I'm assuming that's WAI.
https://github.com/llvm/llvm-project/pull/228627
More information about the llvm-commits
mailing list