[llvm] [GSYM] Callsites: Add data format support and loading from YAML (PR #109781)

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 27 14:03:08 PDT 2024


================
@@ -32,6 +33,8 @@ raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const FunctionInfo &FI) {
     OS << FI.OptLineTable << '\n';
   if (FI.Inline)
     OS << FI.Inline << '\n';
+  if (FI.CallSites)
+    OS << *FI.CallSites << '\n';
----------------
alx32 wrote:

I don't think this code is used at all. I added it here for consistency - but I could not find any usage / test coverage. 

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


More information about the llvm-commits mailing list