summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ObjectContainerMachOFileset.cpp
AgeCommit message (Collapse)Author
2024-07-10[lldb] Don't crash on malformed filesets (#98388)Jonas Devlieghere
The memory read can fail for a malformed fileset. Handle it gracefully instead of passing a nullptr to the std::string constructor. rdar://131477833
2023-09-05[lldb][Plugins] Reflect structure changes in ObjectContainerAntonio Frighetto
Reflect recent changes made to MachO `fileset_entry_command` struct.
2023-01-07[lldb] Use std::optional instead of llvm::Optional (NFC)Kazu Hirata
This patch replaces (llvm::|)Optional< with std::optional<. I'll post a separate patch to clean up the "using" declarations, #include "llvm/ADT/Optional.h", etc. This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
2023-01-07[lldb] Add #include <optional> (NFC)Kazu Hirata
This patch adds #include <optional> to those files containing llvm::Optional<...> or Optional<...>. I'll post a separate patch to actually replace llvm::Optional with std::optional. This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
2022-12-04[lldb] Use std::nullopt instead of None (NFC)Kazu Hirata
This patch mechanically replaces None with std::nullopt where the compiler would warn if None were deprecated. The intent is to reduce the amount of manual work required in migrating from Optional to std::optional. This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
2022-08-30[lldb] Fix two bugs in ObjectContainerMachOFilesetJonas Devlieghere
Fix two small issues in the live-memory variant of ObjectContainerMachOFileset. Differential revision: https://reviews.llvm.org/D132973
2022-08-25[lldb] Computer the slide when and apply it to each fileset's vm addrJonas Devlieghere
Computer the slide when and apply it to each entry's vm addr when reading from memory. Differential revision: https://reviews.llvm.org/D132710
2022-08-25[lldb] Teach LLDB about Mach-O filesetsJonas Devlieghere
This patch teaches LLDB about Mach-O filesets. Filsets are Mach-O files that contain a bunch of other Mach-O files. Unlike universal binaries, which have a different header, Filesets use load commands to describe the different entries it contains. Differential revision: https://reviews.llvm.org/D132433