GDB (xrefs)
|
#include "call-site.h"
Classes | |
struct | target |
Public Member Functions | |
call_site (unrelocated_addr pc, dwarf2_per_cu_data *per_cu, dwarf2_per_objfile *per_objfile) | |
CORE_ADDR | pc () const |
void | iterate_over_addresses (struct gdbarch *call_site_gdbarch, frame_info_ptr caller_frame, call_site_target::iterate_ftype callback) const |
Static Public Member Functions | |
static int | eq (const call_site *a, const call_site *b) |
static hashval_t | hash (const call_site *a) |
static int | eq (const void *a, const void *b) |
static hashval_t | hash (const void *a) |
Public Attributes | |
struct call_site * | tail_call_next = nullptr |
unsigned | parameter_count = 0 |
dwarf2_per_cu_data *const | per_cu = nullptr |
dwarf2_per_objfile *const | per_objfile = nullptr |
struct call_site_parameter | parameter [] |
Private Attributes | |
const unrelocated_addr | m_unrelocated_pc |
A place where a function gets called from, represented by DW_TAG_call_site. It can be looked up from symtab->call_site_htab.
Definition at line 164 of file call-site.h.
|
inline |
Definition at line 166 of file call-site.h.
Referenced by call_site_find_chain_1(), dwarf_expr_reg_to_entry_parameter(), func_verify_no_selftailcall(), and read_call_site_scope().
Definition at line 172 of file call-site.h.
References m_unrelocated_pc.
Referenced by eq(), and read_call_site_scope().
|
inlinestatic |
Definition at line 184 of file call-site.h.
References eq().
|
inlinestatic |
Definition at line 178 of file call-site.h.
References m_unrelocated_pc.
Referenced by hash(), and read_call_site_scope().
|
inlinestatic |
Definition at line 190 of file call-site.h.
References hash().
|
inline |
Definition at line 203 of file call-site.h.
Referenced by call_site_find_chain_2(), dwarf_expr_reg_to_entry_parameter(), and func_verify_no_selftailcall().
CORE_ADDR call_site::pc | ( | ) | const |
Definition at line 6188 of file gdbtypes.c.
References m_unrelocated_pc, per_objfile, and dwarf2_per_objfile::relocate().
Referenced by call_site_target::iterate_over_addresses(), pretend_pc(), read_call_site_scope(), and tailcall_dump().
|
private |
Definition at line 236 of file call-site.h.
struct call_site_parameter call_site::parameter[] |
Describe DW_TAG_call_site's DW_TAG_formal_parameter.
Definition at line 241 of file call-site.h.
Referenced by dwarf_expr_reg_to_entry_parameter(), and read_call_site_scope().
unsigned call_site::parameter_count = 0 |
Size of the PARAMETER array.
Definition at line 223 of file call-site.h.
Referenced by dwarf_expr_reg_to_entry_parameter(), and read_call_site_scope().
dwarf2_per_cu_data* const call_site::per_cu = nullptr |
CU of the function where the call is located. It gets used for DWARF blocks execution in the parameter array below.
Definition at line 228 of file call-site.h.
Referenced by dwarf_expr_reg_to_entry_parameter().
dwarf2_per_objfile* const call_site::per_objfile = nullptr |
Definition at line 232 of file call-site.h.
Referenced by dwarf_expr_reg_to_entry_parameter(), call_site_target::iterate_over_addresses(), pc(), and read_call_site_scope().
List successor with head in FUNC_TYPE.TAIL_CALL_LIST.
Definition at line 214 of file call-site.h.
Referenced by func_verify_no_selftailcall(), and read_call_site_scope().