Go to the source code of this file.
Function Documentation
void add_new_plugin |
( |
const char * |
| ) |
|
void debug_active_plugins |
( |
void |
| ) |
|
Dump active plugins to stderr.
void dump_active_plugins |
( |
FILE * |
| ) |
|
void finalize_plugins |
( |
void |
| ) |
|
void initialize_plugins |
( |
void |
| ) |
|
Main plugin initialization function. Called from compile_file() in
toplev.c.
If no plugin was specified in the command-line, simply return.
Traverse and initialize each plugin specified in the command-line.
References print_options::file, and print_options::indent.
static int invoke_plugin_callbacks |
( |
int |
event, |
|
|
void * |
gcc_data |
|
) |
| |
|
inlinestatic |
Called from inside GCC. Invoke all plugin callbacks registered with
the specified event.
Return PLUGEVT_SUCCESS if at least one callback was called,
PLUGEVT_NO_CALLBACK if there was no callback.
EVENT - the event identifier
GCC_DATA - event-specific data provided by the compiler
True iff at least one plugin has been added.
References flag_plugin_added, and invoke_plugin_callbacks_full().
Referenced by is_pass_explicitly_enabled_or_disabled().
int invoke_plugin_callbacks_full |
( |
int |
, |
|
|
void * |
|
|
) |
| |
void parse_plugin_arg_opt |
( |
const char * |
| ) |
|
bool plugins_active_p |
( |
void |
| ) |
|
void plugins_internal_error_function |
( |
diagnostic_context * |
context, |
|
|
const char * |
msgid, |
|
|
va_list * |
ap |
|
) |
| |
Likewise, as a callback from the diagnostics code.
void print_plugins_help |
( |
FILE * |
file, |
|
|
const char * |
indent |
|
) |
| |
void print_plugins_versions |
( |
FILE * |
file, |
|
|
const char * |
indent |
|
) |
| |
void register_attribute |
( |
const struct attribute_spec * |
attr | ) |
|
struct scoped_attributes* register_scoped_attributes |
( |
const struct attribute_spec * |
attributes, |
|
|
const char * |
ns |
|
) |
| |
|
read |
Insert an array of attributes ATTRIBUTES into a namespace. This
array must be NULL terminated. NS is the name of attribute
namespace. The function returns the namespace into which the
attributes have been registered.
See if we already have attributes in the namespace NS.
We don't have any namespace NS yet. Create one.
Really add the attributes to their namespace now.
void warn_if_plugins |
( |
void |
| ) |
|
Give a warning if plugins are present, before an ICE message asking
to submit a bug report.
Variable Documentation