-
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
[ILASM] Add option to produce deterministic outputs #8293
Comments
@MichalStrehovsky I get the general goodness of this, but is this blocking anyone's real scenario currently, or is this just something you noticed? |
@RussKeldorph Just something I noticed. dotnet/corefx#20644 touched a test that relies on a binary that needs to be checked into the CoreFX repo only because the MVID is not stable when IL gets recompiled. |
Add FEATURE_MANUALLY_MANAGED_CARD_BUNDLES support Add FEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP support If both features are enabled the GC can use Background GC without the need of hardware write watch support.
This would be valuable to the Microsoft C++ team. We have a broad goal to produce bit-for-bit identical build outputs and the lack of a deterministic ilasm is impacting a small number of artifacts we build with this tool. |
I have added a deterministic flag |
We will not have time to work on this in .NET 9. Moving to .NET 10. |
@amanasifkhalid, reassigned the ILAsm issue to you. |
Various .NET compilers started adding
/deterministic
command line option that makes them produce deterministic output (multiple invocations of the compiler produce byte-for-byte identical outputs for the same input).This includes fields such as:
The text was updated successfully, but these errors were encountered: