[clang] [clang][ssaf] Implement Entity Linker CLI and patching for JSON Format (PR #184713)
Balázs Benics via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 6 07:45:07 PST 2026
================
@@ -611,8 +651,9 @@ JSONFormat::entitySummaryFromJSON(const SummaryName &SN,
const auto &InfoEntry = InfoIt->second;
assert(InfoEntry.ForSummary == SN);
- EntityIdConverter Converter(*this);
- return InfoEntry.Deserialize(EntitySummaryObject, IdTable, Converter);
+ return InfoEntry.Deserialize(
+ EntitySummaryObject, IdTable,
+ [](const Object &Obj) { return entityIdFromJSONObject(Obj); });
----------------
steakhal wrote:
Could you just pass the address of this fn?
Similar in Serialize.
https://github.com/llvm/llvm-project/pull/184713
More information about the cfe-commits
mailing list