GDB (API)
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
type_allocator Class Reference

#include "gdbtypes.h"

Public Types

enum  type_allocator_kind { SAME = 0 , SMASH = 1 }
 

Public Member Functions

 type_allocator (objfile *objfile, enum language lang)
 
 type_allocator (gdbarch *gdbarch)
 
 type_allocator (struct type *type, type_allocator_kind kind=SAME)
 
 type_allocator (const struct type *type)
 
typenew_type ()
 
typenew_type (enum type_code code, int bit, const char *name)
 
gdbarcharch ()
 

Detailed Description

Definition at line 2243 of file gdbtypes.h.

Member Enumeration Documentation

◆ type_allocator_kind

Enumerator
SAME 
SMASH 

Definition at line 2265 of file gdbtypes.h.

Constructor & Destructor Documentation

◆ type_allocator() [1/4]

type_allocator::type_allocator ( objfile * objfile,
enum language lang )
inline

Definition at line 2248 of file gdbtypes.h.

◆ type_allocator() [2/4]

type_allocator::type_allocator ( gdbarch * gdbarch)
inlineexplicit

Definition at line 2256 of file gdbtypes.h.

◆ type_allocator() [3/4]

type_allocator::type_allocator ( struct type * type,
type_allocator_kind kind = SAME )
inlineexplicit

Definition at line 2275 of file gdbtypes.h.

◆ type_allocator() [4/4]

type_allocator::type_allocator ( const struct type * type)
inlineexplicit

Definition at line 2297 of file gdbtypes.h.

Member Function Documentation

◆ arch()

gdbarch * type_allocator::arch ( )

◆ new_type() [1/2]

type * type_allocator::new_type ( )

◆ new_type() [2/2]

type * type_allocator::new_type ( enum type_code code,
int bit,
const char * name )

Member Data Documentation

◆ gdbarch

struct gdbarch* type_allocator::gdbarch

Definition at line 2327 of file gdbtypes.h.

◆ objfile

struct objfile* type_allocator::objfile

Definition at line 2326 of file gdbtypes.h.

◆ type

struct type* type_allocator::type

Definition at line 2328 of file gdbtypes.h.


The documentation for this class was generated from the following file: