Lines Matching refs:linfo

2707 			DWARF2_Internal_LineInfo * linfo,  in read_debug_line_header()  argument
2721 SAFE_BYTE_GET_AND_INC (linfo->li_length, hdrptr, 4, end); in read_debug_line_header()
2723 if (linfo->li_length == 0xffffffff) in read_debug_line_header()
2726 SAFE_BYTE_GET_AND_INC (linfo->li_length, hdrptr, 8, end); in read_debug_line_header()
2738 if (linfo->li_length + initial_length_size > section->size) in read_debug_line_header()
2745 if (linfo->li_length == - initial_length_size) in read_debug_line_header()
2747 linfo->li_length = section->size - initial_length_size; in read_debug_line_header()
2757 SAFE_BYTE_GET_AND_INC (linfo->li_version, hdrptr, 2, end); in read_debug_line_header()
2760 if (linfo->li_version != 2 in read_debug_line_header()
2761 && linfo->li_version != 3 in read_debug_line_header()
2762 && linfo->li_version != 4 in read_debug_line_header()
2763 && linfo->li_version != 5 in read_debug_line_header()
2764 && linfo->li_version != DWARF2_LINE_EXPERIMENTAL_VERSION) in read_debug_line_header()
2770 if (linfo->li_version < 5) in read_debug_line_header()
2772 linfo->li_address_size = 0; in read_debug_line_header()
2773 linfo->li_segment_size = 0; in read_debug_line_header()
2775 else if (linfo->li_version != DWARF2_LINE_EXPERIMENTAL_VERSION) in read_debug_line_header()
2777 SAFE_BYTE_GET_AND_INC (linfo->li_address_size, hdrptr, 1, end); in read_debug_line_header()
2778 SAFE_BYTE_GET_AND_INC (linfo->li_segment_size, hdrptr, 1, end); in read_debug_line_header()
2781 SAFE_BYTE_GET_AND_INC (linfo->li_prologue_length, hdrptr, offset_size, end); in read_debug_line_header()
2783 SAFE_BYTE_GET_AND_INC (linfo->li_min_insn_length, hdrptr, 1, end); in read_debug_line_header()
2785 if (linfo->li_version >= 4) in read_debug_line_header()
2787 SAFE_BYTE_GET_AND_INC (linfo->li_max_ops_per_insn, hdrptr, 1, end); in read_debug_line_header()
2789 if (linfo->li_max_ops_per_insn == 0) in read_debug_line_header()
2796 linfo->li_max_ops_per_insn = 1; in read_debug_line_header()
2798 SAFE_BYTE_GET_AND_INC (linfo->li_default_is_stmt, hdrptr, 1, end); in read_debug_line_header()
2799 SAFE_SIGNED_BYTE_GET_AND_INC (linfo->li_line_base, hdrptr, 1, end); in read_debug_line_header()
2800 SAFE_BYTE_GET_AND_INC (linfo->li_line_range, hdrptr, 1, end); in read_debug_line_header()
2801 SAFE_BYTE_GET_AND_INC (linfo->li_opcode_base, hdrptr, 1, end); in read_debug_line_header()
2803 * end_of_sequence = data + linfo->li_length + initial_length_size; in read_debug_line_header()
2991 DWARF2_Internal_LineInfo *linfo, in display_line_program() argument
3018 if (op_code >= linfo->li_opcode_base) in display_line_program()
3020 op_code -= linfo->li_opcode_base; in display_line_program()
3021 uladv = (op_code / linfo->li_line_range); in display_line_program()
3022 if (linfo->li_max_ops_per_insn == 1) in display_line_program()
3024 uladv *= linfo->li_min_insn_length; in display_line_program()
3035 / linfo->li_max_ops_per_insn) in display_line_program()
3036 * linfo->li_min_insn_length; in display_line_program()
3039 % linfo->li_max_ops_per_insn; in display_line_program()
3046 adv = (op_code % linfo->li_line_range) + linfo->li_line_base; in display_line_program()
3059 data += process_extended_line_op (data, linfo->li_default_is_stmt, in display_line_program()
3073 if (linfo->li_max_ops_per_insn == 1) in display_line_program()
3075 uladv *= linfo->li_min_insn_length; in display_line_program()
3085 / linfo->li_max_ops_per_insn) in display_line_program()
3086 * linfo->li_min_insn_length; in display_line_program()
3089 % linfo->li_max_ops_per_insn; in display_line_program()
3135 uladv = ((255 - linfo->li_opcode_base) / linfo->li_line_range); in display_line_program()
3136 if (linfo->li_max_ops_per_insn) in display_line_program()
3138 uladv *= linfo->li_min_insn_length; in display_line_program()
3148 / linfo->li_max_ops_per_insn) in display_line_program()
3149 * linfo->li_min_insn_length; in display_line_program()
3152 % linfo->li_max_ops_per_insn; in display_line_program()
3281 DWARF2_Internal_LineInfo linfo; in display_debug_lines_raw() local
3311 linfo = saved_linfo; in display_debug_lines_raw()
3312 reset_state_machine (linfo.li_default_is_stmt); in display_debug_lines_raw()
3316 if ((hdrptr = read_debug_line_header (section, data, end, & linfo, in display_debug_lines_raw()
3323 printf (_(" Length: %ld\n"), (long) linfo.li_length); in display_debug_lines_raw()
3324 printf (_(" DWARF Version: %d\n"), linfo.li_version); in display_debug_lines_raw()
3325 if (linfo.li_version >= 5 in display_debug_lines_raw()
3326 && linfo.li_version != DWARF2_LINE_EXPERIMENTAL_VERSION) in display_debug_lines_raw()
3328 printf (_(" Address Size: %u\n"), linfo.li_address_size); in display_debug_lines_raw()
3329 printf (_(" Segment Size: %u\n"), linfo.li_segment_size); in display_debug_lines_raw()
3331 printf (_(" Prologue Length: %d\n"), linfo.li_prologue_length); in display_debug_lines_raw()
3332 printf (_(" Minimum Instruction Length: %d\n"), linfo.li_min_insn_length); in display_debug_lines_raw()
3333 if (linfo.li_version >= 4) in display_debug_lines_raw()
3334 printf (_(" Maximum Ops per Instruction: %d\n"), linfo.li_max_ops_per_insn); in display_debug_lines_raw()
3335 printf (_(" Initial value of 'is_stmt': %d\n"), linfo.li_default_is_stmt); in display_debug_lines_raw()
3336 printf (_(" Line Base: %d\n"), linfo.li_line_base); in display_debug_lines_raw()
3337 printf (_(" Line Range: %d\n"), linfo.li_line_range); in display_debug_lines_raw()
3338 printf (_(" Opcode Base: %d\n"), linfo.li_opcode_base); in display_debug_lines_raw()
3341 if (linfo.li_version >= 5 in display_debug_lines_raw()
3342 && linfo.li_version != DWARF2_LINE_EXPERIMENTAL_VERSION) in display_debug_lines_raw()
3344 start_of_line_program = end_of_header_length + linfo.li_prologue_length; in display_debug_lines_raw()
3347 reset_state_machine (linfo.li_default_is_stmt); in display_debug_lines_raw()
3354 for (i = 1; i < linfo.li_opcode_base; i++) in display_debug_lines_raw()
3357 data = standard_opcodes + linfo.li_opcode_base - 1; in display_debug_lines_raw()
3359 if (linfo.li_version == DWARF2_LINE_EXPERIMENTAL_VERSION) in display_debug_lines_raw()
3383 if (linfo.li_version >= 5) in display_debug_lines_raw()
3394 if (linfo.li_version >= 5) in display_debug_lines_raw()
3406 if (linfo.li_version == DWARF2_LINE_EXPERIMENTAL_VERSION) in display_debug_lines_raw()
3411 saved_linfo = linfo; in display_debug_lines_raw()
3420 if (linfo.li_version == DWARF2_LINE_EXPERIMENTAL_VERSION in display_debug_lines_raw()
3432 &linfo, standard_opcodes, 1); in display_debug_lines_raw()
3438 reset_state_machine (linfo.li_default_is_stmt); in display_debug_lines_raw()
3441 &linfo, standard_opcodes, 0); in display_debug_lines_raw()
3448 &linfo, standard_opcodes, 0); in display_debug_lines_raw()
3481 DWARF2_Internal_LineInfo linfo; in display_debug_lines_decoded() local
3498 linfo = saved_linfo; in display_debug_lines_decoded()
3499 reset_state_machine (linfo.li_default_is_stmt); in display_debug_lines_decoded()
3505 if ((hdrptr = read_debug_line_header (section, data, end, & linfo, in display_debug_lines_decoded()
3511 reset_state_machine (linfo.li_default_is_stmt); in display_debug_lines_decoded()
3517 data = standard_opcodes + linfo.li_opcode_base - 1; in display_debug_lines_decoded()
3614 saved_linfo = linfo; in display_debug_lines_decoded()
3628 if (op_code >= linfo.li_opcode_base) in display_debug_lines_decoded()
3630 op_code -= linfo.li_opcode_base; in display_debug_lines_decoded()
3631 uladv = (op_code / linfo.li_line_range); in display_debug_lines_decoded()
3632 if (linfo.li_max_ops_per_insn == 1) in display_debug_lines_decoded()
3634 uladv *= linfo.li_min_insn_length; in display_debug_lines_decoded()
3641 / linfo.li_max_ops_per_insn) in display_debug_lines_decoded()
3642 * linfo.li_min_insn_length; in display_debug_lines_decoded()
3645 % linfo.li_max_ops_per_insn; in display_debug_lines_decoded()
3648 adv = (op_code % linfo.li_line_range) + linfo.li_line_base; in display_debug_lines_decoded()
3675 reset_state_machine (linfo.li_default_is_stmt); in display_debug_lines_decoded()
3730 if (linfo.li_max_ops_per_insn == 1) in display_debug_lines_decoded()
3732 uladv *= linfo.li_min_insn_length; in display_debug_lines_decoded()
3739 / linfo.li_max_ops_per_insn) in display_debug_lines_decoded()
3740 * linfo.li_min_insn_length; in display_debug_lines_decoded()
3743 % linfo.li_max_ops_per_insn; in display_debug_lines_decoded()
3791 uladv = ((255 - linfo.li_opcode_base) / linfo.li_line_range); in display_debug_lines_decoded()
3792 if (linfo.li_max_ops_per_insn == 1) in display_debug_lines_decoded()
3794 uladv *= linfo.li_min_insn_length; in display_debug_lines_decoded()
3801 / linfo.li_max_ops_per_insn) in display_debug_lines_decoded()
3802 * linfo.li_min_insn_length; in display_debug_lines_decoded()
3805 % linfo.li_max_ops_per_insn; in display_debug_lines_decoded()
3875 if (linfo.li_max_ops_per_insn == 1) in display_debug_lines_decoded()
3887 if (linfo.li_max_ops_per_insn == 1) in display_debug_lines_decoded()