mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-27 16:05:04 +00:00
fixes to stack trace code under x64 (from work):
- displaying symbol values requires stack pointer, not frame pointer - update debug_IsPointerBogus - skip-n-frames code changed to skip-all-frames-up-to-func (more reliable in the face of inlining) debug.cpp: cleanup This was SVN commit r6410.
This commit is contained in:
@@ -32,7 +32,7 @@ static LibError validate_da(DynArray* da)
|
||||
const int prot = da->prot;
|
||||
|
||||
// note: this happens if max_size == 0
|
||||
// if(debug_is_pointer_bogus(base))
|
||||
// if(debug_IsPointerBogus(base))
|
||||
// WARN_RETURN(ERR::_1);
|
||||
// note: don't check if base is page-aligned -
|
||||
// might not be true for 'wrapped' mem regions.
|
||||
|
||||
Reference in New Issue
Block a user