mirror of https://github.com/YosysHQ/yosys.git
Before this commit, the creation of (constant) attribute maps caused `debug_info()` (which is built with `__attribute__((optnone))`) to consume large amounts of stack space; up to tens of megabytes. This caused problems particularly on macOS, where the default stack size is 512 KiB. After this commit, `std::map` objects are no longer created inline in the `debug_info()` function, but are compiled to and then expanded from a string literal in a subroutine call. This reduces stack space usage by about 50%. |
||
|---|---|---|
| .. | ||
| capi | ||
| cxxrtl.h | ||
| cxxrtl_replay.h | ||
| cxxrtl_time.h | ||
| cxxrtl_vcd.h | ||