Don't flag memory-only mach-o corefiles as invalid
authorJason Molenda <jason@molenda.com>
Fri, 27 Jan 2023 17:37:34 +0000 (09:37 -0800)
committerJason Molenda <jason@molenda.com>
Fri, 27 Jan 2023 17:40:54 +0000 (09:40 -0800)
commit841b26f1d80f69c45bbf2426761f3e3b9c927d86
treefa0d6e473354cccf2609eac825b95891d40908ec
parent4f9964738b9c01f16bc962aac68e441377c8c842
Don't flag memory-only mach-o corefiles as invalid

It is possible to have a memory-only mach-o corefile, with the
threads provided by an os-plugin thread provider, or a scripted
process, in Python.

Differential Revision: https://reviews.llvm.org/D142662
rdar://102579544
lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp