Convert AssemblyNative::Load to QCall (#1929)
authorDong-Heon Jung <dheon.jung@samsung.com>
Tue, 28 Jan 2020 03:01:30 +0000 (12:01 +0900)
committerJan Kotas <jkotas@microsoft.com>
Tue, 28 Jan 2020 03:01:30 +0000 (19:01 -0800)
commit4011572bd462ad94bcfadb7c5b4dfcacfeae970a
tree10b64995f1d1d8804580b00855b1397e4387cf88
parent2a3233a82e314c0f5a5eca0898506aedf3bd8d96
Convert AssemblyNative::Load to QCall (#1929)

* Convert AssemblyNative::Load to QCall

- FCall uses libunwind to find Method description.
- Get rid of the libunwind overhead in AssemblyNative::Load
  by converting to QCall

* Add workaround for https://github.com/dotnet/runtime/issues/2240

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
src/coreclr/src/System.Private.CoreLib/src/System/Reflection/RuntimeAssembly.cs
src/coreclr/src/vm/assemblynative.cpp
src/coreclr/src/vm/assemblynative.hpp
src/coreclr/src/vm/ecalllist.h
src/coreclr/src/vm/qcall.h