[clang] [clang][unittests] Check TimeProfilerTest graphs by event order (PR #237163)
Mattéo Rizza Murgier via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 4 02:53:09 PST 2026
================
@@ -166,12 +169,13 @@ std::string GetMetadata(json::Object *Event) {
}
// Returns pretty-printed trace graph.
-std::string buildTraceGraph(StringRef Json) {
+std::string buildTraceGraph(StringRef Json, StringRef ExpectedGraph) {
----------------
matteo-rm wrote:
Maybe we can update the name (and comment) to something like `checkTraceGraph` since this doesn't build the graph anymore.
https://github.com/llvm/llvm-project/pull/237163
More information about the cfe-commits
mailing list