Skip to content

[mono][aot] Preserve P/Invoked symbols when stripping #81530

Closed as not planned
Closed as not planned
@kotlarmilos

Description

@kotlarmilos

Enable Mono AOT compiler to generate a list of symbols which get P/Invoked, so they can get preserved during stripping phase, instead of relying on a custom linker steps in Xamarin or stripping non-global symbols in MonoAOTCompiler msbuild task.

#79721 could be extended to output the list of P/Invoked symbols and possibly strip more from the final binary.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions