mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-09 16:40:03 +01:00
Raise SIGTRAP on non-Windows
This commit is contained in:
parent
306e070ab5
commit
dacaeadb6a
@ -7,6 +7,7 @@
|
|||||||
#include <cinttypes>
|
#include <cinttypes>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
#include <signal.h>
|
||||||
|
|
||||||
#include <catch.hpp>
|
#include <catch.hpp>
|
||||||
#include <frontend/ir/ir.h>
|
#include <frontend/ir/ir.h>
|
||||||
@ -236,6 +237,8 @@ void FuzzJitArm(const size_t instruction_count, const size_t instructions_to_exe
|
|||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
__debugbreak();
|
__debugbreak();
|
||||||
|
#else
|
||||||
|
raise(SIGTRAP);
|
||||||
#endif
|
#endif
|
||||||
FAIL();
|
FAIL();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user