GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Functions | Variables
loc.h File Reference
#include "dwarf2/expr.h"

Go to the source code of this file.

Classes

struct  property_addr_info
 
struct  dwarf2_locexpr_baton
 
struct  dwarf2_loclist_baton
 
struct  dwarf2_offset_baton
 
struct  dwarf2_property_baton
 
struct  call_site_chain
 

Functions

const gdb_byte * dwarf2_find_location_expression (struct dwarf2_loclist_baton *baton, size_t *locexpr_length, CORE_ADDR pc)
 
void func_get_frame_base_dwarf_block (struct symbol *framefunc, CORE_ADDR pc, const gdb_byte **start, size_t *length)
 
valuecompute_var_value (const char *name)
 
struct call_site_parameterdwarf_expr_reg_to_entry_parameter (frame_info_ptr frame, enum call_site_parameter_kind kind, union call_site_parameter_u kind_u, dwarf2_per_cu_data **per_cu_return, dwarf2_per_objfile **per_objfile_return)
 
struct valuedwarf2_evaluate_loc_desc (struct type *type, frame_info_ptr frame, const gdb_byte *data, size_t size, dwarf2_per_cu_data *per_cu, dwarf2_per_objfile *per_objfile, bool as_lval=true)
 
bool dwarf2_evaluate_property (const struct dynamic_prop *prop, frame_info_ptr frame, const struct property_addr_info *addr_stack, CORE_ADDR *value, gdb::array_view< CORE_ADDR > push_values={})
 
void dwarf2_compile_property_to_c (string_file *stream, const char *result_name, struct gdbarch *gdbarch, std::vector< bool > &registers_used, const struct dynamic_prop *prop, CORE_ADDR address, struct symbol *sym)
 
gdb::unique_xmalloc_ptr< call_site_chaincall_site_find_chain (struct gdbarch *gdbarch, CORE_ADDR caller_pc, CORE_ADDR callee_pc)
 
int dwarf_reg_to_regnum (struct gdbarch *arch, int dwarf_reg)
 
int dwarf_reg_to_regnum_or_error (struct gdbarch *arch, ULONGEST dwarf_reg)
 
void invalid_synthetic_pointer ()
 
struct valueindirect_synthetic_pointer (sect_offset die, LONGEST byte_offset, dwarf2_per_cu_data *per_cu, dwarf2_per_objfile *per_objfile, frame_info_ptr frame, struct type *type, bool resolve_abstract_p=false)
 
struct valuevalue_of_dwarf_reg_entry (struct type *type, struct frame_info_ptr frame, enum call_site_parameter_kind kind, union call_site_parameter_u kind_u)
 

Variables

unsigned int entry_values_debug
 
const struct symbol_computed_ops dwarf2_locexpr_funcs
 
const struct symbol_computed_ops dwarf2_loclist_funcs
 
const struct symbol_block_ops dwarf2_block_frame_base_locexpr_funcs
 
const struct symbol_block_ops dwarf2_block_frame_base_loclist_funcs
 

Function Documentation

◆ call_site_find_chain()

gdb::unique_xmalloc_ptr< call_site_chain > call_site_find_chain ( struct gdbarch gdbarch,
CORE_ADDR  caller_pc,
CORE_ADDR  callee_pc 
)

◆ compute_var_value()

value * compute_var_value ( const char *  name)

◆ dwarf2_compile_property_to_c()

void dwarf2_compile_property_to_c ( string_file stream,
const char *  result_name,
struct gdbarch gdbarch,
std::vector< bool > &  registers_used,
const struct dynamic_prop prop,
CORE_ADDR  address,
struct symbol sym 
)

◆ dwarf2_evaluate_loc_desc()

struct value * dwarf2_evaluate_loc_desc ( struct type type,
frame_info_ptr  frame,
const gdb_byte *  data,
size_t  size,
dwarf2_per_cu_data per_cu,
dwarf2_per_objfile per_objfile,
bool  as_lval = true 
)

◆ dwarf2_evaluate_property()

bool dwarf2_evaluate_property ( const struct dynamic_prop prop,
frame_info_ptr  frame,
const struct property_addr_info addr_stack,
CORE_ADDR *  value,
gdb::array_view< CORE_ADDR >  push_values = {} 
)

◆ dwarf2_find_location_expression()

const gdb_byte * dwarf2_find_location_expression ( struct dwarf2_loclist_baton baton,
size_t *  locexpr_length,
CORE_ADDR  pc 
)

◆ dwarf_expr_reg_to_entry_parameter()

struct call_site_parameter * dwarf_expr_reg_to_entry_parameter ( frame_info_ptr  frame,
enum call_site_parameter_kind  kind,
union call_site_parameter_u  kind_u,
dwarf2_per_cu_data **  per_cu_return,
dwarf2_per_objfile **  per_objfile_return 
)

◆ dwarf_reg_to_regnum()

int dwarf_reg_to_regnum ( struct gdbarch arch,
int  dwarf_reg 
)

◆ dwarf_reg_to_regnum_or_error()

int dwarf_reg_to_regnum_or_error ( struct gdbarch arch,
ULONGEST  dwarf_reg 
)

◆ func_get_frame_base_dwarf_block()

void func_get_frame_base_dwarf_block ( struct symbol framefunc,
CORE_ADDR  pc,
const gdb_byte **  start,
size_t *  length 
)

◆ indirect_synthetic_pointer()

struct value * indirect_synthetic_pointer ( sect_offset  die,
LONGEST  byte_offset,
dwarf2_per_cu_data per_cu,
dwarf2_per_objfile per_objfile,
frame_info_ptr  frame,
struct type type,
bool  resolve_abstract_p = false 
)

◆ invalid_synthetic_pointer()

void invalid_synthetic_pointer ( )

◆ value_of_dwarf_reg_entry()

struct value * value_of_dwarf_reg_entry ( struct type type,
struct frame_info_ptr  frame,
enum call_site_parameter_kind  kind,
union call_site_parameter_u  kind_u 
)

Variable Documentation

◆ dwarf2_block_frame_base_locexpr_funcs

const struct symbol_block_ops dwarf2_block_frame_base_locexpr_funcs
extern

Definition at line 525 of file loc.c.

◆ dwarf2_block_frame_base_loclist_funcs

const struct symbol_block_ops dwarf2_block_frame_base_loclist_funcs
extern

Definition at line 582 of file loc.c.

◆ dwarf2_locexpr_funcs

const struct symbol_computed_ops dwarf2_locexpr_funcs
extern

Definition at line 3857 of file loc.c.

◆ dwarf2_loclist_funcs

const struct symbol_computed_ops dwarf2_loclist_funcs
extern

Definition at line 4098 of file loc.c.

◆ entry_values_debug

unsigned int entry_values_debug
extern