GDB (xrefs)
Loading...
Searching...
No Matches
Functions
compile-c-symbols.c File Reference
#include "defs.h"
#include "compile-internal.h"
#include "compile-c.h"
#include "symtab.h"
#include "parser-defs.h"
#include "block.h"
#include "objfiles.h"
#include "compile.h"
#include "value.h"
#include "exceptions.h"
#include "gdbtypes.h"
#include "dwarf2/loc.h"

Go to the source code of this file.

Functions

gdb::unique_xmalloc_ptr< char > c_symbol_substitution_name (struct symbol *sym)
 
static void convert_one_symbol (compile_c_instance *context, struct block_symbol sym, int is_global, int is_local)
 
static void convert_symbol_sym (compile_c_instance *context, const char *identifier, struct block_symbol sym, domain_enum domain)
 
static void convert_symbol_bmsym (compile_c_instance *context, struct bound_minimal_symbol bmsym)
 
void gcc_convert_symbol (void *datum, struct gcc_c_context *gcc_context, enum gcc_c_oracle_request request, const char *identifier)
 
gcc_address gcc_symbol_address (void *datum, struct gcc_c_context *gcc_context, const char *identifier)
 
static hashval_t hash_symname (const void *a)
 
static int eq_symname (const void *a, const void *b)
 
static int symbol_seen (htab_t hashtab, struct symbol *sym)
 
static void generate_vla_size (compile_instance *compiler, string_file *stream, struct gdbarch *gdbarch, std::vector< bool > &registers_used, CORE_ADDR pc, struct type *type, struct symbol *sym)
 
static void generate_c_for_for_one_variable (compile_instance *compiler, string_file *stream, struct gdbarch *gdbarch, std::vector< bool > &registers_used, CORE_ADDR pc, struct symbol *sym)
 
std::vector< bool > generate_c_for_variable_locations (compile_instance *compiler, string_file *stream, struct gdbarch *gdbarch, const struct block *block, CORE_ADDR pc)
 

Function Documentation

◆ c_symbol_substitution_name()

gdb::unique_xmalloc_ptr< char > c_symbol_substitution_name ( struct symbol * sym)

◆ convert_one_symbol()

static void convert_one_symbol ( compile_c_instance * context,
struct block_symbol sym,
int is_global,
int is_local )
static

◆ convert_symbol_bmsym()

static void convert_symbol_bmsym ( compile_c_instance * context,
struct bound_minimal_symbol bmsym )
static

◆ convert_symbol_sym()

static void convert_symbol_sym ( compile_c_instance * context,
const char * identifier,
struct block_symbol sym,
domain_enum domain )
static

◆ eq_symname()

static int eq_symname ( const void * a,
const void * b )
static

◆ gcc_convert_symbol()

void gcc_convert_symbol ( void * datum,
struct gcc_c_context * gcc_context,
enum gcc_c_oracle_request request,
const char * identifier )

◆ gcc_symbol_address()

gcc_address gcc_symbol_address ( void * datum,
struct gcc_c_context * gcc_context,
const char * identifier )

◆ generate_c_for_for_one_variable()

static void generate_c_for_for_one_variable ( compile_instance * compiler,
string_file * stream,
struct gdbarch * gdbarch,
std::vector< bool > & registers_used,
CORE_ADDR pc,
struct symbol * sym )
static

◆ generate_c_for_variable_locations()

std::vector< bool > generate_c_for_variable_locations ( compile_instance * compiler,
string_file * stream,
struct gdbarch * gdbarch,
const struct block * block,
CORE_ADDR pc )

◆ generate_vla_size()

static void generate_vla_size ( compile_instance * compiler,
string_file * stream,
struct gdbarch * gdbarch,
std::vector< bool > & registers_used,
CORE_ADDR pc,
struct type * type,
struct symbol * sym )
static

◆ hash_symname()

static hashval_t hash_symname ( const void * a)
static

◆ symbol_seen()

static int symbol_seen ( htab_t hashtab,
struct symbol * sym )
static

Definition at line 473 of file compile-c-symbols.c.

Referenced by generate_c_for_variable_locations().