diff --git a/Utilities/Thread.cpp b/Utilities/Thread.cpp index 05864168df..8c536a06a6 100644 --- a/Utilities/Thread.cpp +++ b/Utilities/Thread.cpp @@ -2389,7 +2389,7 @@ u64 thread_base::get_cycles() } } -void thread_ctrl::emergency_exit(std::string_view reason) +[[noreturn]] void thread_ctrl::emergency_exit(std::string_view reason) { sig_log.fatal("Thread terminated due to fatal error: %s", reason);