26 #include "pips_config.h"
54 const char * pips_func,
55 const char * pips_file,
77 string stat_file = NULL;
90 (
const string) pips_func, (
const string) pips_file, pips_line,
93 sstat, hint, format, args);
104 const char * pips_func,
105 const char * pips_file,
115 va_start(args, format);
117 stat, hint, format, &args);
void pips_log_alist(const pips_log_t tag, const string pips_pass, const string pips_owner, const string pips_func, const string pips_file, const int pips_line, const string user_func, const string user_file, const int user_line, const int user_line2, const string stmt, const string suggestion, const string format, va_list *args)
log entry with unprocessed format/alist arguments
string get_pips_current_pass_name(void)
Export this piece of information to customize warning functions in passes.
string get_pips_current_module(void)
string db_get_memory_resource(const char *rname, const char *oname, bool pure)
Return the pointer to the resource, whatever it is.
#define pips_assert(what, predicate)
common macros, two flavors depending on NDEBUG
static int spear_warning_count
keep a count of spear issues
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
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.
static int spear_error_count
string proper_statement_to_string(statement)
#define statement_undefined_p(x)
#define statement_number(x)