Module Dwarf_flags
val debug_thing : Dwarf_flags.debug_thing -> boolval set_debug_thing : Dwarf_flags.debug_thing -> unitval clear_debug_thing : Dwarf_flags.debug_thing -> unitval describe_debug_default : Dwarf_flags.debug_thing -> stringval describe_debug_default_negated : Dwarf_flags.debug_thing -> stringval restrict_to_upstream_dwarf : bool Stdlib.refval dwarf_max_function_complexity : int Stdlib.refval dwarf_for_startup_file : bool Stdlib.refval gdwarf_version : Dwarf_flags.dwarf_version Stdlib.refval default_gdwarf_version : Dwarf_flags.dwarf_versionval gdwarf_offsets : bool Stdlib.refval gdwarf_self_tail_calls : bool Stdlib.refval gdwarf_format : Dwarf_flags.dwarf_format Stdlib.refval default_gdwarf_format : Dwarf_flags.dwarf_formatval ddebug_invariants : bool Stdlib.refval ddebug_available_regs : bool Stdlib.refval ddwarf_types : bool Stdlib.refval gdwarf_may_alter_codegen : bool Stdlib.refval gdwarf_may_alter_codegen_experimental : bool Stdlib.refval dwarf_inlined_frames : bool Stdlib.refSetting this to true will emit sufficient DWARF to get inlined frame information, but won't emit information e.g. about local variables (unless restrict_to_upstream_dwarf is set to false, although that implies this variable being set to true).
val gdwarf_compression : string Stdlib.refval ddwarf_metrics : bool Stdlib.refval ddwarf_metrics_output_file : string option Stdlib.refGet the DWARF compression flag to pass to the C toolchain. Returns a flag of the form " -gz=<compression>" (note the leading space). Returns an empty string if compression is not enabled. Note: The -gz= option is common between GCC and Clang, unlike --compress-debug-sections. See: https://maskray.me/blog/2022-01-23-compressed-debug-sections
Get the DWARF compression flag to pass to the assembler. Similar to get_dwarf_c_toolchain_flag but uses the assembler-specific flag. Returns a string with a leading space if not empty.
Get the DWARF compression format to use. Returns Some compression if compression is enabled and not "none" or empty. Returns None otherwise.