Eric Erhardt [Thu, 13 Apr 2017 20:21:58 +0000 (15:21 -0500)]
Fix perf of DateTime.Now on Unix
Profiling DateTime.Now on Unix shows that a lot of time is spent in GetPreviousAdjustmentRule and AdjustmentRule::Equals. Instead, it is safe to use ReferenceEquals, which increases the performance of DateTime.Now and other time zone operations on Unix.
Commit migrated from https://github.com/dotnet/coreclr/commit/
3aec163d4a1431b89f6e1ec22d9b88c13b399a66
Matt Galbraith [Tue, 11 Apr 2017 18:39:27 +0000 (11:39 -0700)]
Merge pull request dotnet/coreclr#10894 from dotnet/Add_Build_Type
Add some BuildType and Subtype info to CoreCLR build pipeline definition
Commit migrated from https://github.com/dotnet/coreclr/commit/
3df008e1fa9ce96e0bf5b3ad7a0690b80f5d6faf
Jan Kotas [Tue, 11 Apr 2017 16:00:23 +0000 (09:00 -0700)]
Merge pull request dotnet/corertdotnet/coreclr#3288 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/
fb86c0294a999b2c7bd1e13da1fdc0d3c2f701e5
Matt Galbraith [Tue, 11 Apr 2017 17:25:51 +0000 (10:25 -0700)]
Add some BuildType and Subtype info to CoreCLR build pipeline definition
Commit migrated from https://github.com/dotnet/coreclr/commit/
624242450de348f34f6990cfbd4ce728b051db91
Pat Gavlin [Tue, 11 Apr 2017 17:18:57 +0000 (10:18 -0700)]
Merge pull request dotnet/coreclr#10886 from hseok-oh/ci/fix_ci_error
Fix CI test error: permission error
Commit migrated from https://github.com/dotnet/coreclr/commit/
0b6bbb0a54bb2afa32d9296a7dc12d51cfdbd91f
Jan Kotas [Tue, 11 Apr 2017 02:37:42 +0000 (19:37 -0700)]
Merge pull request dotnet/corertdotnet/coreclr#3285 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/
2030affc40ac0842db56b4c3ae2b3e8751fa06a4
Hyeongseok Oh [Tue, 11 Apr 2017 08:08:43 +0000 (17:08 +0900)]
Remove sudo in netci.groovy
Commit migrated from https://github.com/dotnet/coreclr/commit/
b974392aa1fc93494ab83b3ace370dbbf4a336e0
Hyeongseok Oh [Tue, 11 Apr 2017 07:49:34 +0000 (16:49 +0900)]
Overwrite permission in coreoverlay generation
fix runtest.sh to overwrite corerun's permission in coreoverlay generation
Commit migrated from https://github.com/dotnet/coreclr/commit/
6759dfaa7c8048a84464f99a0a060f0b4deea1f6
Hyeongseok Oh [Tue, 11 Apr 2017 07:47:27 +0000 (16:47 +0900)]
Fix netci.groovy
Fix netci.groovy instead of test script to avoid rebase
Commit migrated from https://github.com/dotnet/coreclr/commit/
f97deb9529200d18ec01aaf546b23cbb61419246
Hyeongseok Oh [Tue, 11 Apr 2017 07:12:10 +0000 (16:12 +0900)]
Fix CI test error: permission error
Fix CoreCLR/CoreFX copy order: permission problem
Commit migrated from https://github.com/dotnet/coreclr/commit/
602021969c0dda29c8b2a75e741e0519cdbcbdf2
Sergey Andreenko [Tue, 11 Apr 2017 03:53:38 +0000 (20:53 -0700)]
Do not spill eeStack after ldtoken opcode. (dotnet/coreclr#10215)
Do not spill eeStack if the last opcode was ldtoken.
Commit migrated from https://github.com/dotnet/coreclr/commit/
5bc1e42710434cbc6c62a4ed1deb16aa9ecd92f5
Koundinya Veluri [Tue, 11 Apr 2017 02:48:54 +0000 (19:48 -0700)]
Fix some static methods on ThreadPool to wait for initialization (dotnet/coreclr#10869)
Fix for part of dotnet/coreclr#10521
Commit migrated from https://github.com/dotnet/coreclr/commit/
cdde90945fe82715a4f58f090925a0ca78db11e6
Bruce Forstall [Tue, 11 Apr 2017 01:50:10 +0000 (18:50 -0700)]
Merge pull request dotnet/coreclr#10782 from parjong/fix/x86_funclet_unwinding
[x86/Linux] Use GCInfo for funclet unwinding
Commit migrated from https://github.com/dotnet/coreclr/commit/
7e5e9c0a3713f2f1bd69e665b45f74ee7ac8e8b3
dotnet bot [Tue, 11 Apr 2017 01:02:57 +0000 (18:02 -0700)]
Update CoreClr to preview1-25210-04 (dotnet/coreclr#10862)
Commit migrated from https://github.com/dotnet/coreclr/commit/
b7af226bb094187f67f3a0cb36923715608bc9f9
Pat Gavlin [Tue, 11 Apr 2017 00:12:40 +0000 (17:12 -0700)]
Merge pull request dotnet/coreclr#10871 from pgavlin/PipelineCompatJit
Package compatjit.dll in pipeline builds.
Commit migrated from https://github.com/dotnet/coreclr/commit/
222f23b92fa2fc70885dd2776546ce1b9770af72
Pat Gavlin [Mon, 10 Apr 2017 23:58:46 +0000 (16:58 -0700)]
Merge pull request dotnet/coreclr#10866 from pgavlin/VSO405852
Fix VSO bug 405852.
Commit migrated from https://github.com/dotnet/coreclr/commit/
02aa5ce7fc6d866fe368c317d2bc3ab06b766c52
Dan Moseley [Mon, 10 Apr 2017 23:20:05 +0000 (16:20 -0700)]
empty array (dotnet/coreclr#10841)
Make EmptyArray private in favor of Array.Empty<T>
Commit migrated from https://github.com/dotnet/coreclr/commit/
8ffb46cd635cd9419cc26315d9eec64b976cbfb0
Roman Artemev [Mon, 10 Apr 2017 22:55:54 +0000 (15:55 -0700)]
Merge pull request dotnet/coreclr#10814 from rartemev/ilasm_reference_resolver_fix
Added 'netstandard' corelib name into ilasm reference resolver
Commit migrated from https://github.com/dotnet/coreclr/commit/
23e101830b3218a74d7cc02c8af7d8eeeffccd2a
Bruce Forstall [Mon, 10 Apr 2017 22:55:14 +0000 (15:55 -0700)]
Merge pull request dotnet/coreclr#10808 from sdmaclea/PR-ARM64-enable-initblk-unroll
[Arm64] enable initblk loop unrolling
Commit migrated from https://github.com/dotnet/coreclr/commit/
669b26a430d5a5e7e28d7652da16130d6c227325
Jonghyun Park [Mon, 10 Apr 2017 22:50:56 +0000 (07:50 +0900)]
Extract genInterruptible setting as a separate region
Commit migrated from https://github.com/dotnet/coreclr/commit/
fda1a8dad16136f659530a657f56546eda68466f
Jonghyun Park [Mon, 10 Apr 2017 22:49:08 +0000 (07:49 +0900)]
Use hasPartialArgInfo instead of isPartialArgInfo
Commit migrated from https://github.com/dotnet/coreclr/commit/
19b1ce56f951caf44f1dd20d83042d5653bdc73b
Sergey Andreenko [Mon, 10 Apr 2017 22:41:54 +0000 (15:41 -0700)]
add test with deep execution tree without stores. (dotnet/coreclr#10835)
Add a test that should fail with stack overflow if the compiler doesn't spill trees from time to time.
Commit migrated from https://github.com/dotnet/coreclr/commit/
41933db63c4203177a70bd0a388170a228bf4cbb
Pat Gavlin [Mon, 10 Apr 2017 22:27:07 +0000 (15:27 -0700)]
Package compatjit.dll in pipeline builds.
Just what it says on the tin.
Commit migrated from https://github.com/dotnet/coreclr/commit/
0ede8a6bd3fb3e013b2767bdd595a7e5f9d78889
Pat Gavlin [Mon, 10 Apr 2017 22:13:58 +0000 (15:13 -0700)]
Format code.
Commit migrated from https://github.com/dotnet/coreclr/commit/
58aaf6eaea69afb2f32a1503cc189864b0c0ff82
Pat Gavlin [Mon, 10 Apr 2017 21:17:08 +0000 (14:17 -0700)]
Fix VSO bug 405852.
This bug was due to a mismatch between the semantics of the FP modulus
operator as specified by ECMA-335 and as implemented by value numbering.
ECMA-335 requires the following behavior for FP modulus:
- If the divisor is 0 or the dividend is not finite, the result is NaN
- If the divisor is not finite and is not NaN, the result is the
dividend.
Value numbering, however, simply used `fmod`, which does not have these
semantics. This change implements the required semantics in VN.
Commit migrated from https://github.com/dotnet/coreclr/commit/
504dcd7001fcdf4e6dd9ff5e6084432589a115a8
Jan Kotas [Mon, 10 Apr 2017 20:57:03 +0000 (13:57 -0700)]
Add back UnmanagedType.LPUTF8Str (dotnet/coreclr#10859)
Commit migrated from https://github.com/dotnet/coreclr/commit/
6252b1628317776e36b674841aaed8bffb3f88f8
Rew [Mon, 10 Apr 2017 20:06:49 +0000 (16:06 -0400)]
CoreLib Build System portability updates (dotnet/coreclr#10839)
Updates to corelib project file for target specific includes. Intended
to ease maintainability of existing targets and clarify necessary work
for new targets.
Commit migrated from https://github.com/dotnet/coreclr/commit/
80423b67b16f563bbcb281f996c7b5cdee96093a
Koundinya Veluri [Mon, 10 Apr 2017 20:00:48 +0000 (13:00 -0700)]
Fix contract to allow call into GarbageCollect() to throw (dotnet/coreclr#10856)
I did not intend to mark this function as NOTHROW, and there is no reason to expect NOTHROW here. Other functions that call into GarbageCollect() allow THROWS.
Commit migrated from https://github.com/dotnet/coreclr/commit/
ee4ed1ac502f037e9894006ecc8da63f97325694
Aditya Mandaleeka [Mon, 10 Apr 2017 19:53:41 +0000 (12:53 -0700)]
Merge pull request dotnet/coreclr#10823 from adityamandaleeka/move_variable_handle_creation
Refactor variable strength handle creation
Commit migrated from https://github.com/dotnet/coreclr/commit/
6ed4abcf2c1877073a303ebb58b21a364ddc5f2c
Omar Tawfik [Mon, 10 Apr 2017 19:52:22 +0000 (12:52 -0700)]
Add empty System.Runtime.CompilerServices.RuntimeFeature.IsSupported() API (dotnet/coreclr#10779)
Commit migrated from https://github.com/dotnet/coreclr/commit/
620e0a781c2f93f3ea2c75b5bcd833011ff77e33
Roman Artemev [Fri, 7 Apr 2017 23:07:14 +0000 (16:07 -0700)]
Added netstandard corelib into ilasm reference resolver
Commit migrated from https://github.com/dotnet/coreclr/commit/
a1cde62225c0a7d5c889bff6e21660e2e170299a
Atsushi Kanamori [Mon, 10 Apr 2017 19:43:24 +0000 (12:43 -0700)]
Fix perf penalty for creating dictionaries the easy way. (dotnet/coreclr#10855)
We went to the trouble of mitigating the perf hit
introduced by using randomized string hashing.
I assume that said perf benefit wasn't meant to be denied
to the 90% case where people use the nullary
constructor to create the Dictionary...
Commit migrated from https://github.com/dotnet/coreclr/commit/
6c42a52b01960d7689c93398caa06ca5f79e903f
[Arm64] Cleanup/fix InitBlkUnroll
Commit migrated from https://github.com/dotnet/coreclr/commit/
8c44e4004113815a259f5fcbb3e9c6d7fbcb8cd9
dotnet bot [Mon, 10 Apr 2017 18:18:31 +0000 (11:18 -0700)]
Update CoreFx to preview1-25210-01 (dotnet/coreclr#10850)
Commit migrated from https://github.com/dotnet/coreclr/commit/
9cfc763700e38ce47242ad66657ba3210451df78
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
Aditya Mandaleeka [Sat, 8 Apr 2017 01:44:23 +0000 (18:44 -0700)]
Move variable handle creation.
Commit migrated from https://github.com/dotnet/coreclr/commit/
09b7f0a0f44798108a33d7e698420f147c45461b
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
[Arm64] enable initblk loop unrolling
Commit migrated from https://github.com/dotnet/coreclr/commit/
6e486065ce8380f8bdd729d2f4ff0a2eac403f99
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