[clang] Record mainfile name in the Frontend time trace (PR #99866)

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 22 07:51:29 PDT 2024


================
@@ -209,7 +208,7 @@ constexpr int slow_init_list[] = {1, 1, 2, 3, 5, 8, 13, 21}; // 25th line
   ASSERT_TRUE(compileFromString(Code, "-std=c++20", "test.cc"));
   std::string Json = teardownProfiler();
   ASSERT_EQ(R"(
-Frontend
+Frontend (, test.cc)
----------------
usx95 wrote:

Removed extraneous ` ,`

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


More information about the cfe-commits mailing list