Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] SpanTests.IndexOfAnyValues_GetValues test fails trying to JIT in AOT mode #80875

Open
steveisok opened this issue Jan 19, 2023 · 1 comment
Labels
area-System.Memory disabled-test The test is disabled in source code against the issue os-ios Apple iOS
Milestone

Comments

@steveisok
Copy link
Member

Looks like CreateDelegate in

private static readonly Func<IndexOfAnyValues<byte>, byte[]> s_getValuesByteMethod =
typeof(IndexOfAnyValues<byte>).GetMethod("GetValues", BindingFlags.NonPublic | BindingFlags.Instance).CreateDelegate<Func<IndexOfAnyValues<byte>, byte[]>>();
private static readonly Func<IndexOfAnyValues<char>, char[]> s_getValuesCharMethod =
typeof(IndexOfAnyValues<char>).GetMethod("GetValues", BindingFlags.NonPublic | BindingFlags.Instance).CreateDelegate<Func<IndexOfAnyValues<char>, char[]>>();

is something mono aot can't handle.

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jan 19, 2023
@ghost
Copy link

ghost commented Jan 19, 2023

Tagging subscribers to this area: @dotnet/area-system-memory
See info in area-owners.md if you want to be subscribed.

Issue Details

Looks like CreateDelegate in

private static readonly Func<IndexOfAnyValues<byte>, byte[]> s_getValuesByteMethod =
typeof(IndexOfAnyValues<byte>).GetMethod("GetValues", BindingFlags.NonPublic | BindingFlags.Instance).CreateDelegate<Func<IndexOfAnyValues<byte>, byte[]>>();
private static readonly Func<IndexOfAnyValues<char>, char[]> s_getValuesCharMethod =
typeof(IndexOfAnyValues<char>).GetMethod("GetValues", BindingFlags.NonPublic | BindingFlags.Instance).CreateDelegate<Func<IndexOfAnyValues<char>, char[]>>();

is something mono aot can't handle.

Author: steveisok
Assignees: -
Labels:

area-System.Memory, os-ios

Milestone: -

@MihaZupan MihaZupan added the disabled-test The test is disabled in source code against the issue label Feb 13, 2023
@tannergooding tannergooding removed the untriaged New issue has not been triaged by the area owner label Mar 23, 2023
@stephentoub stephentoub added this to the Future milestone Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Memory disabled-test The test is disabled in source code against the issue os-ios Apple iOS
Projects
None yet
Development

No branches or pull requests

4 participants