-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Context: #8478 Changes in this commit were originally made in #8478 but aren't strictly tied to that PR. To make reviews of #8478 easier, a portion of changes were extracted and placed here. Modify the LLVM IR generator to output more readable and compact code: * Use hexadecimal integer notation wherever it makes sense (e.g. hashes, managed token IDs) * Use boolean literals `true` and `false` instead of previously used `1` and `0`, respectively * Improve formatting of arrays * Introduce arrays which can composed from various "sections", each with its own comment and with data provided during the generation process, instead of during the preparation phase. Additional changes: Extract portions of `MonoAndroidHelper.cs` and place them in a separate file, `MonoAndroidHelper.Basic.cs` . Code placed in there provides conversion between RID, and various forms of Android ABI names as well as `xxHash` functions used throughout the repository, as well as methods to handle paths of ZIP archive entries in a uniform way. #8478 uses these extracted methods in tests, in standalone utilities in addition to build tasks. Use maximum LZ4 compression level when compressing assemblies to be placed in the application APK/AAB archives.
- Loading branch information
Showing
13 changed files
with
678 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.