diff options
author | Jacob Lalonde <jalalonde@fb.com> | 2024-09-11 10:33:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-11 10:33:19 -0700 |
commit | 96b7c64b8a874584a9dad44bb8901904c14701c0 (patch) | |
tree | c7569fa0e760a825dab66efc52f714f83e4597c4 /lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | |
parent | b7b28e770c461b2513ddc98953c6e019cb2f29a4 (diff) | |
download | llvm-96b7c64b8a874584a9dad44bb8901904c14701c0.zip llvm-96b7c64b8a874584a9dad44bb8901904c14701c0.tar.gz llvm-96b7c64b8a874584a9dad44bb8901904c14701c0.tar.bz2 |
[LLDB] Reapply SBSaveCore Add Memory List (#107937)
Recently in #107731 this change was revereted due to excess memory size
in `TestSkinnyCore`. This was due to a bug where a range's end was being
passed as size. Creating massive memory ranges.
Additionally, and requiring additional review, I added more unit tests
and more verbose logic to the merging of save core memory regions.
@jasonmolenda as an FYI.
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp index 9d01089..8d9c919 100644 --- a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp +++ b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp @@ -17,6 +17,7 @@ #include "lldb/Interpreter/OptionValueDictionary.h" #include "lldb/Interpreter/OptionValueProperties.h" #include "lldb/Symbol/ObjectFile.h" +#include "lldb/Symbol/SaveCoreOptions.h" #include "lldb/Target/Process.h" #include "lldb/Target/SectionLoadList.h" #include "lldb/Target/Target.h" |