mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Fix Dwarf range list parsing in stack symbolizer
This commit is contained in:
parent
7b2ec7ea33
commit
4eb2bf3419
@ -1559,8 +1559,7 @@ bool Dwarf::isAddrInRangeList(const CompilationUnit & cu,
|
|||||||
auto sp_start = addr_.substr(*cu.addr_base + index_start * sizeof(uint64_t));
|
auto sp_start = addr_.substr(*cu.addr_base + index_start * sizeof(uint64_t));
|
||||||
auto start = read<uint64_t>(sp_start);
|
auto start = read<uint64_t>(sp_start);
|
||||||
|
|
||||||
auto sp_end = addr_.substr(*cu.addr_base + index_start * sizeof(uint64_t) + length);
|
auto end = start + length;
|
||||||
auto end = read<uint64_t>(sp_end);
|
|
||||||
if (start != end && address >= start && address < end)
|
if (start != end && address >= start && address < end)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user