Fix FCall implementation collision on ARM64 (#39810)
authorAnton Lapounov <antonl@microsoft.com>
Thu, 23 Jul 2020 04:17:42 +0000 (21:17 -0700)
committerGitHub <noreply@github.com>
Thu, 23 Jul 2020 04:17:42 +0000 (21:17 -0700)
commit811c8c7ffb244c098f22ac134ddb43bf3e152396
tree3b6f49343addae7f075be074dc74e06f3e659301
parent4f257c73f53d454adb106301b5bfcf57c79ba485
Fix FCall implementation collision on ARM64 (#39810)

Two FCalls, DependentHandle::nSetPrimary and MarshalNative::GCHandleInternalSet, had identical implementations, which led to a failure in ECall::GetFCallImpl ("Duplicate pImplementation entries found in reverse fcall table"). Add FCUnique() to make them different.
src/coreclr/src/vm/comdependenthandle.cpp