mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-01 11:48:10 +00:00
eliminate old per-unit line info code
This commit is contained in:
@@ -528,16 +528,6 @@ RDI_UnitMemberTable:
|
||||
{line_table_idx RDI_U32 ""}
|
||||
}
|
||||
|
||||
/* // TODO(rjf): @inline_sites
|
||||
// usage of line info to go from voff to file & line number:
|
||||
// (line_info_voffs * voff) -> (nil + index)
|
||||
// (line_info_data * index) -> (RDI_Line = (file_idx * line_number))
|
||||
{line_info_voffs_data_idx RDI_U32 ""} // U64[line_info_count + 1] (sorted ranges)
|
||||
{line_info_data_idx RDI_U32 ""} // RDI_Line[line_info_count]
|
||||
{line_info_col_data_idx RDI_U32 ""} // RDI_Col[line_info_count]
|
||||
{line_info_count RDI_U32 ""}
|
||||
*/
|
||||
|
||||
@xlist RDI_Unit_XList:
|
||||
{
|
||||
@expand(RDI_UnitMemberTable a) `$(a.type), $(a.name)`
|
||||
@@ -554,6 +544,9 @@ RDI_UnitMemberTable:
|
||||
@table(name type desc)
|
||||
RDI_LineTableMemberTable:
|
||||
{
|
||||
// usage of line info to go from voff to file & line number:
|
||||
// (line_info_voffs * voff) -> (nil + index)
|
||||
// (line_info_data * index) -> (RDI_Line = (file_idx * line_number))
|
||||
{voffs_base_idx RDI_U32 ""} // U64[lines_count+1] (sorted ranges)
|
||||
{lines_base_idx RDI_U32 ""} // RDI_Line[lines_count]
|
||||
{cols_base_idx RDI_U32 ""} // RDI_Column[cols_count]
|
||||
|
||||
Reference in New Issue
Block a user