[llvm] r203343 - [bugpoint] Don't ignore arg in -compile-commad="tool arg"

David Blaikie dblaikie at gmail.com
Sat Mar 8 00:18:16 PST 2014


Any chance of test cases?
On Mar 7, 2014 11:56 PM, "Adam Nemet" <anemet at apple.com> wrote:

> Author: anemet
> Date: Sat Mar  8 01:48:19 2014
> New Revision: 203343
>
> URL: http://llvm.org/viewvc/llvm-project?rev=203343&view=rev
> Log:
> [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.
>
> Modified:
>     llvm/trunk/tools/bugpoint/ToolRunner.cpp
>
> Modified: llvm/trunk/tools/bugpoint/ToolRunner.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/ToolRunner.cpp?rev=203343&r1=203342&r2=203343&view=diff
>
> ==============================================================================
> --- llvm/trunk/tools/bugpoint/ToolRunner.cpp (original)
> +++ llvm/trunk/tools/bugpoint/ToolRunner.cpp Sat Mar  8 01:48:19 2014
> @@ -406,7 +406,7 @@ int CustomExecutor::ExecuteProgram(const
>  // 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 = " ";
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140308/ab24810f/attachment.html>


More information about the llvm-commits mailing list