summaryrefslogtreecommitdiff
path: root/tools/bugpoint
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2014-03-08 07:48:19 +0000
committerAdam Nemet <anemet@apple.com>2014-03-08 07:48:19 +0000
commit1829d9d29031917d17cd12add6ed91eaee02686b (patch)
treef3e26f3c22155e1cda98945ae2e5e0b590162914 /tools/bugpoint
parent5dc48d726d5664e34e67089fb6082c638f4b6d08 (diff)
downloadllvm-1829d9d29031917d17cd12add6ed91eaee02686b.tar.gz
llvm-1829d9d29031917d17cd12add6ed91eaee02686b.tar.bz2
llvm-1829d9d29031917d17cd12add6ed91eaee02686b.tar.xz
[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
Diffstat (limited to 'tools/bugpoint')
-rw-r--r--tools/bugpoint/ToolRunner.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string> Args) {
+ std::string &CmdPath, std::vector<std::string> &Args) {
std::string Command = "";
std::string delimiters = " ";