yosys-master
|
Go to the source code of this file.
Data Structures | |
struct | log_cmd_error_exception |
struct | PerformanceTimer |
Macros | |
#define | S__LINE__sub2(x) #x |
#define | S__LINE__sub1(x) S__LINE__sub2(x) |
#define | S__LINE__ S__LINE__sub1(__LINE__) |
#define | log_abort() YOSYS_NAMESPACE_PREFIX log_error("Abort in %s:%d.\n", __FILE__, __LINE__) |
#define | log_assert(_assert_expr_) YOSYS_NAMESPACE_PREFIX log_assert_worker(_assert_expr_, #_assert_expr_, __FILE__, __LINE__) |
#define | log_ping() YOSYS_NAMESPACE_PREFIX log("-- %s:%d %s --\n", __FILE__, __LINE__, __PRETTY_FUNCTION__) |
#define | cover(...) do { } while (0) |
#define | cover_list(...) do { } while (0) |
#define | log_dump(...) |
Functions | |
void | logv (const char *format, va_list ap) |
void | logv_header (const char *format, va_list ap) |
void | logv_warning (const char *format, va_list ap) |
YS_NORETURN void | logv_error (const char *format, va_list ap) YS_ATTRIBUTE(noreturn) |
void | log (const char *format,...) YS_ATTRIBUTE(format(printf |
void void | log_header (const char *format,...) YS_ATTRIBUTE(format(printf |
void void void | log_warning (const char *format,...) YS_ATTRIBUTE(format(printf |
void void void YS_NORETURN void | log_error (const char *format,...) YS_ATTRIBUTE(format(printf |
YS_NORETURN void | log_cmd_error (const char *format,...) YS_ATTRIBUTE(format(printf |
void | log_spacer () |
void | log_push () |
void | log_pop () |
void | log_reset_stack () |
void | log_flush () |
const char * | log_signal (const RTLIL::SigSpec &sig, bool autoint=true) |
const char * | log_id (RTLIL::IdString id) |
template<typename T > | |
static const char * | log_id (T *obj) |
void | log_cell (RTLIL::Cell *cell, std::string indent="") |
static void | log_assert_worker (bool cond, const char *expr, const char *file, int line) |
static void | log_dump_val_worker (short v) |
static void | log_dump_val_worker (unsigned short v) |
static void | log_dump_val_worker (int v) |
static void | log_dump_val_worker (unsigned int v) |
static void | log_dump_val_worker (long int v) |
static void | log_dump_val_worker (unsigned long int v) |
static void | log_dump_val_worker (long long int v) |
static void | log_dump_val_worker (unsigned long long int v) |
static void | log_dump_val_worker (char c) |
static void | log_dump_val_worker (unsigned char c) |
static void | log_dump_val_worker (bool v) |
static void | log_dump_val_worker (double v) |
static void | log_dump_val_worker (char *v) |
static void | log_dump_val_worker (const char *v) |
static void | log_dump_val_worker (std::string v) |
static void | log_dump_val_worker (PerformanceTimer p) |
static void | log_dump_args_worker (const char *p) |
void | log_dump_val_worker (RTLIL::SigSpec v) |
template<typename T > | |
static void | log_dump_val_worker (T *ptr) |
template<typename T , typename... Args> | |
void | log_dump_args_worker (const char *p, T first, Args...args) |
Variables | |
std::vector< FILE * > | log_files |
std::vector< std::ostream * > | log_streams |
FILE * | log_errfile |
SHA1 * | log_hasher |
bool | log_time |
bool | log_cmd_error_throw |
bool | log_quiet_warnings |
int | log_verbose_level |
void void void YS_NORETURN void | noreturn |
#define log_abort | ( | ) | YOSYS_NAMESPACE_PREFIX log_error("Abort in %s:%d.\n", __FILE__, __LINE__) |
#define log_assert | ( | _assert_expr_ | ) | YOSYS_NAMESPACE_PREFIX log_assert_worker(_assert_expr_, #_assert_expr_, __FILE__, __LINE__) |
#define log_dump | ( | ... | ) |
#define log_ping | ( | ) | YOSYS_NAMESPACE_PREFIX log("-- %s:%d %s --\n", __FILE__, __LINE__, __PRETTY_FUNCTION__) |
#define S__LINE__ S__LINE__sub1(__LINE__) |
#define S__LINE__sub1 | ( | x | ) | S__LINE__sub2(x) |
void log | ( | const char * | format, |
... | |||
) |
|
inlinestatic |
void log_cell | ( | RTLIL::Cell * | cell, |
std::string | indent = "" |
||
) |
Definition at line 292 of file log.cc.
YS_NORETURN void log_cmd_error | ( | const char * | format, |
... | |||
) |
|
inlinestatic |
void log_dump_args_worker | ( | const char * | p, |
T | first, | ||
Args... | args | ||
) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
void log_dump_val_worker | ( | RTLIL::SigSpec | v | ) |
|
inlinestatic |
void void void YS_NORETURN void log_error | ( | const char * | format, |
... | |||
) |
void log_flush | ( | ) |
void void log_header | ( | const char * | format, |
... | |||
) |
const char* log_id | ( | RTLIL::IdString | id | ) |
|
inlinestatic |
void log_pop | ( | ) |
void log_push | ( | ) |
void log_reset_stack | ( | ) |
const char* log_signal | ( | const RTLIL::SigSpec & | sig, |
bool | autoint = true |
||
) |
Definition at line 269 of file log.cc.
void log_spacer | ( | ) |
void void void log_warning | ( | const char * | format, |
... | |||
) |
void logv | ( | const char * | format, |
va_list | ap | ||
) |
YS_NORETURN void logv_error | ( | const char * | format, |
va_list | ap | ||
) |
void logv_header | ( | const char * | format, |
va_list | ap | ||
) |
void logv_warning | ( | const char * | format, |
va_list | ap | ||
) |
YS_NORETURN void noreturn |