GDB (xrefs)
|
#include "expop.h"
Public Member Functions | |
value * | evaluate (struct type *expect_type, struct expression *exp, enum noside noside) override |
value * | evaluate_for_sizeof (struct expression *exp, enum noside noside) override |
value * | evaluate_for_address (struct expression *exp, enum noside noside) override |
value * | evaluate_for_cast (struct type *expect_type, struct expression *exp, enum noside noside) override |
value * | evaluate_funcall (struct type *expect_type, struct expression *exp, enum noside noside, const std::vector< operation_up > &args) override |
enum exp_opcode | opcode () const override |
void | set_outermost () override |
![]() | |
bool | constant_p () const override |
![]() | |
tuple_holding_operation (Arg... args) | |
DISABLE_COPY_AND_ASSIGN (tuple_holding_operation) | |
bool | uses_objfile (struct objfile *objfile) const override |
void | dump (struct ui_file *stream, int depth) const override |
![]() | |
virtual | ~operation ()=default |
virtual value * | evaluate (struct type *expect_type, struct expression *exp, enum noside noside)=0 |
virtual value * | evaluate_with_coercion (struct expression *exp, enum noside noside) |
virtual value * | evaluate_for_cast (struct type *expect_type, struct expression *exp, enum noside noside) |
virtual value * | evaluate_for_sizeof (struct expression *exp, enum noside noside) |
virtual value * | evaluate_for_address (struct expression *exp, enum noside noside) |
virtual value * | evaluate_funcall (struct type *expect_type, struct expression *exp, enum noside noside, const std::vector< operation_up > &args) |
virtual bool | constant_p () const |
virtual bool | uses_objfile (struct objfile *objfile) const |
void | generate_ax (struct expression *exp, struct agent_expr *ax, struct axs_value *value, struct type *cast_type=nullptr) |
virtual enum exp_opcode | opcode () const =0 |
virtual void | dump (struct ui_file *stream, int depth) const =0 |
virtual void | set_outermost () |
Protected Member Functions | |
void | do_generate_ax (struct expression *exp, struct agent_expr *ax, struct axs_value *value, struct type *cast_type) override |
![]() | |
operation ()=default | |
DISABLE_COPY_AND_ASSIGN (operation) | |
value * | evaluate_funcall (struct type *expect_type, struct expression *exp, enum noside noside, const char *function_name, const std::vector< operation_up > &args) |
virtual void | do_generate_ax (struct expression *exp, struct agent_expr *ax, struct axs_value *value, struct type *cast_type) |
Protected Attributes | |
bool | m_outermost = false |
![]() | |
std::tuple< Arg... > | m_storage |
|
overrideprotectedvirtual |
Reimplemented from expr::operation.
Definition at line 1622 of file ax-gdb.c.
References type::code(), error_unknown_type(), gen_msym_var_ref(), general_symbol_info::linkage_name(), expr::tuple_holding_operation< Arg... >::m_storage, bound_minimal_symbol::minsym, bound_minimal_symbol::objfile, and value::type.
|
inlineoverridevirtual |
Implements expr::operation.
Definition at line 707 of file expop.h.
References eval_op_var_msym_value(), m_outermost, and expr::tuple_holding_operation< Arg... >::m_storage.
|
overridevirtual |
Reimplemented from expr::operation.
Definition at line 2640 of file eval.c.
References EVAL_AVOID_SIDE_EFFECTS, evaluate_var_msym_value(), lookup_pointer_type(), expr::tuple_holding_operation< Arg... >::m_storage, bound_minimal_symbol::minsym, not_lval, bound_minimal_symbol::objfile, value_addr(), value_type(), and value_zero().
|
overridevirtual |
Reimplemented from expr::operation.
Definition at line 2854 of file eval.c.
References EVAL_AVOID_SIDE_EFFECTS, evaluate_var_msym_value(), lval_memory, expr::tuple_holding_operation< Arg... >::m_storage, bound_minimal_symbol::minsym, not_lval, bound_minimal_symbol::objfile, value_cast(), value_fetch_lazy(), value_lazy(), VALUE_LVAL, and value_zero().
|
overridevirtual |
Reimplemented from expr::operation.
Definition at line 2747 of file eval.c.
References builtin_type::builtin_int, type::code(), error_unknown_type(), evaluate_var_msym_value(), expression::gdbarch, type::length(), expr::tuple_holding_operation< Arg... >::m_storage, bound_minimal_symbol::minsym, bound_minimal_symbol::objfile, general_symbol_info::print_name(), value_from_longest(), and value_type().
|
inlineoverridevirtual |
Reimplemented from expr::operation.
Definition at line 725 of file expop.h.
References expr::operation::evaluate_funcall(), expr::tuple_holding_operation< Arg... >::m_storage, and name.
|
inlineoverridevirtual |
Implements expr::operation.
|
inlineoverridevirtual |
|
protected |
Definition at line 745 of file expop.h.
Referenced by evaluate(), and set_outermost().