From 88e1e0f90eda8c562f5dcf5eaafc45cf2de3522f Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Thu, 6 Sep 2018 11:29:25 +0100 Subject: Unify the error message if that function has not been found. --- lib/Module/ModuleUtil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Module/ModuleUtil.cpp') diff --git a/lib/Module/ModuleUtil.cpp b/lib/Module/ModuleUtil.cpp index 5ca0a55b..5f9a12b7 100644 --- a/lib/Module/ModuleUtil.cpp +++ b/lib/Module/ModuleUtil.cpp @@ -223,7 +223,8 @@ klee::linkModules(std::vector> &modules, // fail if not found if (!composite) { - errorMsg = "'" + entryFunction.str() + "' function not found in module."; + errorMsg = + "Entry function '" + entryFunction.str() + "' not found in module."; return nullptr; } -- cgit 1.4.1