Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-08-14Preliminary Interpreter Support (#6182)Toni Solarin-Sodara
2018-08-13Fixed reverse ordering of unwind insts in the object file (#6220)sergey ignatov
2018-08-13Add environment variables support for Unix (#6216)Robert Miles
2018-08-13Remove unused local from List<T>.RemoveRange (dotnet/corefx#31727)Robin Sue
`int i` appears to be unused so i removed it. Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-13non shared changes and feedback addressedAnipik
2018-08-13moved to shared (dotnet/coreclr#19419)Anirudh Agnihotry
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-12Fix CoreRT build breakMichal Strehovský
2018-08-11Add an option to disable generation of reflection invoke thunksMichal Strehovsky
Touches a lot of files, but most of this is just plumbing. In the absence of invoke thunks, reflection will use the calling convention converter. Reflection invoke will get about 7x slower, but will still work. Saves about 1.5-2% in terms of size on disk. The default is still to use the thunks, since we tweak everything towards fast defaults. Implemented for both Project N and Project X. On the X side, I decided to go with a "policy" class instead of bools. This will let us cleanly do further optimization in the future, such as selectively generating thunks only for specific methods. [tfs-changeset: 1710656]
2018-08-11Merge pull request #6213 from dotnet/masterMichal Strehovský
Merge master to nmirror
2018-08-11Non shared changesAnipik
2018-08-11Moved SpinLock.cs to shared (dotnet/coreclr#19391)Anirudh Agnihotry
* m removed from names, spaces after \\ and braces added * Moved to shared Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-11Don't early terminate on null for 64bit NR HashCode (dotnet/coreclr#19331)Ben Adams
* Don't early terminate on null for 64bit NR HashCode * Improved GetNonRandomizedHashCode * Update message on GetNonRandomizedHashCode * Consume null terminator rather than special case odd lengths Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-11Create Microsoft.IO.Redist (dotnet/corefx#31679)Jeremy Kuhne
* Create Microsoft.Internal.IO Includes all of Path, Directory, *Info, etc. from System.IO with targets of NetFX 4.6.1 and NetCore 2.1. * Tweaks / minor fixes * Remove netstandard build. * Add package Update to build for 4.7.2 only * Rename folder to prepare for project rename * Change the name to Microsoft.IO.Redist * Namespace tweaks * Use open key, tweak references * More tweaks on feedback Also grab latest build tools for 4.7.x RIDs Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-11Moved to sharedAnipik
2018-08-11Moved to shared (dotnet/coreclr#19399)Anirudh Agnihotry
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-10[armel tizen] Fixed unwinding support for ARM is not fully implemented #5874 ↵sergey ignatov
(#6197)
2018-08-10Add size-optimization switch passing from ilc to NUTC to CoreRT in ↵dotnet-bot
PureNative mode [tfs-changeset: 1710061]
2018-08-09Update CoreFX dependencies (#6195)Jan Kotas
* Update CoreFX dependencies * Exclude WinRT interop
2018-08-09Trivial fix for typo in arm64 assembly (xzr -> wzr)Tomas Rylek
[tfs-changeset: 1709921]
2018-08-09Merge pull request #6193 from dotnet/nmirrorJan Kotas
Merge nmirror to master
2018-08-09Add support for reflection invoking ref return methodsMichal Strehovsky
This is a port of dotnet/coreclr#17732. Fixes bug 603305. Per popular demand from people who would like to serialize ref returning properties or use them in data binding, adding support for this in MethodInfo.Invoke. The choice was to make these dereference the result and return it like that. For the corner case of returning a ref to a null, a `NullReferenceException` will be thrown (this behavior has a very unfortunate side effect of slowing down the general Invoke path because we can't throw this exception from a place where we would end up wrapping this in a TargetInvocationException). I also made tweaks to byref parameters path to fix byref pointer parameters, but this is horribly broken on the CLR so I didn't bother to test it here. Should work. Also includes a slight size on disk optimization that merges common tails of the static/instance paths of the invoker thunk. Testing of the calling convention converter portion was done by disabling invoke thunks generation in NUTC and running UnitTests. I also ran it with GCStresss (RH_GCStressThrottleMode=1, RH_GCStress_Mode=1). Let me know if there's more testing needed. This has a huge test matrix for being such a corner case thing. [tfs-changeset: 1709919]
2018-08-09Use --as-needed command line switch with the Unix linker (#6192)Jan Kotas
Removes unused native symbol references from the native binary Fixes #6191
2018-08-09Non shared changesAnipik
2018-08-09Move methodbody and exceptionHandlingClause to shared (#19364)Anirudh Agnihotry
* Changing names and making runtime files * Movel methodbody and exceptionHandlingClause to shared * Fixing build error Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-09Fix for a GC hole bug with exception rethrowing code (Bug 659148).Fadi Hanna
The issue is that the RhpRethrow stubs do not initialize the values of m_kind for the ExInfo objects they allocate on stack. Depending on the kind of garbage that gets assigned to m_kind, the stack iterator either takes the code path of reporting the gcroots of the RhpRethrow callsite, or takes the code path with the RemapHardwareFaultToGCSafePoint (if m_kind ends up getting a HW exception flag). The piece of code that initializes the m_kind field of the ExInfo object on rethrows is in ExceptionHandling.cs, and there’s a window of opportunity where GC collection can happen before m_kind gets initialized correctly. The bug needs the following conditions to occur: 1) Garbage value in ExInfo.m_kind before initialization causes the stack iterator to take one code path, then after initialization take the other code path. 2) GC collection happens in the middle, before m_kind gets properly initialized 3) Gc roots reported in each of the 2 different code paths are different 4) The GC collection in step #2 causes a relocation of a reference object of interest. The fix is to just initialize the field to something deterministic that makes sense (zero in that case). This would cause the stack iterator to use the gcroots reporting of the RhpRethrow callsite, until the field is initialized to a more meaningful value (ex: in case of a rethrow of a HW exception) where we would apply the correct algorithm to determine a more correct gcroots reporting point to use based on where execution is headed (ex: use the gcroots reporting point of a finally block if the rethrow is for a HW exception, and in a catch block) [tfs-changeset: 1709684]
2018-08-08ReNaming and rearranging the variables to reduce the diff (#6188)Anirudh Agnihotry
* rearranging properties and reducing diff * ecplicit files added
2018-08-07Optimize WASM arguments and returns (#6181)Morgan Brown
Use LLVM arguments and returns where possible (no GC references) instead of passing them on the shadow stack. The argument optimization saves 3% optimized (5% compressed). The return change adds about 0.5% to the uncompressed file, but saves about 6% compressed. They both save size in debug. This also greatly simplifies debugging and reading code. Also includes a fix to the class constructor runner where it was calling cctors with the wrong signature and some test fixes.
2018-08-07Improve StreamWriter format perf (dotnet/coreclr#19235)Jeremy Kuhne
* Improve StreamWriter format perf Override the format overloads for TextWriter and skip the extra string allocation for the formatted string by using StringBuilder directly, copying straight to the output buffer. Improves performance roughtly 10% and cuts allocations by 10x and up (formatting a string into a string goes to *zero* allocations). * Fix copy/paste slipup- test added to CoreFX PR Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-06Fix calling sealed virtual methods now that sealed vtables are always ↵Morgan Brown
enabled. (#6180)
2018-08-03Removing file from srcAnipik
2018-08-03Moved LocalVariableInfo to shared (dotnet/coreclr#19184)Anirudh Agnihotry
* File Modified * Moved to shared * Introducing RuntimeLocalVariableInfo * Build Corefx change * sealed added Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-03Delete file moved to shared partitionJan Kotas
2018-08-03Moved NativeCallable Attribute to shared (dotnet/coreclr#19258)Anirudh Agnihotry
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-02Make `Vector64<T>`, `Vector128<T>`, and `Vector256<T>` readonlyTanner Gooding
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-02Update RyuJIT (#6170)Michal Strehovský
2018-08-02Improve repro project config (#6172)Michal Strehovský
* `S.R.CompilerServices.Unsafe` is often useful in repro code * We treat warnings as errors in all of CoreRT, but warnings about unused fields or unused assignments often happen and are not helpful in repro project.
2018-08-02Allow illegal custom modifiers on generic constraintsMichal Strehovsky
Roslyn decided to do a breaking change to the ECMA-335 file format by generating an illegal custom modifier for the `unmanaged` constraint. The purpose of the modifier is to poison such types for old versions of the C# compiler (the modifier otherwise isn't necessary for the feature to work). This also poisons a lot of the .NET ecosystem too (breaking everything ranging from Mono to the C++/CLI compiler). We need to update our stack to support this and unblock our customers. [tfs-changeset: 1709243]
2018-08-02Provide a desktop-only implementation of RuntimeThread.CurrentOSThreadId for ↵Brian Robbins
Microsoft.Diagnostics.Tracing.EventSource.Redist. Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-02WASM: Multidimensional array instantiation fix (#6096)Blealtan
* Handle multidimensional array instantiation (#5421) newobj instruction on multidimensional array is now processed with ArrayHelpers.NewObjArray. Enabled instantiating multidimensional arrays. * Add testing for multidimensional array instantiation. Only nullity and lengths are checked due to get & set not working on multidimensional arrays.
2018-08-01Expose OSThreadId and TimeStamp on EventWrittenEventArgs (#19002)Brian Robbins
* Add EventWrittenEventArgs public properties OSThreadId and TimeStamp and plumb through OSThreadId. * Plumb ActivityId and RelatedActivityId to EventListener. Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-01Merge pull request #6164 from dotnet/nmirrorMichal Strehovský
Merge nmirror to master
2018-08-01Implement API review feedback for the removable feature featureMichal Strehovsky
The API review board didn't approve this to be a public API due to lack of usage data for now, but did provide guidelines to make this approvable in the future. This is doing two things: * Rename the attribute * By default, removed methods are going to throw, with an opt out (that might not be officially available). This is pretty easy to implement for Project N, because DR is intertwined with S.P.CoreLib and we can just define the exception there. It will likely block the adoption of this by IL Linker (or any other tool that is not hardwirded to work against a specific runtime). [tfs-changeset: 1709140]
2018-08-01Fix build breakJan Kotas
2018-08-01Expose the x86 HWIntrinsics via a set of class hierarchies matching the ↵Tanner Gooding
underlying ISA hierarchies Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-01Implement RuntimeThread.CurrentOSThreadId. (#6161)Brian Robbins
2018-07-31Merge pull request #6158 from dotnet/masterMichal Strehovský
Merge master to nmirror
2018-07-30Change type of EnumLocaleData to struct (dotnet/coreclr#19193)Jan Kotas
Saves allocation and makes the code smaller. It had to be class before we had ref locals. Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-07-30Added version increment for TrimExcess and EnsureCapacity (#19096)Dávid Kaya
* Added version increment for TrimExcess and EnsureCapacity * Added old unit test to exclusion list * Excluded missing unit tests Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-07-30Add comment explaining the return value of ToUpper/ToLower (#19176)Ahson Khan
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-07-30Entries in the export table were not correctly sorted based on ordinals, but ↵Fadi Hanna
were emitted based on the ISortableNode sorting logic. This doesn't work with targeted patching [tfs-changeset: 1709015]