0x00005555556ec6e1 in Yosys::RTLIL::Design::module (this=<optimized out>, name=...) at kernel/rtlil.cc:423
423 return modules_.count(name) ? modules_.at(name) : NULL;
(gdb) bt
#0 0x00005555556ec6e1 in Yosys::RTLIL::Design::module (this=<optimized out>, name=...) at kernel/rtlil.cc:423
#1 0x0000555555c643d0 in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
at passes/hierarchy/hierarchy.cc:508
#2 0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
at passes/hierarchy/hierarchy.cc:509
#3 0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
at passes/hierarchy/hierarchy.cc:509
#4 0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
at passes/hierarchy/hierarchy.cc:509
#5 0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
at passes/hierarchy/hierarchy.cc:509
#6 0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
at passes/hierarchy/hierarchy.cc:509
#7 0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
at passes/hierarchy/hierarchy.cc:509
#8 0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
at passes/hierarchy/hierarchy.cc:509
#9 0x0000555555c643eb in (anonymous namespace)::set_keep_assert (cache=std::map with 0 elements, mod=<optimized out>)
at passes/hierarchy/hierarchy.cc:509
(and so on)
Reduced from a testcase from @cr1901 which involved a missing -lib, it would be nice to error out here more meaningfully.
MCVE:
Produces
Backtrace:
(and so on)
Reduced from a testcase from @cr1901 which involved a missing
-lib
, it would be nice to error out here more meaningfully.