platform/upstream/dotnet/runtime.git
7 years agoFix run-xunit-perf.cmd for local use
Michelle McDaniel [Wed, 12 Apr 2017 16:56:33 +0000 (09:56 -0700)]
Fix run-xunit-perf.cmd for local use

run-xunit-perf.cmd  specifies the full path to the benchmark using
%WORKSPACE%, which a user may not set locally. This change modifies it to
use %CORECLR_ROOT%.

Commit migrated from https://github.com/dotnet/coreclr/commit/d2697c9b034e00c5183f3cd2f3a605fbc8a9b21c

7 years agoMerge pull request dotnet/coreclr#10886 from hseok-oh/ci/fix_ci_error
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

7 years agoMerge pull request dotnet/corertdotnet/coreclr#3285 from dotnet/nmirror
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

7 years agoRemove sudo in netci.groovy
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

7 years agoOverwrite permission in coreoverlay generation
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

7 years agoFix netci.groovy
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

7 years agoFix CI test error: permission error
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

7 years agoDo not spill eeStack after ldtoken opcode. (dotnet/coreclr#10215)
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

7 years agoFix some static methods on ThreadPool to wait for initialization (dotnet/coreclr...
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

7 years agoMerge pull request dotnet/coreclr#10782 from parjong/fix/x86_funclet_unwinding
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

7 years agoUpdate CoreClr to preview1-25210-04 (dotnet/coreclr#10862)
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

7 years agoMerge pull request dotnet/coreclr#10871 from pgavlin/PipelineCompatJit
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

7 years agoMerge pull request dotnet/coreclr#10866 from pgavlin/VSO405852
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

7 years agoempty array (dotnet/coreclr#10841)
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

7 years agoMerge pull request dotnet/coreclr#10814 from rartemev/ilasm_reference_resolver_fix
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

7 years agoMerge pull request dotnet/coreclr#10808 from sdmaclea/PR-ARM64-enable-initblk-unroll
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

7 years agoExtract genInterruptible setting as a separate region
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

7 years agoUse hasPartialArgInfo instead of isPartialArgInfo
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

7 years agoadd test with deep execution tree without stores. (dotnet/coreclr#10835)
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

7 years agoPackage compatjit.dll in pipeline builds.
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

7 years agoFormat code.
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

7 years agoFix VSO bug 405852.
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

7 years agoAdd back UnmanagedType.LPUTF8Str (dotnet/coreclr#10859)
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

7 years agoCoreLib Build System portability updates (dotnet/coreclr#10839)
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

7 years agoFix contract to allow call into GarbageCollect() to throw (dotnet/coreclr#10856)
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

7 years agoMerge pull request dotnet/coreclr#10823 from adityamandaleeka/move_variable_handle_cr...
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

7 years agoAdd empty System.Runtime.CompilerServices.RuntimeFeature.IsSupported() API (dotnet...
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

7 years agoAdded netstandard corelib into ilasm reference resolver
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

7 years agoFix perf penalty for creating dictionaries the easy way. (dotnet/coreclr#10855)
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

7 years ago[Arm64] Cleanup/fix InitBlkUnroll
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Mon, 10 Apr 2017 15:15:58 +0000 (15:15 +0000)]
[Arm64] Cleanup/fix InitBlkUnroll

Commit migrated from https://github.com/dotnet/coreclr/commit/8c44e4004113815a259f5fcbb3e9c6d7fbcb8cd9

7 years agoUpdate CoreFx to preview1-25210-01 (dotnet/coreclr#10850)
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

7 years agoImplement slicing APIs for ArraySegment<T> (dotnet/coreclr#9926)
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

7 years agoIncorrect parameter order found by PVS-Studio (dotnet/coreclr#10497)
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

7 years agoGet rid of "#if FEATURE_RANDOMIZED_STRING_HASHING" in shared partition. (dotnet/corec...
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

7 years agoForbid lea without index and base. (dotnet/coreclr#10771)
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

7 years agoDelete FEATURE_READYTORUN define for CoreLib build (dotnet/coreclr#10840)
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

7 years ago[x86/Linux] Set ResumeEsp as Caller Sp when unwond to native frame (dotnet/coreclr...
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

7 years ago[x86/Linux] 16-byte aligned ResolveWorkerChainLookupAsmStub (dotnet/coreclr#10754)
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

7 years ago* Fixed issue, when structures with many fields had wrong size in dwarf (dotnet/corec...
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

7 years agoMove files to shared CoreLib partition (dotnet/coreclr#10837)
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

7 years agoMove variable handle creation.
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

7 years ago[Local GC] Move knowledge of the free object method table outside of the GC (dotnet...
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

7 years agoMove files to shared CoreLib partition (dotnet/coreclr#10830)
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

7 years agoUpdate VS2017 'Individual Components' install info (dotnet/coreclr#10695)
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

7 years agoDelete reference to model.xml since it no longer exists (dotnet/coreclr#10827)
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

7 years agoFix the broken link in contributing.md (dotnet/coreclr#10828)
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

7 years agoMerge pull request dotnet/coreclr#10776 from sdmaclea/PR-ARM64-CpBlkUnroll
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

7 years agoMerge pull request dotnet/coreclr#10736 from sdmaclea/PR-ARM64-GC-genLeaInstruction
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

7 years agoFix corerun issue when loaded from PATH (dotnet/coreclr#10745)
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

7 years agoUse a monotonic clock for test timing (dotnet/coreclr#10812)
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

7 years agoHandle SIGTERM on OSX (dotnet/coreclr#10723)
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

7 years agoExit gracefully when running ildasm -nat against unsupported ni file. (dotnet/coreclr...
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

7 years agoMerge pull request dotnet/coreclr#10811 from BruceForstall/RemoveRELOC_SUPPORT
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

7 years ago[Local GC] Fix some interface violations (dotnet/coreclr#10817)
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

7 years agoMerge pull request dotnet/corertdotnet/coreclr#3262 from dotnet/nmirror
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

7 years agoFind & replace Exception.SetErrorCode with Exception.HResult setter (dotnet/coreclr...
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

7 years agoMerge pull request dotnet/coreclr#10757 from adityamandaleeka/handle_table_local_gc_init
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

7 years agoMove OBJECTHANDLE definition to gcinterface.h
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

7 years agoAdd creation of special handle types to IGCHandleTable.
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

7 years agoAdd System.Runtime.CompilerServices.ReadOnlyAttribute (dotnet/coreclr#10777)
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

7 years agoTemporarily disable symweb indexing (dotnet/coreclr#10807)
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

7 years agoRemove RELOC_SUPPORT define
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

7 years agoStrip out unused reg code. (dotnet/coreclr#10741)
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

7 years ago[Arm64] enable initblk loop unrolling
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Fri, 7 Apr 2017 20:08:36 +0000 (20:08 +0000)]
[Arm64] enable initblk loop unrolling

Commit migrated from https://github.com/dotnet/coreclr/commit/6e486065ce8380f8bdd729d2f4ff0a2eac403f99

7 years agoMerge pull request dotnet/coreclr#10806 from wtgodbe/portableMac
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

7 years agoDelete moved file
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

7 years agoMerge pull request dotnet/corertdotnet/coreclr#3247 from dotnet/nmirror
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

7 years agoUsing AsSpan since we no longer have slice on string. Renaming Tests. (dotnet/coreclr...
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

7 years agoMerge pull request dotnet/coreclr#10799 from sdmaclea/PR-Fix-lvRegister-assert
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

7 years agoPublish portable OSX binaries into separate container in pipeline
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

7 years agoMove public ThreadAbortException back to CoreLib (dotnet/coreclr#10801)
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

7 years agoUpdate CoreClr, CoreFx to preview1-25207-02, preview1-25205-01, respectively (dotnet...
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

7 years agoAddress dotnet/coreclr#10799 comments
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Fri, 7 Apr 2017 18:16:11 +0000 (18:16 +0000)]
Address dotnet/coreclr#10799 comments

Commit migrated from https://github.com/dotnet/coreclr/commit/dc778e1ac129e12223f5ed62db5bfae0d0e2c6ad

7 years agoMerge pull request dotnet/coreclr#10656 from hseok-oh/ryujit/fix_10654
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

7 years agoMerge pull request dotnet/coreclr#10781 from rartemev/ilasm_path_length_fix
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

7 years agoMerge pull request dotnet/coreclr#10704 from wtgodbe/BuildDefs
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

7 years ago[Arm64] Use ldp/stp in CpBlkUnroll
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Fri, 7 Apr 2017 15:10:42 +0000 (15:10 +0000)]
[Arm64] Use ldp/stp in CpBlkUnroll

Commit migrated from https://github.com/dotnet/coreclr/commit/97bac158f3d84c278d1937e68853304584b8318e

7 years agoMerge pull request dotnet/coreclr#10798 from adiaaida/fixjit32Perf
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

7 years agoDelete duplicate files and fix build breaks
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

7 years agoMerge pull request dotnet/corertdotnet/coreclr#3243 from dotnet/nmirror
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

7 years agoAddress review feedback
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Fri, 7 Apr 2017 15:10:33 +0000 (15:10 +0000)]
Address review feedback

Commit migrated from https://github.com/dotnet/coreclr/commit/d5d141545cbe7aea82c59b8e90748dadb4848bb9

7 years agoCorrect assert w.r.t meaning of lvRegister
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Fri, 7 Apr 2017 12:51:18 +0000 (12:51 +0000)]
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

7 years agoFix jit32 Perf testing
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

7 years agoHandle unsupported varargs tests on Unix gracefully. (dotnet/coreclr#10794)
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

7 years agoBring back DefaultDllImportSearchPathsAttribute (dotnet/coreclr#10786)
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

7 years agoAdd reporting swap file size to GlobalMemoryStatusEx on Unix (dotnet/coreclr#10700)
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

7 years agoDelete duplicate files and fix build breaks
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

7 years agoMerge pull request dotnet/corertdotnet/coreclr#3226 from dotnet/nmirror
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

7 years agoCall custom parameterless constructor on structs through Activator (dotnet/coreclr...
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

7 years agoremove fedora 23 (dotnet/coreclr#10725)
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

7 years agoNS2.0 Prepare FileNotFoundException for move to shared partition. (dotnet/coreclr...
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

7 years agoMerge pull request dotnet/corertdotnet/coreclr#3216 from dotnet/nmirror
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

7 years agoMerge pull request dotnet/coreclr#10784 from briansull/ibc-shutdown-fix
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

7 years agoDevirtualizable default encoding (dotnet/coreclr#10783)
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

7 years agodon't switch to COOP GC when logging CCW ref count (dotnet/coreclr#10756)
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

7 years agoUse _TARGET_ARMARCH_
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

7 years agoFix shutdown A/V issue when IBC logging with the Music Store app
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

7 years agoUpdate ILLink build scripts
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

7 years agoFix format error
Jonghyun Park [Fri, 7 Apr 2017 00:02:49 +0000 (09:02 +0900)]
Fix format error

Commit migrated from https://github.com/dotnet/coreclr/commit/ee63d19c016b83255c9b16d44580c780a54d04ac

7 years ago[x86/Linux] Use GCInfo for funclet unwinding
Jonghyun Park [Wed, 5 Apr 2017 00:30:08 +0000 (09:30 +0900)]
[x86/Linux] Use GCInfo for funclet unwinding

Commit migrated from https://github.com/dotnet/coreclr/commit/42924c80d75313c45abb049d2e38fbb9f538f589