aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorAlex Langford <alangford@apple.com>2023-05-24 19:42:15 -0700
committerAlex Langford <alangford@apple.com>2023-05-30 15:13:17 -0700
commit57154a63a07f732552968141136279350bcdf99d (patch)
treed1b5a58e5fb343612c551be6e8dda8ee499f5f7d /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent454163354b0b2755746f9b3c32059adff4d34bd3 (diff)
downloadllvm-57154a63a07f732552968141136279350bcdf99d.zip
llvm-57154a63a07f732552968141136279350bcdf99d.tar.gz
llvm-57154a63a07f732552968141136279350bcdf99d.tar.bz2
[lldb] Introduce FileSpec::GetComponents
This patch introduces FileSpec::GetComponents, a method that splits a FileSpec's path into its individual components. For example, given /foo/bar/baz, you'll get back a vector of strings {"foo", "bar", baz"}. The motivation here is to reduce the use of `FileSpec::RemoveLastPathComponent`. Mutating a FileSpec is expensive, so providing a way of doing this without mutation is useful. Differential Revision: https://reviews.llvm.org/D151399
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions