17#ifndef COMPILE_COMPILE_INTERNAL_H
18#define COMPILE_COMPILE_INTERNAL_H
20#include "gcc-c-interface.h"
21#include "gdbsupport/gdb-hashtab.h"
100 gdb::unique_xmalloc_ptr<char>
set_arguments (
int argc,
char **argv,
101 const char *regexp = NULL);
108 bool compile (
const char *filename,
int verbose_level = -1);
161#define COMPILE_I_SIMPLE_REGISTER_STRUCT_TAG "__gdb_regs"
162#define COMPILE_I_SIMPLE_REGISTER_ARG_NAME "__regs"
163#define COMPILE_I_SIMPLE_REGISTER_DUMMY "_dummy"
164#define COMPILE_I_PRINT_OUT_ARG_TYPE "void *"
165#define COMPILE_I_PRINT_OUT_ARG "__gdb_out_param"
166#define COMPILE_I_EXPR_VAL "__gdb_expr_val"
167#define COMPILE_I_EXPR_PTR_TYPE "__gdb_expr_ptr_type"
185 const char *reg_name);
std::string m_source_file
const char * source_file() const
std::string m_object_file
const char * object_file() const
compile_file_names(std::string source_file, std::string object_file)
unsigned int version() const
void set_driver_filename(const char *filename)
struct gcc_base_context * m_gcc_fe
void error_symbol_once(const struct symbol *sym)
void set_print_callback(void(*print_function)(void *, const char *), void *datum)
void insert_symbol_error(const struct symbol *sym, const char *text)
bool get_cached_type(struct type *type, gcc_type *ret) const
std::string m_gcc_target_options
const struct block * m_block
void set_block(const struct block *block)
enum compile_i_scope_types m_scope
void set_triplet_regexp(const char *regexp)
gdb::unique_xmalloc_ptr< char > set_arguments(int argc, char **argv, const char *regexp=NULL)
void insert_type(struct type *type, gcc_type gcc_type)
virtual ~compile_instance()
const std::string & gcc_target_options() const
enum compile_i_scope_types scope() const
void set_verbose(int level)
void set_scope(enum compile_i_scope_types scope)
void set_source_file(const char *filename)
const struct block * block() const
bool compile(const char *filename, int verbose_level=-1)
const gcc_type GCC_TYPE_NONE
int compile_register_name_demangle(struct gdbarch *gdbarch, const char *reg_name)
std::string compile_register_name_mangled(struct gdbarch *gdbarch, int regnum)