diff options
author | Alex Langford <alangford@apple.com> | 2023-04-14 17:13:55 -0700 |
---|---|---|
committer | Alex Langford <alangford@apple.com> | 2023-04-17 15:15:36 -0700 |
commit | c8bb7c234c6814b80e2be27eba9718de7ab1ad79 (patch) | |
tree | 3cd4859631f523dc14fa5d035a611974190e63b7 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 43ac269bdd00d709005f8f3550db6b657b2bf940 (diff) | |
download | llvm-c8bb7c234c6814b80e2be27eba9718de7ab1ad79.zip llvm-c8bb7c234c6814b80e2be27eba9718de7ab1ad79.tar.gz llvm-c8bb7c234c6814b80e2be27eba9718de7ab1ad79.tar.bz2 |
[lldb] Remove use of ConstString from Args::GetShellSafeArgument
Having the names of various shells in ConstString's StringPool is not
really necessary, especially if they are otherwise not going to be there
in the first place. For example, if the person debugging uses bash on
their system, the `shell` parameter will have its `m_filename` set to a
ConstString containing "bash". However, fish, tcsh, zsh, and sh will
probably never be used and are just taking up space in the StringPool.
Differential Revision: https://reviews.llvm.org/D148402
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions