aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test_generator.cpp
diff options
context:
space:
mode:
authorMerry <[email protected]>2023-01-15 03:34:06 +0000
committerMerry <[email protected]>2023-01-15 03:34:15 +0000
commit71b687e5497a1d8c39a9d7da9910218ea9006258 (patch)
treebbbf423eac2914d91af48dde5a06494a4057e4c7 /tests/test_generator.cpp
parent0fd9d781b54e4f8231b0a7a2854f6e982751ab4d (diff)
downloaddynarmic-71b687e5497a1d8c39a9d7da9910218ea9006258.tar.gz
dynarmic-71b687e5497a1d8c39a9d7da9910218ea9006258.zip
test_generator: Fake task port no longer required
We are now using mach ports for fastmem on arm64.
Diffstat (limited to 'tests/test_generator.cpp')
-rw-r--r--tests/test_generator.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/test_generator.cpp b/tests/test_generator.cpp
index d995d831..938aff4d 100644
--- a/tests/test_generator.cpp
+++ b/tests/test_generator.cpp
@@ -667,11 +667,6 @@ static std::optional<size_t> str2sz(char const* s) {
}
int main(int argc, char* argv[]) {
-#if defined(__APPLE__) && defined(MCL_ARCHITECTURE_ARM64)
- // Allows for attaching a debugger to this process to work when debugging fastmem (since we currently use POSIX signals rather than a mach socket on arm64).
- task_set_exception_ports(mach_task_self(), EXC_MASK_BAD_ACCESS, MACH_PORT_NULL, EXCEPTION_DEFAULT, 0);
-#endif
-
if (argc != 5) {
fmt::print("Usage: {} <thumb|arm|a64> <seed> <instruction_count> <iteration_count>\n", argv[0]);
}