GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
go-lang.h File Reference
#include "language.h"
#include "gdbtypes.h"
#include "symtab.h"
#include "value.h"

Go to the source code of this file.

Classes

struct  builtin_go_type
 
class  go_language
 

Enumerations

enum  go_type { GO_TYPE_NONE , GO_TYPE_STRING }
 

Functions

const char * go_main_name (void)
 
enum go_type go_classify_struct_type (struct type *type)
 
gdb::unique_xmalloc_ptr< char > go_symbol_package_name (const struct symbol *sym)
 
gdb::unique_xmalloc_ptr< char > go_block_package_name (const struct block *block)
 
const struct builtin_go_type * builtin_go_type (struct gdbarch *)
 

Enumeration Type Documentation

◆ go_type

enum go_type
Enumerator
GO_TYPE_NONE 
GO_TYPE_STRING 

Definition at line 54 of file go-lang.h.

Function Documentation

◆ builtin_go_type()

const struct builtin_go_type * builtin_go_type ( struct gdbarch * gdbarch)
extern

◆ go_block_package_name()

gdb::unique_xmalloc_ptr< char > go_block_package_name ( const struct block * block)
extern

Definition at line 437 of file go-lang.c.

References block::function(), go_symbol_package_name(), and block::superblock().

Referenced by classify_name().

◆ go_classify_struct_type()

enum go_type go_classify_struct_type ( struct type * type)
extern

◆ go_main_name()

const char * go_main_name ( void )
extern

Definition at line 56 of file go-lang.c.

References GO_MAIN_MAIN, lookup_minimal_symbol(), and bound_minimal_symbol::minsym.

Referenced by find_main_name().

◆ go_symbol_package_name()

gdb::unique_xmalloc_ptr< char > go_symbol_package_name ( const struct symbol * sym)
extern