PIPS
|
#include <stdio.h>
#include "genC.h"
#include "linear.h"
#include "misc.h"
#include "pipsdbm.h"
#include "ri.h"
#include "effects.h"
#include "ri-util.h"
#include "effects-util.h"
#include "text-util.h"
#include "prettyprint.h"
Go to the source code of this file.
Functions | |
static void | spear_log_alist (const char *pips_func, const char *pips_file, const int pips_line, pips_log_t tag, statement stat, const string hint, const string format, va_list *args) |
internal alist-level processing for spear warning & error logging More... | |
void | spear_log_func (const char *pips_func, const char *pips_file, const int pips_line, pips_log_t tag, statement stat, const string hint, const string format,...) |
generate a spear user warning or spear user error. More... | |
Variables | |
static int | spear_warning_count = 0 |
keep a count of spear issues More... | |
static int | spear_error_count = 0 |
|
static |
internal alist-level processing for spear warning & error logging
Definition at line 53 of file utils.c.
References db_get_memory_resource(), free(), get_pips_current_module(), get_pips_current_pass_name(), module, pips_assert, pips_log_alist(), proper_statement_to_string(), spear_error_count, spear_error_log, spear_warning_count, spear_warning_log, statement_number, and statement_undefined_p.
Referenced by spear_log_func().
void spear_log_func | ( | const char * | pips_func, |
const char * | pips_file, | ||
const int | pips_line, | ||
pips_log_t | tag, | ||
statement | stat, | ||
const string | hint, | ||
const string | format, | ||
... | |||
) |
generate a spear user warning or spear user error.
cproto-generated files
this function is not expected to be called directly, but it should be redirected here from a macro "spear_error(stat, hing, fmt, ...)"
pips_func | ips_func |
pips_file | ips_file |
pips_line | ips_line |
stat | tat |
hint | int |
format | ormat |
Definition at line 102 of file utils.c.
References spear_log_alist().
|
static |
Definition at line 49 of file utils.c.
Referenced by spear_log_alist().
|
static |
keep a count of spear issues
Definition at line 48 of file utils.c.
Referenced by spear_log_alist().