[bugpoint] Don't ignore arg in -compile-commad="tool arg"
[oota-llvm.git] / tools / bugpoint / ToolRunner.cpp
index 254d99723383aaed404817392c8c4918e91872c8..22199f814470dc41607a2524d0045ac48f61bd88 100644 (file)
@@ -406,7 +406,7 @@ int CustomExecutor::ExecuteProgram(const std::string &Bitcode,
 // code borrowed from:
 // http://oopweb.com/CPP/Documents/CPPHOWTO/Volume/C++Programming-HOWTO-7.html
 static void lexCommand(std::string &Message, const std::string &CommandLine,
-                       std::string &CmdPath, std::vector<std::string> Args) {
+                       std::string &CmdPath, std::vector<std::string> &Args) {
 
   std::string Command = "";
   std::string delimiters = " ";