about summary refs log tree commit diff homepage
path: root/lib/Module/ModuleUtil.cpp
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2018-09-06 11:29:25 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2018-09-10 15:24:17 +0100
commit88e1e0f90eda8c562f5dcf5eaafc45cf2de3522f (patch)
tree5c2e512ce315d158868c2c117296ed518a5fd0d7 /lib/Module/ModuleUtil.cpp
parent83fcf1504597b2ee77276d287e70bd0ae8d201ec (diff)
downloadklee-88e1e0f90eda8c562f5dcf5eaafc45cf2de3522f.tar.gz
Unify the error message if that function has not been found.
Diffstat (limited to 'lib/Module/ModuleUtil.cpp')
-rw-r--r--lib/Module/ModuleUtil.cpp3
1 files changed, 2 insertions, 1 deletions
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<std::unique_ptr<llvm::Module>> &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;
   }