- 18 5月, 2021 1 次提交
-
-
由 Ulrich Weigand 提交于
Adds cmake and proj entries to support building for s390x. Includes a bug fix to CMakeLists.txt where IS_BIG_ENDIAN was used before it was defined, causing failures on big- endian platforms.
-
- 17 5月, 2021 7 次提交
-
-
-
由 Egor Bogatov 提交于
-
由 Tom Deseyn 提交于
The timeout on this test is less than the accumulated delay on retries, which causes the test to timeout on a RHEL7 system that has the kernel bug fixed.
-
由 Dave Senn 提交于
Minor change to "fix" that sentence... not really an issue but it makes more sense like this
-
由 Ulrich Weigand 提交于
Merge https://github.com/mono/mono/pull/21052 into dotnet runtime. This fixes sporadic crashes due to code being patched non-atomically.
-
由 Vlad Brezae 提交于
When emitting it as part of thread static store.
-
由 Tanner Gooding 提交于
* Refactor codegen and emit to centralize `mov reg, reg` handling * Responding to PR feedback
-
- 16 5月, 2021 5 次提交
-
-
-
由 David Wrighton 提交于
-
https://github.com/mono/linker由 dotnet-maestro[bot] 提交于
Microsoft.NET.ILLink.Tasks From Version 6.0.100-preview.5.21263.3 -> To Version 6.0.100-preview.5.21264.1 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
由 Marek Safar 提交于
It also allows distinguishing between empty and null name
-
由 Lakshan Fernando 提交于
* Native host warnings fix Native host warnings fix * Feedback * Update docs/design/features/IJW-activation.md Co-authored-by: NVitek Karas <vitek.karas@microsoft.com> * Update src/coreclr/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.xml Co-authored-by: NVitek Karas <vitek.karas@microsoft.com> * Update src/coreclr/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.xml Co-authored-by: NVitek Karas <vitek.karas@microsoft.com> * Update docs/workflow/trimming/feature-switches.md Co-authored-by: NVitek Karas <vitek.karas@microsoft.com> * fixing the native host feature settings * feedback on error code * fb * FB * merge conflict Co-authored-by: NVitek Karas <vitek.karas@microsoft.com>
-
- 15 5月, 2021 19 次提交
-
-
由 dotnet-maestro[bot] 提交于
[main] Update dependencies from mono/linker - Throw ANE with actual parameter name and not null value - Fixes test checking wrong parameter name - Add explicit dependendecy to constructors which could be trimmed
-
由 Tarek Mahmoud Sayed 提交于
-
由 Elinor Fung 提交于
* Add hook for explicitly checking GC mode for testing (Checked/Debug only) * Make SuppressGCTransition tests explicitly check GC mode when possible * Move SuppressGCTransition tests out of PInvoke/Attributes subdirectories * Update paths in issues.targets
-
由 Gleb Balykov 提交于
Add --inputbubbleref option to crossgen2 in order to put only part of references into version bubble (#51555)
-
由 Jo Shields 提交于
An error in paths was introduced last week. Work around that, and make it a fatal build failure if the AOT compiler is missing in future to catch this faster
-
由 Tomáš Rylek 提交于
Co-authored-by: NDavid Wrighton <davidwr@microsoft.com> Co-authored-by: NAleksey Tsingauz <alekseyt@microsoft.com> Co-authored-by: NFred Silberberg <fred@silberberg.xyz>
-
由 Bruce Forstall 提交于
Fix this: ``` CMake Warning (dev) in crosscomponents.cmake: A logical block opening on the line C:/gh/runtime4/src/coreclr/crosscomponents.cmake:24 (if) closes on the line C:/gh/runtime4/src/coreclr/crosscomponents.cmake:36 (endif) with mis-matching arguments. Call Stack (most recent call first): CMakeLists.txt:254 (include) This warning is for project developers. Use -Wno-dev to suppress it. ```
-
由 David Wrighton 提交于
* Add RuntimeFeature indicating support for static virtual methods in the runtime * Mark it with the preview flag
-
由 Tomáš Rylek 提交于
This change implements initial CoreCLR runtime support for static virtual interface methods and adds over 1700 test cases covering various aspects of this new runtime feature. 1) In the JIT, we are relaxing the assumption that ".constrained" must be always followed by a "callvirt" by allowing two more IL instructions to be constrained, "call" and "ldftn". 2) In the JIT interface, we're adding bits of code to CEEInfo::getCallInfo to properly handle the new static virtual methods. We're extending constrained method resolution to cater for the static virtual method case in a new method "ResolveStaticVirtualMethod". 3) In our work on the implementation we found a pre-existing JIT interface issue - the interplay between getCallInfo and embedGenericHandle doesn't work well in case of constrained calls as the existing API surface doesn't provide any means for communicating compile-time resolution of the constraint from getCallInfo to embedGenericHandle. In this change we're working around this by deferring to runtime resolution of the constraint in the presence of shared generics. 4) In the method table builder, we're newly tracking a flag saying whether we're implementing an interface declaring static virtual methods (fHasVirtualStaticMethods) that is used to speed up the runtime checks by skipping irrelevant interfaces. 5) For Crossgen / Crossgen2, this change only adds minimalistic support in the form of bailing out in getCallInfo whenever we hit a call to a static virtual method, cancelling AOT compilation of the caller and deferring it to runtime JIT.
-
由 Bruce Forstall 提交于
1. Introduce `COMPlus_JitFgDumpPrePhase`. This is analogous to the existing `COMPlus_JitFgDumpPhase`, but to dump before a phase, not after. It takes a set of short phase names, and dumps the flow graph before each of those phases. E.g., to dump both before and after just loop cloning, you don't need to figure out which phase comes before loop cloning, you can specify: ``` set COMPlus_JitDumpFgPhase=LP-CLONE set COMPlus_JitDumpFgPrePhase=LP-CLONE ``` 2. Interpret array length node type in BBJ_COND blocks, e.g., `V01.Length <= V03`.
-
由 Bruce Forstall 提交于
-
由 Adam Sitnik 提交于
-
-
由 Geoff Kizer 提交于
Co-authored-by: NGeoffrey Kizer <geoffrek@windows.microsoft.com>
-
由 Kunal Pathak 提交于
-
由 Vlad Brezae 提交于
* [interp] Replace multiplication and division by 1 with simple mov * [interp] Skip emitting redundant branch to next basic block * [interp] Squash multiple call args moves into single opcode Some vars cannot be used directly as an argument to another call. In this case, the var offset allocator generates new intermediary vars. For methods with a lot of parameters, we can end up with quite a lot of these stores. As an example, for the following method: ``` public static void MethodPartial (int a, int b, object c, object d) { MethodFull (a, b, c, d, 12523); } ``` Before: ``` IR_0000: ldc.i8 [72 <- nil], 12523 IR_0006: mov.4 [40 <- 0], IR_0009: mov.4 [48 <- 8], IR_000c: mov.8 [56 <- 16], IR_000f: mov.8 [64 <- 24], IR_0012: call [32 <- 40], 0 IR_0016: ret.void [nil <- nil], ``` After: ``` IR_0000: ldc.i8 [72 <- nil], 12523 IR_0006: mov.8.4 [nil <- nil], 40 <- 0, 48 <- 8, 56 <- 16, 64 <- 24 IR_000f: call [32 <- 40], 0 IR_0013: ret.void [nil <- nil] ```
-
由 Eric StJohn 提交于
* Add Analyzer packaging support and packaging documentation To package Microsoft.Extensions.Logging.Abstractions we needed support for packing an Analyzer. This adds that support. I wanted to document this addition, so I created the start of a doc that's meant to describe the packaging options for libraries in dotnet/runtime. * Address code review feedback. * More feedback * Address more feedback * Remove src.proj build of generators * Update to use Microsoft.DotNet.PackageTesting * Fix typos * Fix package testing on net46*
-
由 Jose Perez Rodriguez 提交于
* Resolve ILLink warnings in Microsoft.Extensions.Logging.EventSource * Add nullable enable to attribute files
-
由 Tammy Qiu 提交于
* Rename System.Security.Cryptography.Native.OpenSsl to System.Security.Cryptography.Native.Android on Android and split remaining shared Interop files.
-
- 14 5月, 2021 8 次提交
-
-
由 Vitek Karas 提交于
-
-
由 Aaron Robinson 提交于
-
由 Anton Lapounov 提交于
-
由 Kunal Pathak 提交于
* Add clrjit.natvis file * Review comments * pass /NATVIS flag to linker * Include clrjit.natvis only for windows * Update src/coreclr/jit/CMakeLists.txt Co-authored-by: NJeremy Koritzinsky <jkoritzinsky@gmail.com> * Add the missing review comment * minor typo Co-authored-by: NJeremy Koritzinsky <jkoritzinsky@gmail.com>
-
由 David Wrighton 提交于
Move copy of Crossgen2 tasks/targets to runtime repo and build composite image for runtime repo in parallel path (#52579) * Move all crossgen2 tasks/targets used in Runtime repo to be local to the repo * Move ResolveReadyToRunCompilers task into the Crossgen2Tasks dll * Create composite bundle and package - Note that it doesn't build properly, but hopefully that's a crossgen2 task bug * Composite image production * Refactor how composite image creation works - Move it to allow mixed composite and non-composite r2r in the same build, controlled by the PublishReadyToRunCompositeExclusions list - Enhance the accuracy of how msbuild tracks which files are input vs reference for composite images - Implement the R2R exclusion list for composite images - Remove the always on usage of --inputbubble when compiling a composite image * - Add a scheme to perform public signing with a PublicKeyToken to a composite of the composite image if required - Required adding a new parameter to crossgen2
-
由 Gleb Balykov 提交于
* Unify simple and generic methods in multicorejit * Disable NDirect methods in MulticoreJit Current multicorejit implementation in master has multiple flaws with NDirect methods: - exception might be thrown inside GetStubForInteropMethod at some point for NDirect method, which will kill background thread, thus, reducing effectiveness of multicorejit (for example, occurs when multicorejit is used with crossgen2) - some NDirect methods can lead to asserts during load inside GetStubForInteropMethod (for example, EvpMdCtxDestroy (0x6000044 token) from System.Security.Cryptography.Algorithms.dll) * Add MultiCoreJitMinNumCpus env variable with default value =2 to configure minimum allowed number of cpus for MultiCoreJit. On arm with cpu hotplug it should be set to 1. * Do not save overall record length for methods This change reduces mcj profile size * Store non-generic methods using token instead of signatures This change reduces mcj profile size
-