Add GCDescs in front of MethodTable to dumps (#72658)
authorMike McLaughlin <mikem@microsoft.com>
Fri, 22 Jul 2022 06:08:43 +0000 (23:08 -0700)
committerGitHub <noreply@github.com>
Fri, 22 Jul 2022 06:08:43 +0000 (23:08 -0700)
commit20dd6ea921028b3a2cc660654b65112077671fb5
treebd74c74870814b6052d98025a9bec9fae52fd72e
parent4cadf9ad741fb1f0c1b09967c62aef01a8c152ee
Add GCDescs in front of MethodTable to dumps (#72658)

* Add GCDescs in front of MethodTable to dumps

* Make DacValidateMethodTable more bullet proof by DAC'ifing the MethodTable pointer (using PTR_MethodTable). On Windows,
SEH can catch the native AV exceptions but on Linux/MacOS this can crash lldb/SOS on invalid MT addresses.

This will also help with eestack/dumpstack crashing lldb also.
src/coreclr/debug/daccess/request.cpp
src/coreclr/vm/methodtable.cpp