Fix GC stress C bug for arm (#15269)
authorJan Vorlicek <janvorli@microsoft.com>
Wed, 29 Nov 2017 23:22:05 +0000 (00:22 +0100)
committerGitHub <noreply@github.com>
Wed, 29 Nov 2017 23:22:05 +0000 (00:22 +0100)
commit970884acc68afa64c0cc058a7e604d00331853b5
tree50d3731faff79481fbecc6e87865a9e737f19754
parent9e9bfd7c1d08996ffdea782a803caa7894db9b35
Fix GC stress C bug for arm (#15269)

* Fix GC stress C bug for arm

The OnGcCoverageInterrupt function was not removing the "thumb" bit from
the address before putting back the original instruction that was
previously replaced by an invalid instruction that invokes the
OnGcCoverageInterrupt. That resulted in the original instruction being
restored to incorrect location (to the original address + 1) and later
to the GC stress failure.

* Reflect PR feedback
src/vm/gccover.cpp