[x86/Linux] Fix marshalling struct with 64-bit types (#17455)
authorKonstantin Baladurin <k.baladurin@partner.samsung.com>
Mon, 16 Apr 2018 18:11:41 +0000 (21:11 +0300)
committer이형주/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>
Fri, 6 Jul 2018 00:22:08 +0000 (09:22 +0900)
commitb192de29e9035467716c59187d774f2105c89521
treedfe836ddc7d16f33d5a0060524fc87c16b5f9020
parent085dc2aec408c22e48ec5fff46b42429accf8a6f
[x86/Linux] Fix marshalling struct with 64-bit types (#17455)

* [x86/Linux] Fix marshalling struct with 64-bit types

The System V ABI for i386 defines 4-byte alignment for 64-bit types.

* [Linux/x86] Fix marshalling tests in the case of System V i386 ABI
src/vm/fieldmarshaler.cpp
src/vm/fieldmarshaler.h
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshal/marshalsizeof1.cs
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshal/marshalsizeof2.cs
tests/src/Interop/MarshalAPI/OffsetOf/OffsetOf.cs
tests/src/Interop/StructPacking/StructPacking.cs