Fix ArgIterator::GetNextOffset for macOS arm64 (#48632)
authorJan Vorlicek <jan.vorlicek@volny.cz>
Tue, 23 Feb 2021 11:31:00 +0000 (03:31 -0800)
committerGitHub <noreply@github.com>
Tue, 23 Feb 2021 11:31:00 +0000 (11:31 +0000)
commitd5ab93c4a8e45da2dab8924c2165000bf78f84e6
tree197c7d7cfc36a5306f8771f2b2987f4d3d3576d9
parentc9fe433ebb3e5a489083fda8582861926596a41e
Fix ArgIterator::GetNextOffset for macOS arm64 (#48632)

* Fix ArgIterator::GetNextOffset for macOS arm64

The ArgIterator::GetNextOffset method was not aligning offsets it returns
for reference types and some others. That was causing coreclr test failures
with GCStress mode 3.

This change fixes it by properly aligning the returned offsets.

* Fix indentation
src/coreclr/vm/callingconvention.h