x86: Deactivate P/Invoke frames after a native call.
authorPat Gavlin <pagavlin@microsoft.com>
Mon, 5 Dec 2016 23:50:13 +0000 (15:50 -0800)
committerPat Gavlin <pagavlin@microsoft.com>
Mon, 5 Dec 2016 23:52:10 +0000 (15:52 -0800)
commit7977df82c3b73ea6d783c758cd42da69667ab176
tree9822e24032bfea3d238515b24a6d9748267457e5
parentc552b65f15ecada86bf6bffdad08d321d50dedc3
x86: Deactivate P/Invoke frames after a native call.

Although this does not appear to be strictly necessary, this matches
JIT32's behavior. With this change, the stack walker will ignore the
P/Invoke frame even while it is still present on its thread's frame
list.

Fixes VSO 297109.

Commit migrated from https://github.com/dotnet/coreclr/commit/4fa21337c75284fec6eec6f77e9201643819e2e6
src/coreclr/src/jit/lower.cpp