Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[mono][aot] Disable dedup for wrapper with a return type which has a …
…cmod.

The wrappers are not found at runtime in some cases.

Ref: #79814.
  • Loading branch information
vargaz authored and github-actions committed Jan 22, 2023
commit f2d645f8972b438c38d9b1e28bee84650b22a999
5 changes: 5 additions & 0 deletions src/mono/mono/mini/aot-runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -4445,6 +4445,11 @@ mono_aot_can_dedup (MonoMethod *method)
/* Handled using linkonce */
return FALSE;
#endif
MonoMethodSignature *sig = mono_method_signature_internal (method);
if (sig->ret->has_cmods) {
// FIXME:
return FALSE;
}
return TRUE;
}
default:
Expand Down