Suppress GS cookie checks in method epilogs (#40637)
authorJan Kotas <jkotas@microsoft.com>
Tue, 11 Aug 2020 01:22:13 +0000 (18:22 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Aug 2020 01:22:13 +0000 (18:22 -0700)
commit7d152b7bc9a23a96929d818dded0854bcc943aac
tree832463b027407e9151aac2e7e27a6f51b3d6e76d
parent857b2db411741ee57bfe24da58f77e6e124aa110
Suppress GS cookie checks in method epilogs (#40637)

The information about end of GS cookie scope recorded in GC info is not accurate and it cannot even be made accurate without redesign that is not worth it. Detect end of GS cookie scope by comparing it with current SP instead.

Fixes #13041
src/coreclr/src/vm/eetwain.cpp