[lld] [llvm] [Support][LLD] .time-trace.json Default File Extension (PR #122207)

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 01:37:44 PDT 2026


================
@@ -84,6 +84,8 @@ namespace llvm {
 
 class raw_pwrite_stream;
 
+static constexpr const auto TimeTraceFileExtension = ".time-trace.json";
----------------
zmodem wrote:

Why put this in the header file and not the implementation file?

Also how about just `static const char TimeTraceFileExtension[] = ...`

https://github.com/llvm/llvm-project/pull/122207


More information about the llvm-commits mailing list