class CallSiteSymbolDataProvider
Defined at line 30 of file ../../src/developer/debug/zxdb/client/call_site_symbol_data_provider.h
Implementation of SymbolDataProvider that links to a function call site within a given frame.
This is ued by a deeper frame to evaluate the registers at the call site for the purposes of
DWARF expressions containing DW_OP_entry_value.
This uses the saved registers for the previous frame (which should be valid at the nested frame's
call site), as well as any DW_TAG_call_site / DW_TAG_call_site_parameter entries corresponding
to the call (see CallSite objects exposed by CodeBlock).
It allows access to memory. Theoretically, any memory could have changed from the time of the
call, but we expect any references from with an "entry value" DWARF expression to make sense in
this context. Generally any memory accesses will refer to entries in the caller's stack.
Public Methods
fxl::RefPtr<SymbolDataProvider> GetEntryDataProvider ()
SymbolDataProvider implementation:
Defined at line 42 of file ../../src/developer/debug/zxdb/client/call_site_symbol_data_provider.cc
std::optional<cpp20::span<const uint8_t>> GetRegister (debug::RegisterID id)
Defined at line 46 of file ../../src/developer/debug/zxdb/client/call_site_symbol_data_provider.cc
void GetRegisterAsync (debug::RegisterID id, GetRegisterCallback callback)
Defined at line 63 of file ../../src/developer/debug/zxdb/client/call_site_symbol_data_provider.cc
void WriteRegister (debug::RegisterID id, std::vector<uint8_t> data, WriteCallback cb)
Defined at line 110 of file ../../src/developer/debug/zxdb/client/call_site_symbol_data_provider.cc
std::optional<uint64_t> GetFrameBase ()
Defined at line 116 of file ../../src/developer/debug/zxdb/client/call_site_symbol_data_provider.cc
void GetFrameBaseAsync (GetFrameBaseCallback callback)
Defined at line 120 of file ../../src/developer/debug/zxdb/client/call_site_symbol_data_provider.cc
uint64_t GetCanonicalFrameAddress ()
Defined at line 124 of file ../../src/developer/debug/zxdb/client/call_site_symbol_data_provider.cc
Friends
class RefCountedThreadSafe
class MakeRefCountedHelper