James Ko [Mon, 10 Apr 2017 17:26:12 +0000 (13:26 -0400)]
Implement slicing APIs for ArraySegment<T> (dotnet/coreclr#9926)
Commit migrated from https://github.com/dotnet/coreclr/commit/
40ecbb723552407044b57edaf3e5a1408bf99aab
Ilya [Mon, 10 Apr 2017 17:21:41 +0000 (20:21 +0300)]
Incorrect parameter order found by PVS-Studio (dotnet/coreclr#10497)
* Incorrect parameter order found by PVS-Studio
I used PVS-Studio static analyzer to check this project. I would like to suggest a variant of the way to fix the error, detected with the help of V3066 diagnostic https://www.viva64.com/en/w/V3066/
Commit migrated from https://github.com/dotnet/coreclr/commit/
0ca41bc62319c16dfafab2767abe623bb4be4547
Atsushi Kanamori [Mon, 10 Apr 2017 17:14:09 +0000 (10:14 -0700)]
Get rid of "#if FEATURE_RANDOMIZED_STRING_HASHING" in shared partition. (dotnet/coreclr#10851)
Since CoreCLR defines it (for now) and CoreRT doesn't, let's not have
"#if's" on this in shared code. It just creates confusion.
The only ones are in StringComparer.cs and fortunately, they are quite
expendable as...
1. It's only purpose is serialize Hashtables and Dictionaries in
a way that CLR 1.1 can deserialize them. We don't care about that in
.NET Core.
2. In CoreCLR as of today, this infrastructure is not changing the serialization
blob one iota since all the GetEqualityComparerForSerialization() methods
return "this."
So this removes the appearance of downgrading the comparers to non-randomized
versions for serialization purposes (and yes, we could go on and remove
all the other "let's do it for Everett and RTM" stuff in Hashtable.cs, but
I want to keep this PR on topic. Hashtable.cs is not going to be imported
into CoreRT so it's low priority for me.)
Commit migrated from https://github.com/dotnet/coreclr/commit/
1a32d7f2c1be31741c3e71fe35eb2fd22664d12c
Sergey Andreenko [Mon, 10 Apr 2017 16:41:49 +0000 (09:41 -0700)]
Forbid lea without index and base. (dotnet/coreclr#10771)
Commit migrated from https://github.com/dotnet/coreclr/commit/
25ae09a37475bd249d8b5baedde1755ec47ae554
Jan Kotas [Mon, 10 Apr 2017 16:28:38 +0000 (09:28 -0700)]
Delete FEATURE_READYTORUN define for CoreLib build (dotnet/coreclr#10840)
This define does not have much value for the CoreLib build, and it was missing on arm64.
Also deleted dead props and targets files left over from the legacy build
Commit migrated from https://github.com/dotnet/coreclr/commit/
37a68ef73e9bb664a24455e49eda03a876f76efd
Jonghyun Park [Mon, 10 Apr 2017 13:21:11 +0000 (22:21 +0900)]
[x86/Linux] Set ResumeEsp as Caller Sp when unwond to native frame (dotnet/coreclr#10838)
Commit migrated from https://github.com/dotnet/coreclr/commit/
ed3cf951911d56a4315280253c2056a753c62061
Jonghyun Park [Mon, 10 Apr 2017 12:51:10 +0000 (21:51 +0900)]
[x86/Linux] 16-byte aligned ResolveWorkerChainLookupAsmStub (dotnet/coreclr#10754)
Commit migrated from https://github.com/dotnet/coreclr/commit/
14297c85ddef362b18f758b15dfac05de0601f4a
Buyduck [Mon, 10 Apr 2017 12:48:57 +0000 (16:48 +0400)]
* Fixed issue, when structures with many fields had wrong size in dwarf (dotnet/coreclr#10797)
Commit migrated from https://github.com/dotnet/coreclr/commit/
468d9a3197378511e4106160fbb07cc91c3baa97
Jan Kotas [Mon, 10 Apr 2017 05:53:50 +0000 (22:53 -0700)]
Move files to shared CoreLib partition (dotnet/coreclr#10837)
Commit migrated from https://github.com/dotnet/coreclr/commit/
25169926291fcdcad25506c558690a0f63e61a93
Sean Gillespie [Sun, 9 Apr 2017 20:58:29 +0000 (13:58 -0700)]
[Local GC] Move knowledge of the free object method table outside of the GC (dotnet/coreclr#10755)
* [Local GC] Move knowledge of the free object method table outside of the GC
* Revert "[Local GC] Move knowledge of the free object method table outside of the GC"
This reverts commit dotnet/coreclr@
02979e5eb12dd44edb2603e16411dd7d7ffc377d.
* Address code review feedback: leave ArrayBase alone, as it should be part of the binary contract between the EE and the GC
* Correct a bad merge
Commit migrated from https://github.com/dotnet/coreclr/commit/
2dfc74df1f9fe238eb2ec25c4764b8b65432b010
Jan Kotas [Sun, 9 Apr 2017 13:55:23 +0000 (06:55 -0700)]
Move files to shared CoreLib partition (dotnet/coreclr#10830)
Commit migrated from https://github.com/dotnet/coreclr/commit/
1a9781b68b8ec66c223bb96f44ae1d2704ce6fdf
Joseph Tremoulet [Sun, 9 Apr 2017 06:50:02 +0000 (02:50 -0400)]
Update VS2017 'Individual Components' install info (dotnet/coreclr#10695)
A few small changes to make it easier to compare selections in the
installer UI against the list in the doc:
- Re-order the list to match the order presented in the installer UI
- Place the individual items under groupings matching the installer
- Change casing to match installer UI
Commit migrated from https://github.com/dotnet/coreclr/commit/
a7bb166161d6170988d41050884f567d5c028703
Jan Kotas [Sun, 9 Apr 2017 05:12:22 +0000 (22:12 -0700)]
Delete reference to model.xml since it no longer exists (dotnet/coreclr#10827)
Commit migrated from https://github.com/dotnet/coreclr/commit/
2abc645b6bb9ab4ce18c25aa93016dae38343a36
Jim Ma [Sun, 9 Apr 2017 03:43:12 +0000 (11:43 +0800)]
Fix the broken link in contributing.md (dotnet/coreclr#10828)
The List.cs link is broken in contributing.md. This PR updates the link to List.cs accordingly.
Fix dotnet/coreclr#10822
Commit migrated from https://github.com/dotnet/coreclr/commit/
a2a631bdc30948dc528c130c4c3e142400d5125a
Bruce Forstall [Sun, 9 Apr 2017 03:23:52 +0000 (20:23 -0700)]
Merge pull request dotnet/coreclr#10776 from sdmaclea/PR-ARM64-CpBlkUnroll
[Arm64] Enable cpblk loop unrolling
Commit migrated from https://github.com/dotnet/coreclr/commit/
2a6fb305813fa9f677ff0fbf6511c5522ff2053c
Bruce Forstall [Sun, 9 Apr 2017 03:23:34 +0000 (20:23 -0700)]
Merge pull request dotnet/coreclr#10736 from sdmaclea/PR-ARM64-GC-genLeaInstruction
[Arm64] Fix GC Hole in genLeaInstruction
Commit migrated from https://github.com/dotnet/coreclr/commit/
b65900d13d5cefba9fc5af6273768aaca980a096
Hadi Brais [Sat, 8 Apr 2017 19:24:23 +0000 (00:54 +0530)]
Fix corerun issue when loaded from PATH (dotnet/coreclr#10745)
Commit migrated from https://github.com/dotnet/coreclr/commit/
551a7c5563105f7ec9a9d9273204d0a07a02c4fa
Alex Perovich [Sat, 8 Apr 2017 19:24:01 +0000 (14:24 -0500)]
Use a monotonic clock for test timing (dotnet/coreclr#10812)
Fixes dotnet/coreclr#8348
Commit migrated from https://github.com/dotnet/coreclr/commit/
1ed5cf1a3a2aebe5487dff7984d0305ceec9823b
Koundinya Veluri [Sat, 8 Apr 2017 19:23:33 +0000 (12:23 -0700)]
Handle SIGTERM on OSX (dotnet/coreclr#10723)
* Handle SIGTERM on OSX
Fixes dotnet/coreclr#7394
* Address feedback
Commit migrated from https://github.com/dotnet/coreclr/commit/
4d6398e55d510070b3c7fe39db4918a58ea94e7b
Jim Ma [Sat, 8 Apr 2017 16:43:47 +0000 (00:43 +0800)]
Exit gracefully when running ildasm -nat against unsupported ni file. (dotnet/coreclr#10821)
ildasm -nat only works for fragile native images (ie CoreLib only by default).
Running ildasm -nat against unsupported native images would cause a segmentation fault. This PR checks pNativeHeader->Signature == CORCOMPILE_SIGNATURE and end the program with a meaningful error message.
fix dotnet/coreclr#10247
Commit migrated from https://github.com/dotnet/coreclr/commit/
20248521af31e2307fcd728f1ebbf7877bb5ee59
Bruce Forstall [Sat, 8 Apr 2017 15:37:44 +0000 (08:37 -0700)]
Merge pull request dotnet/coreclr#10811 from BruceForstall/RemoveRELOC_SUPPORT
Remove RELOC_SUPPORT define
Commit migrated from https://github.com/dotnet/coreclr/commit/
ec80b02b61839af453ce297faf4ce074edeee9da
Sean Gillespie [Sat, 8 Apr 2017 06:59:00 +0000 (23:59 -0700)]
[Local GC] Fix some interface violations (dotnet/coreclr#10817)
Commit migrated from https://github.com/dotnet/coreclr/commit/
ea55c4a25945d8ccb39d686b89f1fa729b4ebe23
Jan Kotas [Fri, 7 Apr 2017 23:49:04 +0000 (16:49 -0700)]
Merge pull request dotnet/corertdotnet/coreclr#3262 from dotnet/nmirror
Merge nmirror to master
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
25e16c372912cfe9685c142ecf64edd4df91d21e
Jan Kotas [Fri, 7 Apr 2017 23:49:58 +0000 (16:49 -0700)]
Find & replace Exception.SetErrorCode with Exception.HResult setter (dotnet/coreclr#10810)
Commit migrated from https://github.com/dotnet/coreclr/commit/
a66ba16df26f1c8a311e2e2c2923e74f980f21f5
Aditya Mandaleeka [Fri, 7 Apr 2017 22:02:53 +0000 (15:02 -0700)]
Merge pull request dotnet/coreclr#10757 from adityamandaleeka/handle_table_local_gc_init
[Local GC] Move handle creation to IGCHandleTable
Commit migrated from https://github.com/dotnet/coreclr/commit/
d2761404e6c1122188c2b8ca23c94e0ebce126cb
Aditya Mandaleeka [Fri, 7 Apr 2017 01:11:57 +0000 (18:11 -0700)]
Move OBJECTHANDLE definition to gcinterface.h
Commit migrated from https://github.com/dotnet/coreclr/commit/
447521434ab80ea97a42108a429e3773e71f7c66
Aditya Mandaleeka [Thu, 6 Apr 2017 02:31:32 +0000 (19:31 -0700)]
Add creation of special handle types to IGCHandleTable.
Commit migrated from https://github.com/dotnet/coreclr/commit/
7721f89f517f09f90d46a1078f0d26caf3b310c0
Omar Tawfik [Fri, 7 Apr 2017 21:48:09 +0000 (14:48 -0700)]
Add System.Runtime.CompilerServices.ReadOnlyAttribute (dotnet/coreclr#10777)
Commit migrated from https://github.com/dotnet/coreclr/commit/
42ca75d80630b094535a8a3e812c9474eb819a33
Davis Goodin [Fri, 7 Apr 2017 21:38:02 +0000 (16:38 -0500)]
Temporarily disable symweb indexing (dotnet/coreclr#10807)
Commit migrated from https://github.com/dotnet/coreclr/commit/
628696bd961bd5c4edcaf58dbefac0401aafad5d
Bruce Forstall [Fri, 7 Apr 2017 21:18:26 +0000 (14:18 -0700)]
Remove RELOC_SUPPORT define
It's always defined, is always expected to be defined, and the build
doesn't work without it.
Also remove unused `SECURITY_CHECK` and `VERIFY_IMPORTER` defines.
Commit migrated from https://github.com/dotnet/coreclr/commit/
79064d73939dd28c320ac8dd848770d1406806bb
Jeremy Kuhne [Fri, 7 Apr 2017 21:21:47 +0000 (14:21 -0700)]
Strip out unused reg code. (dotnet/coreclr#10741)
* Strip out unused reg code.
Removing the unused code to better be able to audit our CoreLib usage and to prepare for targeted code sharing with CoreFX. Wraps key usages in using statements.
* Fix static init and remove Contract
Commit migrated from https://github.com/dotnet/coreclr/commit/
ed4f594abf41a71b126152bb8755051d0831e12d
William Godbe [Fri, 7 Apr 2017 20:46:11 +0000 (13:46 -0700)]
Merge pull request dotnet/coreclr#10806 from wtgodbe/portableMac
Publish portable OSX binaries into separate container in pipeline
Commit migrated from https://github.com/dotnet/coreclr/commit/
4371b15df7ae47d218ce283713d4e5ecb6fb4b71
Jan Kotas [Fri, 7 Apr 2017 18:38:02 +0000 (11:38 -0700)]
Delete moved file
Commit migrated from https://github.com/dotnet/coreclr/commit/
200b7d15e461ef49e0de86d37fd20f2a4f9bd300
Jan Kotas [Fri, 7 Apr 2017 15:34:41 +0000 (08:34 -0700)]
Merge pull request dotnet/corertdotnet/coreclr#3247 from dotnet/nmirror
Merge nmirror to master
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
a71a8413995d50b7fc281aae5384847020313111
Ahson Ahmed Khan [Fri, 7 Apr 2017 20:05:29 +0000 (13:05 -0700)]
Using AsSpan since we no longer have slice on string. Renaming Tests. (dotnet/coreclr#10758)
Commit migrated from https://github.com/dotnet/coreclr/commit/
15969e2d548e1ffdc04d9b7fe5ca8cff8aefea94
Bruce Forstall [Fri, 7 Apr 2017 19:54:00 +0000 (12:54 -0700)]
Merge pull request dotnet/coreclr#10799 from sdmaclea/PR-Fix-lvRegister-assert
Correct assert w.r.t meaning of lvRegister
Commit migrated from https://github.com/dotnet/coreclr/commit/
325a7ec75cdbdbc3bd2733242d78505237d75344
wtgodbe [Fri, 7 Apr 2017 19:47:22 +0000 (12:47 -0700)]
Publish portable OSX binaries into separate container in pipeline
Commit migrated from https://github.com/dotnet/coreclr/commit/
a360ee433e46dcab7ed1abc71256fee39f773511
Jan Kotas [Fri, 7 Apr 2017 18:31:03 +0000 (11:31 -0700)]
Move public ThreadAbortException back to CoreLib (dotnet/coreclr#10801)
Commit migrated from https://github.com/dotnet/coreclr/commit/
329d900d6bc443a8317559050935ba37698cf132
dotnet bot [Fri, 7 Apr 2017 18:20:52 +0000 (11:20 -0700)]
Update CoreClr, CoreFx to preview1-25207-02, preview1-25205-01, respectively (dotnet/coreclr#10787)
Commit migrated from https://github.com/dotnet/coreclr/commit/
a1a6c4ee5611c5fb74c3c819ea46ec7acbe0a44a
Address dotnet/coreclr#10799 comments
Commit migrated from https://github.com/dotnet/coreclr/commit/
dc778e1ac129e12223f5ed62db5bfae0d0e2c6ad
Bruce Forstall [Fri, 7 Apr 2017 18:09:16 +0000 (11:09 -0700)]
Merge pull request dotnet/coreclr#10656 from hseok-oh/ryujit/fix_10654
[RyuJIT/ARM32] [ReadyToRun] Fix target register for invocation to Thunk
Commit migrated from https://github.com/dotnet/coreclr/commit/
8b64692d510a8ee11465a5237574b5629f1a91ed
Roman Artemev [Fri, 7 Apr 2017 18:09:02 +0000 (11:09 -0700)]
Merge pull request dotnet/coreclr#10781 from rartemev/ilasm_path_length_fix
Changes for dotnet/coreclr#9757 issue. Handle long parameters in the right way.
Commit migrated from https://github.com/dotnet/coreclr/commit/
7d4774cacd4da72e3c77731ccf8c9d19496ee9cd
William Godbe [Fri, 7 Apr 2017 17:45:37 +0000 (10:45 -0700)]
Merge pull request dotnet/coreclr#10704 from wtgodbe/BuildDefs
Initial commit of checked in build definitions for CoreCLR
Commit migrated from https://github.com/dotnet/coreclr/commit/
146047c245cdaa6fce545ae568ef461bee802a8b
[Arm64] Use ldp/stp in CpBlkUnroll
Commit migrated from https://github.com/dotnet/coreclr/commit/
97bac158f3d84c278d1937e68853304584b8318e
Michelle McDaniel [Fri, 7 Apr 2017 17:02:04 +0000 (10:02 -0700)]
Merge pull request dotnet/coreclr#10798 from adiaaida/fixjit32Perf
Fix jit32 Perf testing
Commit migrated from https://github.com/dotnet/coreclr/commit/
5733e59f4dec1e6b9a2ea98c1616bd633d6a6591
Jan Kotas [Fri, 7 Apr 2017 13:29:10 +0000 (06:29 -0700)]
Delete duplicate files and fix build breaks
Commit migrated from https://github.com/dotnet/coreclr/commit/
8a06f89f97231f5675a9c737bb1ec12c79fbb51f
Jan Kotas [Fri, 7 Apr 2017 06:54:36 +0000 (23:54 -0700)]
Merge pull request dotnet/corertdotnet/coreclr#3243 from dotnet/nmirror
Merge nmirror to master
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
296cf8d77f157f9ad73b00c176b0d439519084d9
Address review feedback
Commit migrated from https://github.com/dotnet/coreclr/commit/
d5d141545cbe7aea82c59b8e90748dadb4848bb9
Correct assert w.r.t meaning of lvRegister
Per recomendation of Pat Gavlin in dotnet/coreclr#9898
Fixes dotnet/coreclr#9898
Commit migrated from https://github.com/dotnet/coreclr/commit/
3ec6edf15485d2fb2b95ac277a3348e73106e9a7
Michelle McDaniel [Fri, 7 Apr 2017 15:45:30 +0000 (08:45 -0700)]
Fix jit32 Perf testing
In the CI, we were moving compatjit.dll into the Products directory
instead of the core_root directory, so the jit32 compatjit.dll was not
being picked up by the build. This change moves the nuget logic to before
we run runtest.cmd generatelayoutonly, so the jit32 compatjit.dll will be
moved to the core_root directory along with everything else.
Commit migrated from https://github.com/dotnet/coreclr/commit/
b9694cd51ef165354e1fc2b856012cdc894ac1d5
Jim Ma [Fri, 7 Apr 2017 15:33:21 +0000 (23:33 +0800)]
Handle unsupported varargs tests on Unix gracefully. (dotnet/coreclr#10794)
Some of mcc_i* tests caused segmentation faults on Unix. This commit make these tests exit by throwing a System.EntryPointNotFoundException exception instead of causing a segmentation fault.
Fix dotnet/coreclr#9530
Commit migrated from https://github.com/dotnet/coreclr/commit/
a86df0d0abe3ca5a7eed1db673c4ea48cfc3c61c
Yi Zhang (CLR) [Fri, 7 Apr 2017 14:29:10 +0000 (07:29 -0700)]
Bring back DefaultDllImportSearchPathsAttribute (dotnet/coreclr#10786)
Commit migrated from https://github.com/dotnet/coreclr/commit/
6f0bd8d2b7d956cda9c0d80315ca9a853d2a4680
Jan Vorlicek [Fri, 7 Apr 2017 13:35:34 +0000 (15:35 +0200)]
Add reporting swap file size to GlobalMemoryStatusEx on Unix (dotnet/coreclr#10700)
The swap file size reporting is added using the Linux, OSX and FreeBSD
means. Also a new PAL test was added to exercise the function.
Commit migrated from https://github.com/dotnet/coreclr/commit/
a2ed1fa2420f5aa385007e205e30616dd75fc881
Jan Kotas [Fri, 7 Apr 2017 04:00:36 +0000 (21:00 -0700)]
Delete duplicate files and fix build breaks
Commit migrated from https://github.com/dotnet/coreclr/commit/
e65bb61cdd856af63e4c096632dca33ec3984ef4
Simon Nattress [Fri, 7 Apr 2017 01:02:03 +0000 (18:02 -0700)]
Merge pull request dotnet/corertdotnet/coreclr#3226 from dotnet/nmirror
Merge nmirror to master
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
157a0aee00e8623811c3b9b1ff962a2e2ae8bb67
Koundinya Veluri [Fri, 7 Apr 2017 06:51:13 +0000 (23:51 -0700)]
Call custom parameterless constructor on structs through Activator (dotnet/coreclr#10778)
Fixes dotnet/coreclr#6843
- Disabled caching struct types that have custom parameterless constructors in `ActivatorCache`
- Removed some things relevant to security, which don't apply to CoreCLR
Commit migrated from https://github.com/dotnet/coreclr/commit/
b4f28d7470da18ec871ae1240a6c9df2db44da2c
Dan Moseley [Fri, 7 Apr 2017 04:28:14 +0000 (21:28 -0700)]
remove fedora 23 (dotnet/coreclr#10725)
* remove fedora 23
* Fedora rename
Commit migrated from https://github.com/dotnet/coreclr/commit/
d21b39809b8421bc1acc7de670053c1d9d0ddfd4
Atsushi Kanamori [Fri, 7 Apr 2017 02:33:50 +0000 (19:33 -0700)]
NS2.0 Prepare FileNotFoundException for move to shared partition. (dotnet/coreclr#10775)
* String->string - get rid of the big comment block.
* Fields into autoprops.
* FullName => ToString() to avoid MME problems on N.
* Remove SecurityException guard around FusionLog
* Split off the parts we don't want to share.
Commit migrated from https://github.com/dotnet/coreclr/commit/
6da9d0114cd1679cf171befef31d28f0553b74a1
Michal Strehovský [Wed, 5 Apr 2017 18:25:20 +0000 (11:25 -0700)]
Merge pull request dotnet/corertdotnet/coreclr#3216 from dotnet/nmirror
Merge nmirror to master
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
5a3c891427a9899c0d774ce85a680e0dc3a0b64a
Brian Sullivan [Fri, 7 Apr 2017 02:13:35 +0000 (19:13 -0700)]
Merge pull request dotnet/coreclr#10784 from briansull/ibc-shutdown-fix
Fix shutdown A/V issue when IBC logging with the Music Store app
Commit migrated from https://github.com/dotnet/coreclr/commit/
2283331feb021e34b1bd4056eb67e66325a36943
Ben Adams [Fri, 7 Apr 2017 02:05:18 +0000 (03:05 +0100)]
Devirtualizable default encoding (dotnet/coreclr#10783)
Commit migrated from https://github.com/dotnet/coreclr/commit/
97daa74ccbb052878135dec2e11ddac6b0219566
Yi Zhang (CLR) [Fri, 7 Apr 2017 01:36:22 +0000 (18:36 -0700)]
don't switch to COOP GC when logging CCW ref count (dotnet/coreclr#10756)
Commit migrated from https://github.com/dotnet/coreclr/commit/
2e01a3a7f5bf46b210244c13a84686d7a297df33
Hyeongseok Oh [Fri, 7 Apr 2017 01:33:54 +0000 (10:33 +0900)]
Use _TARGET_ARMARCH_
Chagne _TARGET_ARM_ and _TARGET_ARM64_ to _TARGET_ARMARCH_
Commit migrated from https://github.com/dotnet/coreclr/commit/
d16bd0a24563d5f3e64255885b7c70a6fba9e87a
Brian Sullivan [Fri, 7 Apr 2017 00:36:15 +0000 (17:36 -0700)]
Fix shutdown A/V issue when IBC logging with the Music Store app
This app continues to run managed code on other threads after the Main thread exits and enters shutdown.
We now block IBC logging during the time that we are writing out the IBC data.
Commit migrated from https://github.com/dotnet/coreclr/commit/
ded541455690dbd7707ed281388bcaa314c76f9f
Swaroop Sridhar [Wed, 5 Apr 2017 01:38:17 +0000 (18:38 -0700)]
Update ILLink build scripts
Update ILLINK build commands to reflect current CoreBuild of ILLinker.
Also remove the line that sets DoNotEmbedDescriptors,
since it is no longer necessary.
Commit migrated from https://github.com/dotnet/coreclr/commit/
459392db05a3e6adaf6355e9e16e97aeaa0bcfcb
Roman Artemev [Thu, 6 Apr 2017 22:54:03 +0000 (15:54 -0700)]
Correct fix for long ilasm params
Commit migrated from https://github.com/dotnet/coreclr/commit/
a1718a86e0d706ae11baa2880effc4e84f55bcc8
Fix formating
Commit migrated from https://github.com/dotnet/coreclr/commit/
2255bb93c794f8bf77387dd2d2a2a4c4ee582942
Bruce Forstall [Thu, 6 Apr 2017 21:40:08 +0000 (14:40 -0700)]
Merge pull request dotnet/coreclr#10768 from mskvortsov/ryujit-arm32-lea
[RyuJIT/ARM32] Update genLeaInstruction
Commit migrated from https://github.com/dotnet/coreclr/commit/
9c74cbac6c86f2c484c7ebd4c81a6aee6bd7cc25
[Arm64] Enable cpblk loop unrolling
Commit migrated from https://github.com/dotnet/coreclr/commit/
e021cad8daf1464313dc3b3c603a519eb30f9d73
Matt Mitchell [Thu, 6 Apr 2017 20:54:23 +0000 (13:54 -0700)]
Add views for the jitstress and illink folders (dotnet/coreclr#10773)
Commit migrated from https://github.com/dotnet/coreclr/commit/
be5db76135b0fba4461d4cf0db2ad546c1c0a095
wtgodbe [Tue, 4 Apr 2017 18:52:59 +0000 (11:52 -0700)]
Initial commit of checked in build definitions for CoreCLR
Commit migrated from https://github.com/dotnet/coreclr/commit/
7aa31fa0feb1603b5ed02be01c3939e7716bc5f0
Tarek Mahmoud Sayed [Thu, 6 Apr 2017 19:58:17 +0000 (12:58 -0700)]
Make Encoding.Default return UTF8 without BOM emission (dotnet/coreclr#10747)
* Make Encoding.Default return UTF8 without BOM emission
* Remove SL reference in the code
* Remove the static cache
Commit migrated from https://github.com/dotnet/coreclr/commit/
dd9307c8da599704271512476fc0e876cb071505
Bruce Forstall [Thu, 6 Apr 2017 18:29:42 +0000 (11:29 -0700)]
Merge pull request dotnet/coreclr#10697 from sdmaclea/PR-FIX-RUNTEST
Do not use declare -A
Commit migrated from https://github.com/dotnet/coreclr/commit/
d4b6affc79e4fd150584d2f59cbf3082471c1dcd
Bruce Forstall [Thu, 6 Apr 2017 18:26:37 +0000 (11:26 -0700)]
Merge pull request dotnet/coreclr#9086 from mikedn/simd-cast
Add Vector.op_Explicit tests
Commit migrated from https://github.com/dotnet/coreclr/commit/
a9f6ef1492a0eb604f7ff9373cb13e4ef322c659
Tarek Mahmoud Sayed [Thu, 6 Apr 2017 17:11:21 +0000 (10:11 -0700)]
Revert EncodingForwarder for the sake of the Perf (dotnet/coreclr#10740)
* Revert EncodingForwarder for the sake of the Perf
* Add missing optimization
Commit migrated from https://github.com/dotnet/coreclr/commit/
64e28f24d28f2ab7c4a60fd773f5d16ce231b4aa
Hyeongseok Oh [Thu, 6 Apr 2017 16:23:13 +0000 (01:23 +0900)]
[x86/Linux] PAL test in CI build (dotnet/coreclr#10688)
* [x86/Linux] PAL test in CI build
Add PAL test in CI x86/Linux build
Change docker image: including rootfs
* Fix netci.groovy
Add PAL test's result
Commit migrated from https://github.com/dotnet/coreclr/commit/
94c9d782c39b486cb8e4f1a315115ac19450ce2d
Hyung-Kyu Choi [Thu, 6 Apr 2017 16:22:53 +0000 (01:22 +0900)]
[ARM/CI] Update image for armel Tizen CI (dotnet/coreclr#10730)
Update image for armel CI to sync with Tizen rootfs
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
cd67f7ada2e2796472a0ba32d336744eceb67345
Mikhail Skvortcov [Thu, 6 Apr 2017 15:53:15 +0000 (18:53 +0300)]
RyuJIT/ARM32: update GT_LEA codegen
Commit migrated from https://github.com/dotnet/coreclr/commit/
086b000d671b8a3daae911652044b8086a489084
Bruce Forstall [Thu, 6 Apr 2017 15:52:42 +0000 (08:52 -0700)]
Merge pull request dotnet/coreclr#10742 from BruceForstall/RemoveUnusedDefine
Remove unused PREDICT_REG_RER_INDIRECT_PARAM define
Commit migrated from https://github.com/dotnet/coreclr/commit/
18d14356537807b03601609a39eedfa8298a48dc
Bruce Forstall [Thu, 6 Apr 2017 15:52:24 +0000 (08:52 -0700)]
Merge pull request dotnet/coreclr#10752 from BruceForstall/FixBBFformatting
Clean up block.h formatting
Commit migrated from https://github.com/dotnet/coreclr/commit/
5c4907e1698766e8f62ea99e35b15bbfe2b7c0ec
Atsushi Kanamori [Thu, 6 Apr 2017 14:45:58 +0000 (07:45 -0700)]
Clean up and prepare FileLoadException.cs for move to Shared Partition. (dotnet/coreclr#10764)
* String => string
* Replace fields with autoprops.
* Turn Type.FullName call to Type.ToString() in ToString().
Avoids MissingMetadataExceptions on CoreRT.
Assuming metadata exists, ToString() and FullName()
still generates the same string except in the weird
case where an app subclasses FileLoadException
with a generic exception type - in which case,
the ToString() version is actually more readable.
* Get rid of useless try-catch around FusionLog calls.
FusionLog is now just a normal property and an answer
to a trivia question - it won't throw SecurityException.
* Get rid of low-value SetMessageField() middleman.
* Split off the stuff we don't want to share.
* The complementary carwash...
* Don't conditionalize FusionLog serialization.
Commit migrated from https://github.com/dotnet/coreclr/commit/
82b8a644a560e4c688ba6d59ac5fb86bd24b68ad
Hyeongseok Oh [Thu, 6 Apr 2017 08:56:58 +0000 (17:56 +0900)]
Modify THUNK_PARAM generated in SaveWork
- Use parameter r4 to pass Indirection from code generated by R2R
- Define REG_R2R_INDIRECT_PARAM in ARM32 to merge with ARM64 routine
Commit migrated from https://github.com/dotnet/coreclr/commit/
998d32c328b8c249d42a5e53c860e2ba8d456cd1
Jonghyun Park [Thu, 6 Apr 2017 09:51:19 +0000 (18:51 +0900)]
[x86/Linux] Clean up ZapUnwindData (dotnet/coreclr#10750)
Commit migrated from https://github.com/dotnet/coreclr/commit/
4abb8b63b2e51550ae3e0a8b04129deaf99bdf7e
Mike Danes [Tue, 24 Jan 2017 16:49:16 +0000 (18:49 +0200)]
Add Vector.op_Explicit tests
Commit migrated from https://github.com/dotnet/coreclr/commit/
8cea6241b9f5ea0fd082a6e84afcfd18bb72cc57
Sean Gillespie [Thu, 6 Apr 2017 05:20:35 +0000 (22:20 -0700)]
[Local GC] Fix a bad merge (dotnet/coreclr#10748)
Commit migrated from https://github.com/dotnet/coreclr/commit/
f9d0333d8955c11a2e8f495f0a12d6384fb95541
Aditya Mandaleeka [Wed, 5 Apr 2017 23:55:30 +0000 (16:55 -0700)]
Move handle table stuff out of gcheaputilities.
Commit migrated from https://github.com/dotnet/coreclr/commit/
273e63414deccefd1ad048062e4d1ebfe5e5eb50
Sergey Andreenko [Thu, 6 Apr 2017 02:00:43 +0000 (19:00 -0700)]
replace the linear time algorithm from lclvars with the constant one. (dotnet/coreclr#10401)
add new block flag DOMINATED_BY_NOT_NORMAL_ENTRY
It allows to answer the question: "Is block dominated by non normal
entry" - in O(1).
Commit migrated from https://github.com/dotnet/coreclr/commit/
87ae15c547eebf82185b5eb5b5315bd7b57f9f6d
Sergey Andreenko [Thu, 6 Apr 2017 01:23:19 +0000 (18:23 -0700)]
gtLdftnResolvedToken is no longer necessary, because token is saved on the stack. (dotnet/coreclr#10738)
The was an error in the assert because I checked pointers that were
obvious different.
The actual values could not be different because they are created from
the same token in the same place (importer.cpp DO_LDFTN:
impMethodPointer saved resolvedToken as gtLdftnResolvedToken ,
CORINFO_RESOLVED_TOKEN* heapToken = impAllocateToken(resolvedToken);
impPushOnStack(op1, typeInfo(heapToken)); saved the token on the stack.
Commit migrated from https://github.com/dotnet/coreclr/commit/
4475fd6f34bfbfd1d416d06fdea2dff8ee227150
Jonghyun Park [Thu, 6 Apr 2017 00:36:37 +0000 (09:36 +0900)]
[x86/Linux] 16-byte aligned HelperMethodFrameRestoreState (dotnet/coreclr#10720)
* [x86/Linux] 16-byte aligned HelperMethodFrameRestoreState
* Use STACK_ALIGN_PADDING and update comment
Commit migrated from https://github.com/dotnet/coreclr/commit/
0af235e5d21ccf669cc3a3960df348d60190b5c0
Bruce Forstall [Thu, 6 Apr 2017 00:09:29 +0000 (17:09 -0700)]
Clean up block.h formatting
Hide a few things from clang-format
Commit migrated from https://github.com/dotnet/coreclr/commit/
e19ae8cfe9dc6c3284fd29e6fd38b3beb5dafdb5
Aditya Mandaleeka [Wed, 5 Apr 2017 22:14:44 +0000 (15:14 -0700)]
Add handle creation functionality to IGCHandleTable and make VM code use it.
Commit migrated from https://github.com/dotnet/coreclr/commit/
e17f40a186c294f977e336cab049d9026cf40c78
Bruce Forstall [Wed, 5 Apr 2017 23:28:16 +0000 (16:28 -0700)]
Merge pull request dotnet/coreclr#10724 from mikedn/small-type-xchg
Use the correct type for interlocked instructions
Commit migrated from https://github.com/dotnet/coreclr/commit/
93c57b8de68d31cc427ff604262f08282fe60e28
Brian Robbins [Wed, 5 Apr 2017 23:21:39 +0000 (16:21 -0700)]
Merge pull request dotnet/coreclr#10615 from brianrob/profiler
Cross-Platform Sample-Based Profiler
Commit migrated from https://github.com/dotnet/coreclr/commit/
549c9960a8edcbe3930639e316616d35b22bca25
William Godbe [Wed, 5 Apr 2017 22:37:40 +0000 (15:37 -0700)]
Merge pull request dotnet/coreclr#10739 from wtgodbe/GroovyFedora
Add Fedora24 to CI
Commit migrated from https://github.com/dotnet/coreclr/commit/
79aec8961a3a5c9bcaef2d61d7eb9cd95ee003e7
Bruce Forstall [Wed, 5 Apr 2017 22:20:07 +0000 (15:20 -0700)]
Remove unused PREDICT_REG_RER_INDIRECT_PARAM define
Commit migrated from https://github.com/dotnet/coreclr/commit/
671ce84d6a2b53f345f5aae53cbfd2506f7faba3
Sean Gillespie [Wed, 5 Apr 2017 21:40:42 +0000 (14:40 -0700)]
[Local GC] Pull some logic using SystemDomain::System out of the GC (dotnet/coreclr#10670)
* [Local GC] Pull some logic using SystemDomain::System out of the GC
* Address code review feedback: add comment about this (per the GitHub discussion) and rename API to ForceFullGCToBeBlocking
Commit migrated from https://github.com/dotnet/coreclr/commit/
7ba3cc8174dec2626a403f5ccd35c79a3bf6cf77
Aditya Mandaleeka [Wed, 5 Apr 2017 21:38:39 +0000 (14:38 -0700)]
Merge pull request dotnet/coreclr#10727 from hqueue/typo/doc_ryujit
Fix class name in ryujit-overview.md
Commit migrated from https://github.com/dotnet/coreclr/commit/
bbf13d7e5e0764770cc0d55d727beb73a05d55f6
Fix formatting
Commit migrated from https://github.com/dotnet/coreclr/commit/
2158affc52869daabd8580970efb9ef501e32b42
Jarret Shook [Wed, 5 Apr 2017 20:28:44 +0000 (13:28 -0700)]
Merge pull request dotnet/coreclr#10211 from sdmaclea/PR-ARM64-CROSSGEN-DISCONTIG
[Arm64] Simplify trackedStackPtrsContig logic
Commit migrated from https://github.com/dotnet/coreclr/commit/
603e7306747596afe61d35af39fc511e2e1f585e
wtgodbe [Wed, 5 Apr 2017 19:36:59 +0000 (12:36 -0700)]
Add Fedora24 to CI
Commit migrated from https://github.com/dotnet/coreclr/commit/
0cbcaa6d37189b732a0595a5062b80954687e963