[all-commits] [llvm/llvm-project] d0ee1d: [lldb][NFC] Make GetShellSafeArgument simpler and ...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Mon Oct 26 07:30:11 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d0ee1d8efe804b3184b1073cd367a307867f1372
https://github.com/llvm/llvm-project/commit/d0ee1d8efe804b3184b1073cd367a307867f1372
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2020-10-26 (Mon, 26 Oct 2020)
Changed paths:
M lldb/source/Utility/Args.cpp
Log Message:
-----------
[lldb][NFC] Make GetShellSafeArgument simpler and faster
Escaping by inserting characters in the middle of a std::string isn't cheap.
It's much more verbose than just prepending a backslash in a loop.
More information about the All-commits
mailing list