From: Adam Nemet Date: Sat, 8 Mar 2014 07:48:19 +0000 (+0000) Subject: [bugpoint] Don't ignore arg in -compile-commad="tool arg" X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1829d9d29031917d17cd12add6ed91eaee02686b;p=oota-llvm.git [bugpoint] Don't ignore arg in -compile-commad="tool arg" Args is an output parameter of the function lexCommand but the reference operator was missed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203343 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp index 254d9972338..22199f81447 100644 --- a/tools/bugpoint/ToolRunner.cpp +++ b/tools/bugpoint/ToolRunner.cpp @@ -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 Args) { + std::string &CmdPath, std::vector &Args) { std::string Command = ""; std::string delimiters = " ";