GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
compile_c_instance Class Reference

#include "compile-c.h"

Inheritance diagram for compile_c_instance:
compile_instance

Public Member Functions

 compile_c_instance (struct gcc_c_context *gcc_c)
 
gcc_type convert_type (struct type *type)
 
gcc_c_pluginplugin ()
 
- Public Member Functions inherited from compile_instance
 compile_instance (struct gcc_base_context *gcc_fe, const char *options)
 
virtual ~compile_instance ()
 
const std::string & gcc_target_options () const
 
bool get_cached_type (struct type *type, gcc_type *ret) const
 
void insert_type (struct type *type, gcc_type gcc_type)
 
void insert_symbol_error (const struct symbol *sym, const char *text)
 
void error_symbol_once (const struct symbol *sym)
 
void set_print_callback (void(*print_function)(void *, const char *), void *datum)
 
unsigned int version () const
 
void set_verbose (int level)
 
void set_driver_filename (const char *filename)
 
void set_triplet_regexp (const char *regexp)
 
gdb::unique_xmalloc_ptr< char > set_arguments (int argc, char **argv, const char *regexp=NULL)
 
void set_source_file (const char *filename)
 
bool compile (const char *filename, int verbose_level=-1)
 
void set_scope (enum compile_i_scope_types scope)
 
enum compile_i_scope_types scope () const
 
void set_block (const struct block *block)
 
const struct blockblock () const
 

Private Attributes

gcc_c_plugin m_plugin
 

Static Private Attributes

static const char * m_default_cflags
 

Additional Inherited Members

- Protected Attributes inherited from compile_instance
struct gcc_base_context * m_gcc_fe
 
enum compile_i_scope_types m_scope
 
const struct blockm_block
 
std::string m_gcc_target_options
 
htab_up m_type_map
 
htab_up m_symbol_err_map
 

Detailed Description

Definition at line 39 of file compile-c.h.

Constructor & Destructor Documentation

◆ compile_c_instance()

compile_c_instance::compile_c_instance ( struct gcc_c_context * gcc_c)
inlineexplicit

Member Function Documentation

◆ convert_type()

gcc_type compile_c_instance::convert_type ( struct type * type)

◆ plugin()

gcc_c_plugin & compile_c_instance::plugin ( )
inline

Member Data Documentation

◆ m_default_cflags

const char * compile_c_instance::m_default_cflags
staticprivate
Initial value:
= "-std=gnu11"
" -fno-exceptions"
" -Wno-implicit-function-declaration"

Definition at line 59 of file compile-c.h.

◆ m_plugin

gcc_c_plugin compile_c_instance::m_plugin
private

Definition at line 62 of file compile-c.h.

Referenced by compile_c_instance(), and plugin().


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