This is the first (of many) steps to add support for Windows mini dumps as targets.
Like loading an ELF core file, this patch allows lldb to open a mini dump with a command like this:
(lldb) target create -c foo.dmp
All you can do now is see the thread list. I'm planning to add functionality in bite-sized chunks.
I'm still thinking about how to write tests for this functionality. I haven't found any ELF core tests to pattern after. If you have suggestions, let me know.
This needs to be removed. The reason you see ElfCore and other MacOSX ones is because they don't use any Posix-specific APIs, but instead just read/write the core file directly and parse it. This allows you to debug an ELF core on Windows, for example. We use Windows Minidump API, so we can't allow someone not on Windows to try and link it, which this will cause to happen. If someone ever decides to write a minidump plugin that works on non-Windows, we could add that plugin here, and leave the existing one under the windows-only check