Fix GC reporting for slow tail call arguments of type `Span<T>` (#14826)
authorKoundinya Veluri <kouvel@users.noreply.github.com>
Mon, 6 Nov 2017 22:28:41 +0000 (14:28 -0800)
committerGitHub <noreply@github.com>
Mon, 6 Nov 2017 22:28:41 +0000 (14:28 -0800)
commit1a67e84aca889cf94c716a7847cfe0b4d1ee62d6
treeee24ebe93ec1ea69c456b729c495f1ead37394de
parentaee95b5490f55512635f8f87c21e54e164fb9a2f
Fix GC reporting for slow tail call arguments of type `Span<T>` (#14826)

Fix GC reporting for slow tail call arguments of type `Span<T>`

Fixes https://github.com/dotnet/coreclr/issues/9032:
- Refactored by-ref-like method table walking to find offsets of by-ref pointers in siginfo.hpp/cpp
- Reused that for appending GC layout when creating the copy-args helper for a slow tail call
src/vm/i386/stublinkerx86.cpp
src/vm/object.inl
src/vm/siginfo.cpp
src/vm/siginfo.hpp
tests/src/CoreMangLib/system/span/SlowTailCallArgs.cs [new file with mode: 0644]
tests/src/CoreMangLib/system/span/SlowTailCallArgs.csproj [new file with mode: 0644]