Debug_Info module

get_line_mappings_for_address_range

procedureSource

Returns the source positions for the code from start up to, not including, end_exclusive, in address order.

Example↗
info: Line_Info;
mappings, ok := get_line_mappings_for_address_range(info, 0x2000, 0x2000);
assert(ok && mappings.count == 0);
get_line_mappings_for_address_range :: (
    info: Line_Info,
    start: u64,
    end_exclusive: u64
) -> ([] Line_Mapping, success: bool)

Parameters

info: Line_Info
start: u64
end_exclusive: u64

Returns

success: bool

See also