diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-05-24 12:32:06 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-05-24 12:32:06 +0200 |
commit | ccd2a93439098e333a2f41ae6d1ce3d92222f167 (patch) | |
tree | 7ce062a81d6c0b6bafc2c6eef4b2f25588e7b2fe /kernel | |
parent | 585fcace10d589c87014debc61ecd1c4e40d8159 (diff) | |
download | yosys-ccd2a93439098e333a2f41ae6d1ce3d92222f167.tar.gz yosys-ccd2a93439098e333a2f41ae6d1ce3d92222f167.tar.bz2 yosys-ccd2a93439098e333a2f41ae6d1ce3d92222f167.zip |
Added log_abort() api
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/log.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/log.h b/kernel/log.h index 9023854d0..6d1900346 100644 --- a/kernel/log.h +++ b/kernel/log.h @@ -48,4 +48,6 @@ void log_flush(); const char *log_signal(const RTLIL::SigSpec &sig, bool autoint = true); +#define log_abort() log_error("Abort in %s:%d.\n", __FILE__, __LINE__) + #endif |