mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Linux: delete /tmp/perf.map on exit
This commit is contained in:
parent
eb4131e1c7
commit
5d91caebe9
2 changed files with 36 additions and 6 deletions
|
@ -92,6 +92,8 @@ LOG_CHANNEL(q_debug, "QDEBUG");
|
|||
|
||||
[[noreturn]] extern void report_fatal_error(std::string_view _text)
|
||||
{
|
||||
extern void jit_announce(uptr, usz, std::string_view);
|
||||
|
||||
std::string buf;
|
||||
|
||||
// Check if thread id is in string
|
||||
|
@ -124,6 +126,9 @@ LOG_CHANNEL(q_debug, "QDEBUG");
|
|||
[[maybe_unused]] const auto con_out = freopen("conout$", "w", stderr);
|
||||
#endif
|
||||
std::cerr << fmt::format("RPCS3: %s\n", text);
|
||||
#ifdef __linux__
|
||||
jit_announce(0, 0, "");
|
||||
#endif
|
||||
std::abort();
|
||||
}
|
||||
|
||||
|
@ -207,6 +212,9 @@ LOG_CHANNEL(q_debug, "QDEBUG");
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifdef __linux__
|
||||
jit_announce(0, 0, "");
|
||||
#endif
|
||||
std::abort();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue