[clang] [llvm] Add source file name for template instantiations in -ftime-trace (PR #98320)

Ilya Biryukov via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 10:03:32 PDT 2024


================
@@ -83,16 +83,27 @@ namespace llvm {
 
 class raw_pwrite_stream;
 
+struct TimeTraceMetadata {
----------------
ilya-biryukov wrote:

Could we also include the line numbers?
I suspect it would be trivial to add that, but we will have an option of pointing at an exact line in the file.
It should greatly improve the UX of the tools that are capable of consuming this information.

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


More information about the llvm-commits mailing list