3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-05-16 12:14:46 +00:00
yosys/passes
Krystine Sherwin af75dce660
Fix Crashes with GCC 15 #5088
When building `WITH_PYTHON`, where a global list of modules is maintained, deleting a module also erases the entry in said global list.  This can lead to memory corruption if the global list is destructed before the module.
Using `on_shutdown()` instead means the module destructor is explicitly called before the global list can be destructed, preventing the issue.
Also add a comment to `Pass::~Pass()` to suggest the same for future passes that might try to use that (and see this commit in the blame if they need a reason why).
2025-05-10 09:59:13 +12:00
..
cmds Fix Crashes with GCC 15 #5088 2025-05-10 09:59:13 +12:00
equiv mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
fsm io: refactor string and file work into new unit 2025-03-19 13:43:42 +01:00
hierarchy hierarchy: Ignore width mismatch from verific 2025-04-11 04:12:34 +12:00
memory memory_libmap: fix MapWorker memory allocation 2025-04-14 12:41:14 +02:00
opt opt_expr: only sign extend shift arguments for arithmetic right shift 2025-04-26 12:40:04 +02:00
pmgen io: refactor string and file work into new unit 2025-03-19 13:43:42 +01:00
proc mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
sat driver: allow --no-version still write things like Generated by Yosys 2025-05-07 11:34:23 +02:00
techmap gzip: refactor file open failure errors 2025-04-29 10:37:35 +02:00
tests macc: Rename 'ports' to 'terms' throughout codebase 2025-03-18 13:25:10 +01:00