summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2025-03-04 12:41:16 -0800
committerGitHub <noreply@github.com>2025-03-04 12:41:16 -0800
commit1b46db77765bb0a25d784924a9785d9686cf67e0 (patch)
treeeeaf72d6863596c0a7a18f4663238cc5a64ee44c /lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.cpp
parentc8dd8522faff572b5823304d66cdb625b6b8b6bc (diff)
[ctxprof] ProfileWriter abstraction (#129590)
Introduce a `ProfileWriter` abstraction to replace the callback passed to `__llvm_ctx_profile_fetch`. Subsequent changes will add support for flat profile collection (as in, collection of non-contextual profile for those functions not under a contextual root), which require also a change in the profile format. The abstraction makes it easy to add "write flat" - related capabilities without constantly complicating the signature of `__llvm_ctx_profile_fetch`.
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.cpp')
0 files changed, 0 insertions, 0 deletions