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

[mono] Introduce designated direct pinvokes to mono aot compiler #79721

Merged
merged 38 commits into from
Feb 2, 2023
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
516d7f1
[mono] Relocate get_pinvoke_import for usage in is_direct_callable di…
mdh1418 Dec 15, 2022
ceb5bf3
[mono] Initialize direct pinvoke fields and parameter parsing
mdh1418 Dec 15, 2022
29e72b5
[mono] Process direct pinvoke parameters to populate hash table
mdh1418 Dec 15, 2022
2ef0b7a
[mono] Add logic to check method for specified direct pinvoke match
mdh1418 Dec 15, 2022
2821077
[mono] Deprecate direct_pinvoke boolean flag in favor of direct_pinvo…
mdh1418 Dec 15, 2022
9013dd0
[mono] Add mibc-profile option to help prompt
mdh1418 Dec 15, 2022
3f6303b
[task] Hook in mono aot direct pinvoke parameters into MonoAOTCompile…
mdh1418 Dec 15, 2022
68f5684
Address feedback
mdh1418 Dec 16, 2022
5e00533
Revert "[mono] Deprecate direct_pinvoke boolean flag in favor of dire…
mdh1418 Dec 16, 2022
24eae69
[task] Add UseDirectPInvoke back into MonoAOTCompiler task
mdh1418 Dec 16, 2022
8cd5fb4
[mono] Warn if direct-pinvoke argument passed along with direct-pinvo…
mdh1418 Dec 16, 2022
9090c97
Address more feedback
mdh1418 Dec 19, 2022
8d77b4d
Fix direct_pinvoke_lists typo
mdh1418 Dec 19, 2022
4f217e7
[mono] Add comments to direct_pinvoke processing
mdh1418 Dec 19, 2022
46a9f45
Fix typo
mdh1418 Dec 19, 2022
3e57668
[mono] Throw error for incorrect configuration with direct pinvoke fl…
mdh1418 Dec 20, 2022
4792322
[mono] Bundle direct_pinvoke check into is_direct_pinvoke_specified_f…
mdh1418 Dec 20, 2022
b4f9a44
[mono] Refactor process_specified_direct_pinvokes
mdh1418 Dec 20, 2022
73b27df
[mono] Readd error propagation in processing specified direct pinvokes
mdh1418 Dec 20, 2022
559db69
Try to properly free and null allocated pointers and memory
mdh1418 Dec 20, 2022
f85a928
[mono] Add more error reporting and fix parameter typo
mdh1418 Dec 20, 2022
bead744
Address more feedback
mdh1418 Dec 21, 2022
18d8d0a
Address more feedback
mdh1418 Dec 22, 2022
e51e460
[mono] Read direct pinvoke input file using fgets
mdh1418 Jan 4, 2023
ef0330f
[mono] Read direct pinvoke lists file via g_file_get_contents
mdh1418 Jan 10, 2023
85799e4
[mono] ALlow multiple values for direct-pinvokes and direct-pinvoke-l…
mdh1418 Jan 11, 2023
2f8bba0
[mono] Use ITaskItem for DirectPInvoke parameters and separate multiv…
mdh1418 Jan 12, 2023
31726dd
[mono] Free MonoAotOptions
mdh1418 Jan 12, 2023
6330484
[mono] Manually free each GList in aot_opts_free and cleanup MonoAOTC…
mdh1418 Jan 13, 2023
18e53b6
[mono] Extend get_pinvoke_import to grab scope as well
mdh1418 Jan 19, 2023
b7cb5f0
Address feedback
mdh1418 Jan 19, 2023
c7c8a4b
[mono] Strip method pinvoke method ref to file name without extension
mdh1418 Jan 19, 2023
ea0d830
[mono] Remove unnecessary boolean variable from is_direct_pinvoke_spe…
mdh1418 Jan 20, 2023
4016be0
[mono] Add documentation to get_direct_pinvoke, direct_pinvokes, and …
mdh1418 Jan 20, 2023
74a518a
[mono] Handle known file extensions when parsing method pinvoke import
mdh1418 Jan 20, 2023
e2ac545
[mono] Initialize direct_pinvoke
mdh1418 Jan 24, 2023
80c72a7
[mono] Fix aot_opts_free location to appropriate scope where allocated
mdh1418 Jan 26, 2023
4f31461
[mono] Initialize mono_aot_assemblies result for return
mdh1418 Jan 27, 2023
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
Loading