MCPcopy Create free account
hub / github.com/bloomberg/pystack / dwarfModuleAddrDie

Method dwarfModuleAddrDie

src/pystack/_pystack/unwinder.cpp:332–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332Dwarf_Die*
333AbstractUnwinder::dwarfModuleAddrDie(Dwarf_Addr pc_adjusted, Dwfl_Module* mod, Dwarf_Addr* bias) const
334{
335 Dwarf_Die* cudie = dwfl_module_addrdie(mod, pc_adjusted, bias);
336 if (!cudie) {
337 // Clang does produce suboptimal DWARF information, and in particular it
338 // does not produce the ARANGES attribute in the DIE information, preventing
339 // the previous call to work. To work around this, we need to scan
340 // everything ourselves manually to reconstruct the missing information.
341 cudie = d_range_maps_cache.moduleAddrDie(mod, pc_adjusted, bias);
342 }
343 return cudie;
344}
345
346struct ModuleArg
347{

Callers

nothing calls this directly

Calls 1

moduleAddrDieMethod · 0.80

Tested by

no test coverage detected