GDB (xrefs)
|
Go to the source code of this file.
Classes | |
class | rust_language |
Functions | |
bool | rust_tuple_type_p (struct type *type) |
bool | rust_tuple_struct_type_p (struct type *type) |
bool | rust_slice_type_p (const struct type *type) |
std::string | rust_crate_for_block (const struct block *block) |
const char * | rust_last_path_segment (const char *path) |
struct type * | rust_slice_type (const char *name, struct type *elt_type, struct type *usize_type) |
struct value * | rust_slice_to_array (struct value *val) |
|
extern |
Definition at line 58 of file rust-lang.c.
References cp_find_first_component(), and block::scope().
Referenced by rust_parser::crate_name().
|
extern |
Definition at line 46 of file rust-lang.c.
Referenced by expr::rust_struct_anon::evaluate(), expr::rust_structop::evaluate(), and quirk_rust_enum().
Definition at line 325 of file rust-lang.c.
References value::allocate_lazy(), check_typedef(), lookup_array_range_type(), lval_memory, rust_slice_type_p(), value::set_address(), value::set_lval(), type::target_type(), value::type(), value_as_address(), value_as_long(), and value_struct_elt().
Referenced by rust_val_print_slice(), and rust_language::to_array().
|
extern |
Definition at line 1017 of file rust-lang.c.
References lookup_pointer_type(), name, rust_composite_type(), and type.
Referenced by rust_language::language_arch_info(), rust_parser::parse_slice_type(), and rust_subscript().
|
extern |
Definition at line 159 of file rust-lang.c.
References type::code(), type::field(), n1, n2, field::name(), type::name(), and type::num_fields().
Referenced by rust_language::is_array_like(), rust_language::is_string_type_p(), rust_slice_to_array(), rust_subscript(), and rust_language::val_print_struct().
|
extern |
Definition at line 148 of file rust-lang.c.
References type::num_fields(), and rust_underscore_fields().
Referenced by expr::rust_struct_anon::evaluate(), expr::rust_structop::evaluate(), rust_parser::parse_path_expr(), rust_parser::parse_struct_expr(), rust_language::print_enum(), rust_print_struct_def(), and rust_language::val_print_struct().
|
extern |
Definition at line 108 of file rust-lang.c.
References type::code(), and type::name().
Referenced by expr::rust_structop::evaluate(), expr::rust_structop::evaluate_funcall(), rust_parser::parse_struct_expr(), rust_print_struct_def(), and rust_language::val_print_struct().