-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Enable more ILLink tests in NativeAOT #85651
Conversation
This reverts commit e31ba1d.
Also fixes the infra to correctly process all inputs (including additional dependencies). Enables one more test and disables one which is not meant to work yet.
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas Issue DetailsProduct fixes:
Test fixes:
Enables several more data flow tests from linker for AOT as well.
|
This is ready for review - all CI failures are unrelated. |
@@ -64,6 +64,20 @@ public ILScanResults Trim (ILCompilerOptions options, ILogWriter logWriter) | |||
|
|||
compilationRoots.Add (new MainMethodRootProvider (entrypointModule, CreateInitializerList (typeSystemContext, options), generateLibraryAndModuleInitializers: true)); | |||
|
|||
foreach (var rootedAssembly in options.AdditionalRootAssemblies) { | |||
// For compatibility with IL Linker, the parameter could be a file name or an assembly name. | |||
// This is the logic IL Linker uses to decide how to interpret the string. Really. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😢 Do our tests actually use the file path case? Wondering if we can just leave it out here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point - I'll remove that (I just blindly copied this from ilc)
"<Module>.MainMethodWrapper()" | ||
"<Module>.MainMethodWrapper()", | ||
|
||
// Ignore compiler generated code which can't be reasonably matches to the source method |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Ignore compiler generated code which can't be reasonably matches to the source method | |
// Ignore compiler generated code which can't be reasonably matched to the source method |
Product fixes:
Test fixes:
Enables several more data flow tests from linker for AOT as well.
Updates some bug links to point to runtime repo.