diff --git a/libevmjit/ExecutionEngine.cpp b/libevmjit/ExecutionEngine.cpp index 8cc311ba6..dd8fb7e62 100644 --- a/libevmjit/ExecutionEngine.cpp +++ b/libevmjit/ExecutionEngine.cpp @@ -13,6 +13,7 @@ #include #include #include +#include #include "preprocessor/llvm_includes_end.h" #include "Runtime.h" @@ -71,6 +72,7 @@ cl::opt g_dump{"dump", cl::desc{"Dump LLVM IR module"}}; void parseOptions() { + static llvm::llvm_shutdown_obj shutdownObj{}; cl::AddExtraVersionPrinter(printVersion); cl::ParseEnvironmentOptions("evmjit", "EVMJIT", "Ethereum EVM JIT Compiler"); }