From a263e5a0726b33497ec1e5575eae560da219fa79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Strehovsk=C3=BD?= Date: Mon, 20 Nov 2023 08:57:03 +0900 Subject: [PATCH] Tweak for x86 mangling of RuntimeExports (#69) --- .../aot/ILCompiler.Compiler/Compiler/WindowsNodeMangler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/WindowsNodeMangler.cs b/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/WindowsNodeMangler.cs index 7e21cc44a2a..7c8bbe66a1f 100644 --- a/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/WindowsNodeMangler.cs +++ b/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/WindowsNodeMangler.cs @@ -95,7 +95,7 @@ public override string ExternMethod(string unmangledName, MethodDesc method) else { Debug.Assert(method is Internal.TypeSystem.Ecma.EcmaMethod ecmaMethod && ecmaMethod.GetRuntimeExportName() != null); - callConv = UnmanagedCallingConventions.Cdecl; + return unmangledName; } int signatureBytes = 0;