mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
parent
7d076f071e
commit
1167538d26
5 changed files with 9 additions and 52 deletions
|
@ -25,7 +25,7 @@
|
|||
# include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) || defined(__FreeBSD__)
|
||||
#ifdef __linux__
|
||||
# include <dlfcn.h>
|
||||
#endif
|
||||
|
||||
|
@ -392,7 +392,7 @@ void log_pop()
|
|||
log_flush();
|
||||
}
|
||||
|
||||
#if (defined(__linux__) || defined(__FreeBSD__)) && defined(YOSYS_ENABLE_PLUGINS)
|
||||
#if defined(__linux__) && defined(YOSYS_ENABLE_PLUGINS)
|
||||
void log_backtrace(const char *prefix, int levels)
|
||||
{
|
||||
if (levels <= 0) return;
|
||||
|
@ -587,7 +587,7 @@ void log_wire(RTLIL::Wire *wire, std::string indent)
|
|||
// ---------------------------------------------------
|
||||
// This is the magic behind the code coverage counters
|
||||
// ---------------------------------------------------
|
||||
#if defined(YOSYS_ENABLE_COVER) && (defined(__linux__) || defined(__FreeBSD__))
|
||||
#if defined(YOSYS_ENABLE_COVER) && defined(__linux__)
|
||||
|
||||
dict<std::string, std::pair<std::string, int>> extra_coverage_data;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue