| ... | @@ -433,6 +433,7 @@ pub fn resolve(options: Options) ResolveError!Config { | ... | @@ -433,6 +433,7 @@ pub fn resolve(options: Options) ResolveError!Config { |
| 433 | | 433 | |
| 434 | const debug_format: DebugFormat = b: { | 434 | const debug_format: DebugFormat = b: { |
| 435 | if (root_strip and !options.any_non_stripped) break :b .strip; | 435 | if (root_strip and !options.any_non_stripped) break :b .strip; |
| | 436 | if (options.debug_format) |x| break :b x; |
| 436 | break :b switch (target.ofmt) { | 437 | break :b switch (target.ofmt) { |
| 437 | .elf, .goff, .macho, .wasm, .xcoff => .{ .dwarf = .@"32" }, | 438 | .elf, .goff, .macho, .wasm, .xcoff => .{ .dwarf = .@"32" }, |
| 438 | .coff => .code_view, | 439 | .coff => .code_view, |