struct Options [src]

Fields

basename: ?[]const u8 = null
format: ?RawFormat = null
only_section: ?[]const u8 = null
pad_to: ?u64 = null
compress_debug: bool = false
strip: Strip = .none
extract_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 = null
set_section_alignment: ?SetSectionAlignment = null
set_section_flags: ?SetSectionFlags = null

Source

pub 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, }