-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Comparing changes
Open a pull request
base repository: dotnet/runtime
base: e3a80f31d0e
head repository: dotnet/runtime
compare: 3182dfb1e7a
- 16 commits
- 1,769 files changed
- 18 contributors
Commits on Apr 14, 2023
-
Switch mono to use cmake-detected objcopy (#83903)
We use `configuretools.cmake` in `coreclr`, native `libs` (for both runtimes), `corehost` and `tests` to locate tools most suitable for the selected toolchain. However for `mono`, we manually specify a hardcoded list of `objcopy` names which require extra step in _each_ cross Dockerfile (e.g. [when distro package provides cross arch binutils](https://github.com/dotnet/dotnet-buildtools-prereqs-docker/blob/b5ebe26fee6823afc3154d3da8e8540321496ca4/src/ubuntu/22.04/cross/arm64/Dockerfile#L4-L7) and [when distro package doesn't provide one](https://github.com/dotnet/dotnet-buildtools-prereqs-docker/blob/b5ebe26fee6823afc3154d3da8e8540321496ca4/src/ubuntu/22.04/cross/ppc64le-alpine/Dockerfile#L3-L20)). This manual work is redundant and adds complexity for someone working on porting runtime to a new platform or creating a docker image with runtime build prereqs. This PR brings mono to the same plan as rest of the native subsets by re-using `configuretools.cmake` in mono for `objcopy` detection and `install_with_stripped_symbols` function out of `functions.cmake`, which takes care of stripping the binaries without dealing with platform differences at call-sites. ps - moving mono to fully utilize `configurecompiler.cmake` as rest of the native subsets is ultimate goal, but it is non-trivial to accomplish in a single PR.
1Configuration menu - View commit details
-
Copy full SHA for 330d46a - Browse repository at this point
Copy the full SHA 330d46aView commit details -
[mono][aot] Enable deduplication of runtime invoke wrappers (#84304)
* Add DedupState enum and remove dedup flags
1Configuration menu - View commit details
-
Copy full SHA for 0a204f5 - Browse repository at this point
Copy the full SHA 0a204f5View commit details -
Initial work to enable native events in EventPipe (#84318)
* Initial work to enable native events in EventPipe * Linux build break fix * Match EtwProvider native runtime events with EventPipe * Fix gcc build failures * missed the diabled-lib API change * Fix test
1Configuration menu - View commit details
-
Copy full SHA for 2d833f4 - Browse repository at this point
Copy the full SHA 2d833f4View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 3d97f41 - Browse repository at this point
Copy the full SHA 3d97f41View commit details -
Implement IUtf8SpanFormattable on all the numeric types in corelib (#…
…84587) * Implement IUtf8SpanFormattable on all the numeric types in corelib Augments SByte, Byte, Int16, UInt16, Int32, UInt32, Int64, UInt64, IntPtr, UIntPtr, Int128, UInt128, Half, Single, Double, NFloat, and Decimal. Also fixes corelib TODOs around using IUtf8SpanFormattable. And removes some duplicate code from Utf8Formatter. There is still more consolidation to be done between FormattingHelpers and Number.Formatting. * Address regressions from previous formatting changes - Use an internal interface implemented by char and byte to have dedicated CastFrom methods that are always inlineable due to very small size. - Use pointers in some core formatting routines to avoid needing bulky IL for manipulating refs with spans, making various members more inlineable. - Avoid Encoding.UTF8.GetBytes in various code paths by caching more UTF8 sequences on DateTimeFormatInfo and NumberFormatInfo - Change FormatCustomizedTimeZone to special-case 2 vs 3+ tokens in order to avoid extra AppendSpan calls - Fix growth logic in ValueListBuilder to not forcibly grow more than is needed - Inline ValueListBuilder.AppendSpan and remove some bounds checks (at least on 64-bit) - Change FormatDigits to special-case lengths of 1/2/4 and to use existing formatting routines rather than a custom one - Remove the FormatDigits wrapper overload and just have all calls go to the main workhorse method. - Remove the use of "..."u8 in R/O formatting that leads to needing to use additional span-based helpers. The minimal gain on coreclr isn't worth the extra complication - Changed some switches to include half the cases based on lowercasing the ASCII input char - Moved Date/TimeOnly charsWritten into Try method to be closer to the source of truth rather than having the value far aware (this isn't for perf and could possibly even be a microregression, so I included it here to ensure it's not measurable). * Remove mono ifdef in WriteTwo/FourDigits
1Configuration menu - View commit details
-
Copy full SHA for ed09ae5 - Browse repository at this point
Copy the full SHA ed09ae5View commit details -
[RISC-V] coreclr-vm and other directories in coreclr (#82381)
* [RISC-V] coreclr-vm and other directories in coreclr - Successfully cross-build for RISC-V. - Run A simple application "helloworld" - Fail a test in clr.paltest * Remove commented codes * Fix mistakes * Update by reviews * [VM] Fix test * [VM] Update Updated by review in #82380 * [VM] Update assert and todo comments * [VM] Updated * [VM] Fix a bug * [VM] Add getRISCV64PassStructInRegisterFlags * Revert "[VM] Add getRISCV64PassStructInRegisterFlags" This reverts commit cd1ea45. * [VM] Restore getLoongArch64PassStructInRegisterFlags In coreclr-jit patch, it makes getRISCV64PassStructInRegisterFlags for RISCV64. So restore getLoongArch64PassStructInRegisterFlags * [VM] FIX TEST ERRORS * [VM] Update Stubs * Fix exceptionhandling, stack smashing detected * [VM] Fix vm/riscv64 --------- Co-authored-by: Timur Mustafin <t.mustafin@partner.samsung.com>
1Configuration menu - View commit details
-
Copy full SHA for f66c469 - Browse repository at this point
Copy the full SHA f66c469View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 932efb5 - Browse repository at this point
Copy the full SHA 932efb5View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 1079a04 - Browse repository at this point
Copy the full SHA 1079a04View commit details -
Fix double writes for M.Extensions xml docs (#84839)
We don't need the binplace item anymore as the intellisense.targets file already takes care of copying / setting docs xml files. Also stop generating an xml file for shim assemblies under src/libraries/shims as such don't contain any source code. Fixes #84762
Configuration menu - View commit details
-
Copy full SHA for a0e23f4 - Browse repository at this point
Copy the full SHA a0e23f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad994e5 - Browse repository at this point
Copy the full SHA ad994e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c02b25 - Browse repository at this point
Copy the full SHA 9c02b25View commit details -
Convert jit\jit64 to merged test groups (#83151)
This is done with a collection of automated ILTransform changes with [this version of the tool](markples/utils@cefdaff) and manual fixes. Below is an order of steps. This also restores b16102 in jit\Regression as a completely empty test, which was lost in automatic changes during that conversion. - Standardizing ilprojs suffixes - Removing test entrypoint args - Running ILTransform -p - Running ILTransform -n - Running ILTransform -m - Running ILTransform -a - Running ILTransform -prociso - Running ILTransform -collapse-main-sig - Running ILTransform -public - Running ILTransform -ilfact - Adding JIT/Directed merge tests wrapper - Removing il_do ilproj extensions - Balancing test groups - Removing invalid token $ from iltest entrypoint name - Patching merge wrapper generator code - Fixing incompatible accesibility after exposing test entrypoint - Fixing accesibility problems after wrapper generator updates - Updating issue.targets after renaming ilprojs - Ignoring on jit64/regress/vsw/373472/test_il linux wasm - Apply recent msbuild changes. Disable some analyzer warnings. - Fix xUnit1013 in pri1 tests - Restore b16102 as an empty-Main executable test - Extend IL project renaming to handle _il_do and _il_ro - Change 102754 to return 100 so exit code isn't necessary. Add comments to IL. - Unconditionally set CLRTestExpectedExitCode to allow its usage in tests in merged groups Co-authored-by: Mark Plesko <markples@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 4f7375c - Browse repository at this point
Copy the full SHA 4f7375cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bed0ec0 - Browse repository at this point
Copy the full SHA bed0ec0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d97b17b - Browse repository at this point
Copy the full SHA d97b17bView commit details -
Opt-out of default target framework filtering in source-build infra (#…
…84811) * Opt-out of default target framework filtering in source-build infra * Move the property to cover all scenarios
Configuration menu - View commit details
-
Copy full SHA for 87ba6ea - Browse repository at this point
Copy the full SHA 87ba6eaView commit details -
JIT: fix exit edge likelihood computation for capped loops (#84817)
The initial version of this only really worked for very simple cases. Generalize to handle loops with multiple exits better. The rough idea is to compute how much additional profile flow needs to come out of the loop to match the capped probability, and then try and find one exit block where we can adjust likelhoods to cause exactly this amount of extra flow to leave the loop. Closes #84789.
Configuration menu - View commit details
-
Copy full SHA for 3182dfb - Browse repository at this point
Copy the full SHA 3182dfbView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff e3a80f31d0e...3182dfb1e7a