Provide source-location logging.
authorHenner Zeller <h.zeller@acm.org>
Thu, 19 Jul 2018 16:40:20 +0000 (09:40 -0700)
committerHenner Zeller <h.zeller@acm.org>
Thu, 19 Jul 2018 17:22:02 +0000 (10:22 -0700)
commit1a60126a3468c525ac31de930dfb139b70512a34
tree37a93a112c809c11cdecae91ed7042bea0dd793f
parent87aef8f0cc9ee63fc8fe5eb26e6ceb73aa83b5c9
Provide source-location logging.

o Provide log_file_warning() and log_file_error() that prefix the log
  message with <filename>:<lineno>: to be easily picked up by IDEs that
  need to step through errors.
o Simplify some duplicate logging code in kernel/log.cc
o Use the new log functions in genrtlil.
frontends/ast/genrtlil.cc
kernel/log.cc
kernel/log.h