Add unwind info to core dumps. (#13547)
authorMike McLaughlin <mikem@microsoft.com>
Thu, 24 Aug 2017 04:13:36 +0000 (21:13 -0700)
committerGitHub <noreply@github.com>
Thu, 24 Aug 2017 04:13:36 +0000 (21:13 -0700)
commit94a67752ace5236cb6228c4cbc6e6c2976895f2a
treef6844b51dedef5356d243f6c97613aeaac457043
parenta3e884a062607ac296fc3943796627e2209a95ea
Add unwind info to core dumps. (#13547)

The createdump utility now enumerates all the native stack frames (with
some help from the managed stack walker) for all the threads adding all
the ELF unwind info needed.

On a different machine and without any of the native modules loaded when
the crashdump was generated all the thread stacks can still be unwound
with lldb/gdb.

Change the PAL_VirtualUnwindOutOfProc read memory adapter in DAC
to add the memory to instances manager.

Some misc. cleanup.
src/debug/createdump/crashinfo.cpp
src/debug/createdump/crashinfo.h
src/debug/createdump/datatarget.cpp
src/debug/createdump/datatarget.h
src/debug/createdump/memoryregion.h
src/debug/createdump/threadinfo.cpp
src/debug/createdump/threadinfo.h
src/debug/daccess/dacfn.cpp
src/debug/daccess/dacimpl.h