video_core: amdgpu: simply crash if an exception occured in coro

This commit is contained in:
psucien 2024-06-02 19:16:05 +02:00
parent 863d80c16c
commit 23cc60bf06
1 changed files with 3 additions and 1 deletions

View File

@ -834,7 +834,9 @@ private:
static constexpr std::suspend_always final_suspend() noexcept { static constexpr std::suspend_always final_suspend() noexcept {
return {}; return {};
} }
void unhandled_exception() {} void unhandled_exception() {
UNREACHABLE();
}
void return_void() {} void return_void() {}
struct empty {}; struct empty {};
std::suspend_always yield_value(empty&&) { std::suspend_always yield_value(empty&&) {