[lldb-dev] Do we have any infrastructure for creating mini dump files from a loaded process or from a core file?
Leonard Mosescu via lldb-dev
lldb-dev at lists.llvm.org
Wed Jun 13 13:50:22 PDT 2018
The minidump format is more or less documented in MSDN
That being said, it's not exactly trivial to produce a good minidump. Crashpad
<https://chromium.googlesource.com/crashpad/crashpad>has a native &
cross-platform minidump writer, that's what I'd start with.
On Wed, Jun 13, 2018 at 1:38 PM, Adrian McCarthy via lldb-dev <
lldb-dev at lists.llvm.org> wrote:
> Zach's right. On Windows, lldb can produce a minidump, but it just calls
> out to a Microsoft library to do so. We don't have any platform-agnostic
> code for producing a minidump.
> I've also pinged another Googler who I know might be interested in
> converting between minidumps and core files (the opposite direction) to see
> if he has any additional info. I don't think he's on lldb-dev, though, so
> I'll act as a relay if necessary.
> On Wed, Jun 13, 2018 at 12:07 PM, Zachary Turner via lldb-dev <
> lldb-dev at lists.llvm.org> wrote:
>> We can’t produce them, but you should check out the source code of google
>> breakpad / crashpad which can.
>> That said it’s a pretty simple format, there may be enough in our
>> consumer code that should allow you to produce them
>> lldb-dev mailing list
>> lldb-dev at lists.llvm.org
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev