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

Method moduleAddrDie

src/pystack/_pystack/unwinder.cpp:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52Dwarf_Die*
53ModuleCuDieRanges::moduleAddrDie(Dwfl_Module* mod, Dwarf_Addr addr, Dwarf_Addr* bias)
54{
55 auto it = d_die_range_maps.find(mod);
56 if (it == d_die_range_maps.end()) {
57 it = d_die_range_maps.insert({mod, CuDieRanges(mod)}).first;
58 }
59 return it->second.findDie(addr, bias);
60}
61
62// AbstractUnwinder utilities
63

Callers 1

dwarfModuleAddrDieMethod · 0.80

Calls 2

CuDieRangesClass · 0.85
findDieMethod · 0.80

Tested by

no test coverage detected