[stacktrace] libbacktrace callback for backtrace_pcinfo invalid return value
Hello all
See also: https://stackoverflow.com/questions/54333608/boost-stacktrace-not-demangling...
I am cross compiling boost on Unix for Windows with MINGW. I am using libbacktrace compiled using the same toolchain from here: https://github.com/ianlancetaylor/libbacktrace
Digging through the code of libbacktrace I was able to deduce that in a success case the return value of backtrace_pcinfo will be the return value of the callback supplied to that function (for DWARF search). The callback boost is giving looks like this:
inline int libbacktrace_full_callback(void *data, uintptr_t /*pc*/, const char *filename, int lineno, const char *function) {
pc_data& d = *static_cast
participants (1)
-
Muazin Mugadr