[all-commits] [llvm/llvm-project] f3d0bd: Revert "Revert "Be more careful to maintain quotin...

jimingham via All-commits all-commits at lists.llvm.org
Wed Sep 14 14:50:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3d0bda5344e8429121cb50aba5502c1b399e5cd
      https://github.com/llvm/llvm-project/commit/f3d0bda5344e8429121cb50aba5502c1b399e5cd
  Author: Jim Ingham <jingham at apple.com>
  Date:   2022-09-14 (Wed, 14 Sep 2022)

  Changed paths:
    M lldb/include/lldb/Interpreter/CommandInterpreter.h
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/source/Interpreter/CommandAlias.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Interpreter/CommandObject.cpp
    M lldb/source/Interpreter/Options.cpp
    M lldb/source/Utility/Args.cpp
    A lldb/test/API/commands/command/backticks/Makefile
    A lldb/test/API/commands/command/backticks/TestBackticksInAlias.py
    A lldb/test/API/commands/command/backticks/main.c

  Log Message:
  -----------
  Revert "Revert "Be more careful to maintain quoting information when parsing commands.""

    This reverts commit ac05bc0524c66c74278b26742896a4c634c034cf.

I had incorrectly removed one set of checks in the option handling in
Options::ParseAlias because I couldn't see what it is for.  It was a
bit obscure, but it handled the case where you pass "-something=other --"
as the input_line, which caused the built-in "run" alias not to return
the right value for IsDashDashCommand, causing TestHelp.py to fail.




More information about the All-commits mailing list