mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Ignore out-of-symbol jumps.
This commit is contained in:
parent
f2b044438d
commit
bda5c1d13e
@ -177,7 +177,7 @@ bool SourceView::Disassemble( uint64_t symAddr, const Worker& worker )
|
|||||||
assert( false );
|
assert( false );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if( jumpAddr != 0 )
|
if( jumpAddr >= symAddr && jumpAddr < symAddr + len )
|
||||||
{
|
{
|
||||||
const auto min = std::min( jumpAddr, op.address );
|
const auto min = std::min( jumpAddr, op.address );
|
||||||
const auto max = std::max( jumpAddr, op.address );
|
const auto max = std::max( jumpAddr, op.address );
|
||||||
|
Loading…
Reference in New Issue
Block a user