|
GDB (xrefs)
|
#include "dwarf2expr.h"Go to the source code of this file.
| struct call_site_chain* call_site_find_chain | ( | struct gdbarch * | gdbarch, |
| CORE_ADDR | caller_pc, | ||
| CORE_ADDR | callee_pc | ||
| ) | [read] |
Definition at line 976 of file dwarf2loc.c.
References call_site_find_chain_1(), gdb_exception::error, exception_print(), gdb_stdout, NO_ENTRY_VALUE_ERROR, gdb_exception::reason, RETURN_MASK_ERROR, throw_exception(), and TRY_CATCH.
Referenced by dwarf2_tailcall_sniffer_first().
| void dwarf2_compile_expr_to_ax | ( | struct agent_expr * | expr, |
| struct axs_value * | loc, | ||
| struct gdbarch * | arch, | ||
| unsigned int | addr_size, | ||
| const gdb_byte * | op_ptr, | ||
| const gdb_byte * | op_end, | ||
| struct dwarf2_per_cu_data * | per_cu | ||
| ) |
Definition at line 2676 of file dwarf2loc.c.
References _, access_memory(), ax_const_l(), ax_ext(), ax_goto(), ax_label(), ax_pick(), ax_reg(), ax_simple(), ax_zero_ext(), axs_lvalue_memory, axs_lvalue_register, axs_rvalue, block_for_pc(), block_linkage_function(), cu_offset::cu_off, dwarf2_locexpr_baton::data, do_cleanups(), dwarf2_compile_cfa_to_ax(), dwarf2_compile_expr_to_ax(), dwarf2_fetch_die_loc_cu_off(), dwarf2_per_cu_text_offset(), dwarf_expr_frame_base_1(), dwarf_expr_require_composition(), error(), extract_signed_integer(), extract_unsigned_integer(), gdb_assert, gdbarch_bits_big_endian(), gdbarch_byte_order(), get_ax_pc(), internal_error(), axs_value::kind, len, agent_expr::len, LONGEST, make_cleanup(), offset, dwarf2_locexpr_baton::per_cu, axs_value::reg, require_rvalue(), safe_read_sleb128(), safe_read_uleb128(), agent_expr::scope, dwarf2_locexpr_baton::size, size, translate_register(), axs_value::u, ULONGEST, unimplemented(), VEC, VEC_cleanup, VEC_index, VEC_length, VEC_safe_push, xfree(), and xmalloc().
Referenced by dwarf2_compile_cfa_to_ax(), dwarf2_compile_expr_to_ax(), locexpr_tracepoint_var_ref(), and loclist_tracepoint_var_ref().
| struct value* dwarf2_evaluate_loc_desc | ( | struct type * | type, |
| struct frame_info * | frame, | ||
| const gdb_byte * | data, | ||
| size_t | size, | ||
| struct dwarf2_per_cu_data * | per_cu | ||
| ) | [read] |
Definition at line 2412 of file dwarf2loc.c.
References dwarf2_evaluate_loc_desc_full().
Referenced by call_site_to_target_addr(), dwarf2_compute_name(), dwarf_entry_parameter_to_value(), locexpr_read_variable(), and loclist_read_variable().
| const gdb_byte* dwarf2_fetch_constant_bytes | ( | sect_offset | , |
| struct dwarf2_per_cu_data * | , | ||
| struct obstack * | , | ||
| LONGEST * | |||
| ) |
Definition at line 19024 of file dwarf2read.c.
References _, comp_unit_head::addr_size, complaint(), dwarf2_per_cu_data::cu, die_type(), dw2_setup(), DW_ADDR, DW_BLOCK, DW_SND, DW_STRING, DW_UNSND, dwarf2_attr(), dwarf2_const_value_data(), dwarf_form_name(), error(), follow_die_offset(), dwarf2_cu::header, dwarf2_per_cu_data::is_dwz, load_cu(), LONGEST, objfile::obfd, dwarf2_per_cu_data::objfile, objfile_name(), sect_offset::sect_off, store_unsigned_integer(), symfile_complaints, type, and write_constant_as_bytes().
Referenced by indirect_pieced_value().
| struct dwarf2_locexpr_baton dwarf2_fetch_die_loc_cu_off | ( | cu_offset | offset_in_cu, |
| struct dwarf2_per_cu_data * | per_cu, | ||
| CORE_ADDR(*)(void *baton) | get_frame_pc, | ||
| void * | baton | ||
| ) | [read] |
Definition at line 18989 of file dwarf2read.c.
References dwarf2_fetch_die_loc_sect_off(), get_frame_pc(), and offset.
Referenced by dwarf2_compile_expr_to_ax(), and per_cu_dwarf_call().
| struct dwarf2_locexpr_baton dwarf2_fetch_die_loc_sect_off | ( | sect_offset | offset_in_cu, |
| struct dwarf2_per_cu_data * | per_cu, | ||
| CORE_ADDR(*)(void *baton) | get_frame_pc, | ||
| void * | baton | ||
| ) | [read] |
Definition at line 18926 of file dwarf2read.c.
References _, age_cached_comp_units(), attr_form_is_block(), attr_form_is_section_offset(), dwarf2_locexpr_baton::data, dw2_setup(), DW_BLOCK, dwarf2_attr(), dwarf2_find_location_expression(), error(), fill_in_loclist_baton(), follow_die_offset(), load_cu(), objfile_name(), dwarf2_locexpr_baton::per_cu, dwarf2_cu::per_cu, dwarf2_locexpr_baton::size, and size.
Referenced by dwarf2_fetch_die_loc_cu_off(), and indirect_pieced_value().
| const gdb_byte* dwarf2_find_location_expression | ( | struct dwarf2_loclist_baton * | baton, |
| size_t * | locexpr_length, | ||
| CORE_ADDR | pc | ||
| ) |
Definition at line 211 of file dwarf2loc.c.
References _, dwarf2_loclist_baton::base_address, block_for_pc(), block_linkage_function(), BLOCK_START, gdbarch::byte_order, dwarf2_loclist_baton::data, DEBUG_LOC_BASE_ADDRESS, DEBUG_LOC_BUFFER_OVERFLOW, DEBUG_LOC_END_OF_LIST, DEBUG_LOC_INVALID_ENTRY, DEBUG_LOC_START_END, DEBUG_LOC_START_LENGTH, decode_debug_loc_addresses(), decode_debug_loc_dwo_addresses(), dwarf2_per_cu_addr_size(), dwarf2_per_cu_objfile(), dwarf2_per_cu_text_offset(), error(), extract_unsigned_integer(), dwarf2_loclist_baton::from_dwo, gdb_assert_not_reached, gdbarch_byte_order(), get_objfile_arch(), objfile::obfd, dwarf2_loclist_baton::per_cu, dwarf2_loclist_baton::size, and SYMBOL_BLOCK_VALUE.
Referenced by dwarf2_fetch_die_loc_sect_off(), loclist_find_frame_base_location(), loclist_read_variable(), loclist_read_variable_at_entry(), and loclist_tracepoint_var_ref().
| struct type* dwarf2_get_die_type | ( | cu_offset | die_offset, |
| struct dwarf2_per_cu_data * | per_cu | ||
| ) | [read] |
Definition at line 19147 of file dwarf2read.c.
References cu_offset::cu_off, dw2_setup(), get_die_type_at_offset(), dwarf2_per_cu_data::objfile, dwarf2_per_cu_data::offset, and sect_offset::sect_off.
Referenced by disassemble_dwarf_expression(), and dwarf_expr_get_base_type().
| int dwarf2_per_cu_addr_size | ( | struct dwarf2_per_cu_data * | cu | ) |
Definition at line 20838 of file dwarf2read.c.
References comp_unit_head::addr_size, and per_cu_header_read_in().
Referenced by dwarf2_evaluate_loc_desc_full(), dwarf2_find_location_expression(), dwarf2_loc_desc_needs_frame(), dwarf_expr_push_dwarf_reg_entry_value(), locexpr_describe_location(), locexpr_tracepoint_var_ref(), loclist_describe_location(), and loclist_tracepoint_var_ref().
| struct objfile* dwarf2_per_cu_objfile | ( | struct dwarf2_per_cu_data * | cu | ) | [read] |
Definition at line 20802 of file dwarf2read.c.
References dwarf2_per_cu_data::objfile, and objfile::separate_debug_objfile_backlink.
Referenced by dwarf2_evaluate_loc_desc_full(), dwarf2_find_location_expression(), dwarf2_loc_desc_needs_frame(), dwarf_expr_push_dwarf_reg_entry_value(), dwarf_expr_tls_address(), locexpr_describe_location(), and loclist_describe_location().
| int dwarf2_per_cu_offset_size | ( | struct dwarf2_per_cu_data * | cu | ) |
Definition at line 20851 of file dwarf2read.c.
References comp_unit_head::offset_size, and per_cu_header_read_in().
Referenced by locexpr_describe_location(), and loclist_describe_location().
| int dwarf2_per_cu_ref_addr_size | ( | struct dwarf2_per_cu_data * | cu | ) |
Definition at line 20864 of file dwarf2read.c.
References comp_unit_head::addr_size, comp_unit_head::offset_size, per_cu_header_read_in(), and comp_unit_head::version.
Referenced by dwarf2_evaluate_loc_desc_full(), and dwarf2_loc_desc_needs_frame().
| CORE_ADDR dwarf2_per_cu_text_offset | ( | struct dwarf2_per_cu_data * | cu | ) |
Definition at line 20883 of file dwarf2read.c.
References ANOFFSET, dwarf2_per_cu_data::objfile, SECT_OFF_TEXT, and objfile::section_offsets.
Referenced by dwarf2_compile_expr_to_ax(), dwarf2_evaluate_loc_desc_full(), dwarf2_find_location_expression(), dwarf2_loc_desc_needs_frame(), dwarf_expr_push_dwarf_reg_entry_value(), and loclist_describe_location().
| CORE_ADDR dwarf2_read_addr_index | ( | struct dwarf2_per_cu_data * | per_cu, |
| unsigned int | addr_index | ||
| ) |
Definition at line 16119 of file dwarf2read.c.
References dwarf2_read_addr_index_data::addr_base, comp_unit_head::addr_size, dwarf2_read_addr_index_data::addr_size, dwarf2_per_cu_data::cu, dw2_setup(), dwarf2_read_addr_index_reader(), dwarf2_cu::header, init_cutu_and_read_dies(), dwarf2_per_cu_data::objfile, read_addr_index_1(), and ULONGEST.
Referenced by decode_debug_loc_dwo_addresses(), disassemble_dwarf_expression(), dwarf_expr_get_addr_index(), and locexpr_describe_location_piece().
Definition at line 384 of file dwarf2loc.c.
Definition at line 404 of file dwarf2loc.c.
Definition at line 4039 of file dwarf2loc.c.
Definition at line 4218 of file dwarf2loc.c.
| unsigned int entry_values_debug |
Definition at line 504 of file dwarf2loc.c.
Referenced by dwarf2_tailcall_sniffer_first().
1.7.6.1