From 71b687e5497a1d8c39a9d7da9910218ea9006258 Mon Sep 17 00:00:00 2001 From: Merry Date: Sun, 15 Jan 2023 03:34:06 +0000 Subject: test_generator: Fake task port no longer required We are now using mach ports for fastmem on arm64. --- tests/test_generator.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests') 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 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: {} \n", argv[0]); } -- cgit v1.2.3