1
0
mirror of synced 2026-02-15 20:46:01 +00:00
Files
YosysHQ.yosys/backends
Catherine 9134cd1928 cxxrtl: reduce stack space consumed by debug_info().
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%.
2024-05-08 02:55:17 +00:00
..
2024-02-06 17:51:29 +01:00
2023-08-12 11:59:39 +10:00
2024-02-06 17:51:29 +01:00
2024-02-06 17:51:29 +01:00
2021-06-09 12:42:52 +02:00
2024-03-24 00:41:54 -04:00
2024-02-06 17:51:29 +01:00
2023-08-12 11:59:39 +10:00
2024-02-06 17:51:29 +01:00
2024-02-06 17:51:29 +01:00