// convert a unit offset into a debug info offset
convert a unit offset into a debug info offset
convert a unit offset into a debug info offset
pub fn unit_to_di(
    unit: &gimli::Unit<Reader>,
    offset: UnitOffset,
) -> Option<gimli::DebugInfoOffset> {
    offset.to_debug_info_offset(&unit.header)
}
pub fn unit_to_di ( unit : & gimli :: Unit < Reader > , offset : UnitOffset , ) -> Option < gimli :: DebugInfoOffset > { offset . to_debug_info_offset ( & unit . header ) }
convert a unit offset into a debug info offset
convert a unit offset into a debug info offset
unit
&gimli::Unit<Reader>
offset
UnitOffset