test: disable omit_frame_pointer unwinding tests on aarch64-macos

dwarf: handle signal frame CIE flag
This commit is contained in:
kcbanner
2023-07-19 02:06:17 -04:00
parent 6d87bb370a
commit 8e6a62ba10
5 changed files with 23 additions and 14 deletions

View File

@@ -1,4 +1,5 @@
const std = @import("std");
const builtin = @import("builtin");
const debug = std.debug;
const testing = std.testing;
@@ -34,6 +35,9 @@ extern fn frame0(
) void;
pub fn main() !void {
// Disabled until the DWARF unwinder bugs on .aarch64 are solved
if (builtin.omit_frame_pointer and comptime builtin.target.isDarwin() and builtin.cpu.arch == .aarch64) return;
if (!std.debug.have_ucontext or !std.debug.have_getcontext) return;
var expected: [5]usize = undefined;