[all-commits] [llvm/llvm-project] 6c089b: Be more careful to maintain quoting information wh...
jimingham via All-commits
all-commits at lists.llvm.org
Tue Sep 13 11:03:07 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6c089b2af5d8d98f66b27b67f70958f520820a76
https://github.com/llvm/llvm-project/commit/6c089b2af5d8d98f66b27b67f70958f520820a76
Author: Jim Ingham <jingham at apple.com>
Date: 2022-09-13 (Tue, 13 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:
-----------
Be more careful to maintain quoting information when parsing commands.
This is particularly a problem for alias construction, where you might
want to have a backtick surrounded option in the alias. Before this
patch:
command alias expression -Z \`argc\` -- argv
for instance would be rendered as:
expression -Z argc -- argv
and would fail to work.
Differential Revision: https://reviews.llvm.org/D133045
More information about the All-commits
mailing list