diff options
author | Jacob Lalonde <jalalonde@fb.com> | 2024-08-27 07:33:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-27 07:33:12 -0700 |
commit | d517b224117f760e6a7299b267256e3240c04edb (patch) | |
tree | 42b71f96962f2dc4d7f616fb1191ad64c8827f76 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | |
parent | 556e9d0386a71ab2b59f94740909c6c3b6ac5f06 (diff) | |
download | llvm-d517b224117f760e6a7299b267256e3240c04edb.zip llvm-d517b224117f760e6a7299b267256e3240c04edb.tar.gz llvm-d517b224117f760e6a7299b267256e3240c04edb.tar.bz2 |
[LLDB][SBSaveCore] Add selectable memory regions to SBSaveCore (#105442)
This patch adds the option to specify specific memory ranges to be
included in a given core file. The current implementation lets user
specified ranges either be in addition to a certain save style, or
independent of them via the newly added custom enum.
To achieve being inclusive of save style, I've moved from a std::vector
of ranges to a RangeDataVector, and to join overlapping ranges to
prevent duplication of memory ranges in the core file.
As a non function bonus, when SBSavecore was initially created, the
header was included in the lldb-private interfaces, and I've fixed that
and moved it the forward declare as an oversight. CC @bulbazord in case
we need to include that into swift.
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions