25#include "gdbsupport/pathstuff.h"
32 per_objfile (per_objfile),
35 checked_producer (false),
38 producer_is_gcc_11 (false),
43 processing_has_namespace_info (false),
66 std::string name_for_id_holder;
67 const char *name_for_id =
name;
73 if (!IS_ABSOLUTE_PATH (
name) && comp_dir !=
nullptr)
75 name_for_id_holder = path_join (comp_dir,
name);
76 name_for_id = name_for_id_holder.c_str ();
81 name, comp_dir, name_for_id,
lang (), low_pc));
87 gdb_assert (this->
header.
version >= 2 && this->header.version <= 5);
88 static const char *debugformat_strings[] = {
94 const char *debugformat = debugformat_strings[this->
header.
version - 2];
114 if (addr_type->
length () == addr_size)
161 = htab_create_alloc_ex (5, htab_hash_pointer, htab_eq_pointer,
163 hashtab_obstack_allocate,
164 dummy_obstack_deallocate);
167 if (*slot ==
nullptr)
183 gdb_assert_not_reached (
"");
static int dwarf2_mark_helper(void **slot, void *data)
struct type * lookup_pointer_type(struct type *type)
const struct builtin_type * builtin_type(struct gdbarch *gdbarch)
struct type * objfile_int_type(struct objfile *of, int size_in_bytes, bool unsigned_p)
static bool producer_is_gcc_lt_4_3(struct dwarf2_cu *cu)
static bool producer_is_icc(struct dwarf2_cu *cu)
static bool producer_is_codewarrior(struct dwarf2_cu *cu)
bool producer_is_clang(struct dwarf2_cu *cu)
static bool producer_is_gxx_lt_4_6(struct dwarf2_cu *cu)
static bool producer_is_icc_lt_14(struct dwarf2_cu *cu)
struct compunit_symtab * get_compunit_symtab()
void record_producer(const char *producer)
struct pending ** get_file_symbols()
void record_debugformat(const char *format)
struct type * builtin_void
bool processing_has_namespace_info
struct type * addr_type() const
dwarf2_per_objfile * per_objfile
dwarf2_cu(dwarf2_per_cu_data *per_cu, dwarf2_per_objfile *per_objfile)
enum language lang() const
struct compunit_symtab * start_compunit_symtab(const char *name, const char *comp_dir, CORE_ADDR low_pc)
buildsym_compunit * get_builder()
struct pending ** list_in_scope
struct dwarf2_per_cu_data * per_cu
std::unique_ptr< buildsym_compunit > m_builder
auto_obstack comp_unit_obstack
struct comp_unit_head header
struct type * addr_sized_int_type(bool unsigned_p) const
void add_dependence(struct dwarf2_per_cu_data *ref_per_cu)
dwarf2_cu * get_cu(dwarf2_per_cu_data *per_cu)