From 2e167256deb71f3b793978b6a0004aad7e23400f Mon Sep 17 00:00:00 2001 From: Julian Büning Date: Sat, 27 Oct 2018 15:28:45 +0200 Subject: run VerifierPass after optimization and instrumentation --- lib/Core/Executor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Core') diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index 3a5202ac..70561216 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -527,6 +527,7 @@ Executor::setModule(std::vector> &modules, preservedFunctions.push_back("memmove"); kmodule->optimiseAndPrepare(opts, preservedFunctions); + kmodule->checkModule(); // 4.) Manifest the module kmodule->manifest(interpreterHandler, StatsTracker::useStatistics()); -- cgit 1.4.1