pub const Options = struct basename: ?[]const u8 = nullformat: ?Format = nullonly_section: ?[]const u8 = nullpad_to: ?u64 = nullcompress_debug: bool = falsestrip: Strip = .noneseparate_debug_file: ?SeparateDebugFile = nullPut the stripped out debug sections in a separate file. note: the basename is baked into the elf file to specify the link to the separate debug file. see https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html
Makes getOutputSeparatedDebug return non-null.
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57pub const Options = struct {
basename: ?[]const u8 = null,
format: ?Format = null,
only_section: ?[]const u8 = null,
pad_to: ?u64 = null,
compress_debug: bool = false,
strip: Strip = .none,
/// Put the stripped out debug sections in a separate file.
/// note: the `basename` is baked into the elf file to specify the link to the separate debug file.
/// see https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html
///
/// Makes `getOutputSeparatedDebug` return non-null.
separate_debug_file: ?SeparateDebugFile = null,
pub const SeparateDebugFile = struct {
basename: ?[]const u8,
};
}