restore stack traces that were broken by ebfe8c4e0e

This commit is contained in:
Sergei Golubchik
2020-03-11 12:17:27 +01:00
parent 2fde97119e
commit 0afccbf7b8

View File

@ -310,12 +310,8 @@ int my_addr_resolve(void *ptr, my_addr_loc *loc)
/* Save result for future comparisons. */
strnmov(addr2line_binary, info.dli_fname, sizeof(addr2line_binary));
}
if (!(error= addr_resolve(ptr, loc)))
return 0;
#ifdef EXTRA_RESOLVE
if (!(error= addr_resolve((void*) (ptr - info.dli_fbase), loc)))
return 0;
#endif
return error;
}