compiler: Improve the handling of unwind table levels.
The goal here is to support both levels of unwind tables (sync and async) in zig cc and zig build. Previously, the LLVM backend always used async tables while zig cc was partially influenced by whatever was Clang's default.
This commit is contained in:
@@ -110,6 +110,14 @@ const known_options = [_]KnownOpt{
|
||||
.name = "fno-unwind-tables",
|
||||
.ident = "no_unwind_tables",
|
||||
},
|
||||
.{
|
||||
.name = "fasynchronous-unwind-tables",
|
||||
.ident = "asynchronous_unwind_tables",
|
||||
},
|
||||
.{
|
||||
.name = "fno-asynchronous-unwind-tables",
|
||||
.ident = "no_asynchronous_unwind_tables",
|
||||
},
|
||||
.{
|
||||
.name = "nolibc",
|
||||
.ident = "nostdlib",
|
||||
|
||||
Reference in New Issue
Block a user