about summary refs log tree commit diff homepage
path: root/lib/Module
diff options
context:
space:
mode:
authorJulian Büning <julian.buening@rwth-aachen.de>2018-07-28 10:18:02 +0200
committerMartinNowack <martin.nowack@gmail.com>2018-07-28 12:27:03 +0100
commit377ce50eabe8a4b04112cf9d114c00bd2697856f (patch)
treeef7c890e76fd0576dc8dc9cb301df1ce3b170c42 /lib/Module
parentbf85ec188e0a952b6373f378826b0e26ae60f2f8 (diff)
downloadklee-377ce50eabe8a4b04112cf9d114c00bd2697856f.tar.gz
remove last comma from -debug-print-escaping-functions
Diffstat (limited to 'lib/Module')
-rw-r--r--lib/Module/KModule.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Module/KModule.cpp b/lib/Module/KModule.cpp
index 07ad2229..cbcd395c 100644
--- a/lib/Module/KModule.cpp
+++ b/lib/Module/KModule.cpp
@@ -308,8 +308,11 @@ void KModule::manifest(InterpreterHandler *ih, bool forceSourceOutput) {
 
   if (DebugPrintEscapingFunctions && !escapingFunctions.empty()) {
     llvm::errs() << "KLEE: escaping functions: [";
-    for (auto &Function : escapingFunctions)
-      llvm::errs() << Function->getName() << ", ";
+    std::string delimiter = "";
+    for (auto &Function : escapingFunctions) {
+      llvm::errs() << delimiter << Function->getName();
+      delimiter = ", ";
+    }
     llvm::errs() << "]\n";
   }
 }