From 1829d9d29031917d17cd12add6ed91eaee02686b Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Sat, 8 Mar 2014 07:48:19 +0000 Subject: [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 --- tools/bugpoint/ToolRunner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/bugpoint') diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp index 254d997233..22199f8144 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 = " "; -- cgit v1.2.3