compilation: pass omit_frame_pointer through to builtin.zig

Renamed dwarf_unwinding -> stack_iterator to better reflect that it's not just DWARF unwinding.
Added a test for unwinding with a frame pointer.
This commit is contained in:
kcbanner
2023-07-13 01:14:31 -04:00
parent 7d8b423477
commit ec96095efd
7 changed files with 60 additions and 22 deletions
+1 -1
View File
@@ -510,7 +510,7 @@ pub fn clangAssemblerSupportsMcpuArg(target: std.Target) bool {
}
pub fn needUnwindTables(target: std.Target) bool {
return target.os.tag == .windows or target.ofmt == .macho;
return target.os.tag == .windows or target.isDarwin();
}
pub fn defaultAddressSpace(