diff options
author | Dave Lee <davelee.com@gmail.com> | 2021-12-30 14:41:27 -0800 |
---|---|---|
committer | Dave Lee <davelee.com@gmail.com> | 2022-01-09 12:09:02 -0800 |
commit | 9d9f3e0ec773c6a2c570c8bc7484367bff73190c (patch) | |
tree | ccadec5bf54a24516299954c976bf18c9f4d306a /lldb/source/Commands/CommandObjectScript.cpp | |
parent | 8871d8236a9f542014713adc3da52f82395d3b5a (diff) | |
download | llvm-9d9f3e0ec773c6a2c570c8bc7484367bff73190c.zip llvm-9d9f3e0ec773c6a2c570c8bc7484367bff73190c.tar.gz llvm-9d9f3e0ec773c6a2c570c8bc7484367bff73190c.tar.bz2 |
[lldb] Remove ProcessStructReader from NSStringSummaryProvider (NFC)
Simplify getting the length of `NSPathStore2` strings.
`NSStringSummaryProvider` uses a single field from `NSPathStore2` instances,
its first ivar: `_lengthAndRefCount`. This change uses
`GetSyntheticChildAtOffset` to replace the use of `ProcessStructReader`, and
removes the hard coded `CompilerType` definition of `NSPathStore2`.
Differential Revision: https://reviews.llvm.org/D116461
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions