================
@@ -0,0 +1,364 @@
+{
+  "data": [
+    {
+      "summary_data": [
+        {
+          "entity_id": 0,
+          "entity_summary": {
+            "call_count": 3,
+            "callees": [
+              {
+                "@": 1
+              },
+              {
+                "@": 2
+              },
+              {
+                "@": 3
+              }
+            ]
+          }
+        },
+        {
+          "entity_id": 1,
+          "entity_summary": {
+            "call_count": 2,
+            "callees": [
+              {
+                "@": 0
+              },
+              {
+                "@": 4
+              }
+            ]
+          }
+        },
+        {
+          "entity_id": 2,
+          "entity_summary": {
+            "call_count": 1,
+            "callees": [
+              {
+                "@": 5
+              }
+            ]
+          }
+        },
+        {
+          "entity_id": 3,
+          "entity_summary": {
+            "call_count": 2,
+            "callees": [
+              {
+                "@": 0
+              },
+              {
+                "@": 1
+              }
+            ]
+          }
+        },
+        {
+          "entity_id": 4,
+          "entity_summary": {
+            "call_count": 1,
+            "callees": [
+              {
+                "@": 3
+              }
+            ]
+          }
+        },
+        {
+          "entity_id": 5,
+          "entity_summary": {
+            "call_count": 3,
+            "callees": [
+              {
+                "@": 0
+              },
+              {
+                "@": 3
+              },
+              {
+                "@": 4
+              }
+            ]
+          }
+        }
+      ],
+      "summary_name": "CallGraph"
+    },
+    {
+      "summary_data": [
+        {
+          "entity_id": 0,
+          "entity_summary": {
+            "direct": {
+              "@": 3
+            },
+            "indirect": [
+              {
+                "entity": {
+                  "@": 1
+                },
+                "level": 1
+              },
+              {
+                "entity": {
+                  "@": 4
+                },
+                "level": 2
+              }
+            ]
+          }
+        },
+        {
+          "entity_id": 1,
+          "entity_summary": {
+            "direct": {
+              "@": 0
+            },
+            "indirect": [
+              {
+                "entity": {
+                  "@": 2
+                },
+                "level": 1
+              },
+              {
+                "entity": {
+                  "@": 5
+                },
+                "level": 2
+              }
+            ]
+          }
+        },
+        {
+          "entity_id": 2,
+          "entity_summary": {
+            "direct": {
+              "@": 1
+            },
+            "indirect": [
+              {
+                "entity": {
+                  "@": 3
+                },
+                "level": 1
+              }
+            ]
+          }
+        },
+        {
+          "entity_id": 3,
+          "entity_summary": {
+            "direct": {
+              "@": 4
+            },
+            "indirect": [
+              {
+                "entity": {
+                  "@": 0
+                },
+                "level": 1
+              },
+              {
+                "entity": {
+                  "@": 2
+                },
+                "level": 2
+              }
+            ]
+          }
+        },
+        {
+          "entity_id": 4,
+          "entity_summary": {
+            "direct": {
+              "@": 5
+            },
+            "indirect": [
+              {
+                "entity": {
+                  "@": 1
+                },
+                "level": 1
+              }
+            ]
+          }
+        },
+        {
+          "entity_id": 5,
+          "entity_summary": {
+            "direct": {
+              "@": 2
+            },
+            "indirect": [
+              {
+                "entity": {
+                  "@": 0
+                },
+                "level": 1
+              },
+              {
----------------
steakhal wrote:

I know that it's "my problem" but this formats terrible. I think it's still the 
best we can have if we don't want to enforce future devs to install custom 
formatters like FracturedJson.  
I for sure checked out the code and reformatted it to spare myself from 
spending my whole day scrolling.

https://github.com/llvm/llvm-project/pull/184713
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to