ARM64: Fix Frame with VarArg
authorKyungwoo Lee <kyulee@microsoft.com>
Fri, 22 Apr 2016 13:49:35 +0000 (06:49 -0700)
committerKyungwoo Lee <kyulee@microsoft.com>
Fri, 22 Apr 2016 18:30:12 +0000 (11:30 -0700)
commit8737b292d81a753fc78ba600f574edaddfc37834
treeb4212ee072a9108f5318365f1341ab07cc831e28
parent4e769b7658f239cff2a0c80b673b91de8d686388
ARM64: Fix Frame with VarArg

Fixes https://github.com/dotnet/coreclr/issues/4424
JIT homes incoming vararg (8) registers to the top of the stack.
When stack location is computed for local vars, JIT didn't
take it into consideration causing the overlapped stack
offsets for local vars and varargs. The stack offsets of local vars
corresponding to varargs should point to this home area instead of
the newly alloacted slot.
src/jit/codegenarm64.cpp
src/jit/codegencommon.cpp
src/jit/lclvars.cpp
tests/arm64/Tests.lst