From d72a66644035d43f81afa78283ecf15c520909ec Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 29 Dec 2014 21:26:15 +0100 Subject: [PATCH] Put dummy reference to empty idstring in yosys_shutdown() --- kernel/yosys.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/yosys.cc b/kernel/yosys.cc index fa9fffa62..ac1bc7abf 100644 --- a/kernel/yosys.cc +++ b/kernel/yosys.cc @@ -420,6 +420,9 @@ void yosys_shutdown() loaded_plugins.clear(); loaded_plugin_aliases.clear(); #endif + + IdString empty_id; + IdString::put_reference(empty_id.index_); } RTLIL::IdString new_id(std::string file, int line, std::string func) -- 2.30.2