From 23cc60bf06740bd08b59959d7ffb46c173229087 Mon Sep 17 00:00:00 2001 From: psucien Date: Sun, 2 Jun 2024 19:16:05 +0200 Subject: [PATCH] video_core: amdgpu: simply crash if an exception occured in coro --- src/video_core/amdgpu/liverpool.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/video_core/amdgpu/liverpool.h b/src/video_core/amdgpu/liverpool.h index 56f695ca..b09182ae 100644 --- a/src/video_core/amdgpu/liverpool.h +++ b/src/video_core/amdgpu/liverpool.h @@ -834,7 +834,9 @@ private: static constexpr std::suspend_always final_suspend() noexcept { return {}; } - void unhandled_exception() {} + void unhandled_exception() { + UNREACHABLE(); + } void return_void() {} struct empty {}; std::suspend_always yield_value(empty&&) {