Hide DispatchTailCalls helper in stacktraces (#45019)
authorJan Kotas <jkotas@microsoft.com>
Sat, 21 Nov 2020 02:32:04 +0000 (18:32 -0800)
committerGitHub <noreply@github.com>
Sat, 21 Nov 2020 02:32:04 +0000 (18:32 -0800)
Fixes #45011

src/coreclr/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.CoreCLR.cs

index 6b6e463..0f0c7a4 100644 (file)
@@ -289,6 +289,7 @@ namespace System.Runtime.CompilerServices
         [MethodImpl(MethodImplOptions.InternalCall)]
         private static unsafe extern TailCallTls* GetTailCallInfo(IntPtr retAddrSlot, IntPtr* retAddr);
 
+        [StackTraceHidden]
         private static unsafe void DispatchTailCalls(
             IntPtr callersRetAddrSlot,
             delegate*<IntPtr, IntPtr, IntPtr*, void> callTarget,