[release/6.0] Prevent AV in processinfo2 while suspended on Mono. (#58158)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fri, 27 Aug 2021 13:21:48 +0000 (09:21 -0400)
committerGitHub <noreply@github.com>
Fri, 27 Aug 2021 13:21:48 +0000 (09:21 -0400)
commit824368bb974f36c02bde63bc90710c0c11ee1437
tree1e39581dcc8d6ce0508aebfcb247ef06b4180d02
parentefe56d6f973b1b42425de0e36d691e0e8a4446cd
[release/6.0] Prevent AV in processinfo2 while suspended on Mono. (#58158)

#55379 only fixed CoreCLR. This commit makes similar fix in Mono as well, making sure
src/tests/tracing/eventpipe/diagnosticport runtime test pass on Mono.

Co-authored-by: lateralusX <lateralusx.github@gmail.com>
Co-authored-by: Martin Costello <martin@martincostello.com>
src/mono/mono/eventpipe/ep-rt-mono.h