creport: speed up code region detection (closes #491)

This commit is contained in:
Michael Scire 2019-04-12 23:04:12 -07:00
parent ac07971211
commit d0659377e8

View file

@ -136,7 +136,7 @@ bool CodeList::TryFindCodeRegion(Handle debug_handle, u64 guess, u64 *address) {
return true;
}
guess -= 4;
guess = mi.addr - 4;
}
return false;
}