basename: ?[]const u8 = nullformat: ?RawFormat = nullonly_section: ?[]const u8 = nullpad_to: ?u64 = nullcompress_debug: bool = falsestrip: Strip = .noneextract_to_separate_file: bool = falsePut 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
add_section: ?AddSection = nullset_section_alignment: ?SetSectionAlignment = nullset_section_flags: ?SetSectionFlags = nullpub const Options = struct {
basename: ?[]const u8 = null,
format: ?RawFormat = 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
extract_to_separate_file: bool = false,
add_section: ?AddSection = null,
set_section_alignment: ?SetSectionAlignment = null,
set_section_flags: ?SetSectionFlags = null,
}