Lines Matching defs:table
73 build_table (Dwarf_Macro_Op_Table *table,
79 table->table[table->opcodes[i - 1] = ct++] = op_protos[i - 1];
81 table->opcodes[i - 1] = 0xff;
90 enum { macinfo_data_size = offsetof (Dwarf_Macro_Op_Table, table[5]) };
130 Dwarf_Macro_Op_Table *table = libdw_alloc (dbg, Dwarf_Macro_Op_Table,
132 memcpy (table, macinfo_data, macinfo_data_size);
134 table->offset = macoff;
135 table->sec_index = IDX_debug_macinfo;
136 table->line_offset = line_offset;
137 table->is_64bit = cudie->cu->address_size == 8;
138 table->comp_dir = __libdw_getcompdir (cudie);
140 return table;
186 might not, be described in the table""".
245 /* We support at most 0xfe opcodes defined in the table, as 0xff is
250 size_t macop_table_size = offsetof (Dwarf_Macro_Op_Table, table[ct]);
252 Dwarf_Macro_Op_Table *table = libdw_alloc (dbg, Dwarf_Macro_Op_Table,
255 *table = (Dwarf_Macro_Op_Table) {
266 build_table (table, op_protos);
268 return table;
283 Dwarf_Macro_Op_Table *table = sec_index == IDX_debug_macro
287 if (table == NULL)
290 Dwarf_Macro_Op_Table **ret = tsearch (table, &dbg->macro_ops,
323 Dwarf_Macro_Op_Table *table = cache_op_table (dbg, sec_index, macoff,
325 if (table == NULL)
329 offset = table->header_len;
350 unsigned int idx = table->opcodes[opcode - 1];
357 Dwarf_Macro_Op_Proto *proto = &table->table[idx];
361 We pretend it is the same version as the actual table.
370 .version = table->version,
371 .offset_size = table->is_64bit ? 8 : 4,
426 .table = table,