mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-14 05:29:57 +00:00
81ed54d13e
This implements backtraces so we don't have to tell users how to use gdb anymore. This prints a backtrace after abort or segfault is detected. It also fixes the log getting cut off with the last line containing only a bracket. This change lets us know what caused a crash not just what happened the few seconds before it. I only know how to add support for Linux with GCC. Also this doesn't work outside of C/C++ such as in dynarmic or certain parts of graphics drivers. The good thing is that it'll try and just crash again but the stack frames are still there so the core dump will work just like before. |
||
---|---|---|
.. | ||
backend.cpp | ||
backend.h | ||
filter.cpp | ||
filter.h | ||
log.h | ||
text_formatter.cpp | ||
text_formatter.h | ||
types.h |