platform/upstream/coreclr.git
8 years agoAdd regression tests for two previously fixed bugs.
Eugene Rozenfeld [Mon, 21 Mar 2016 20:52:23 +0000 (13:52 -0700)]
Add regression tests for two previously fixed bugs.

One of the repros is in il rather than C# because the
repro was sensitive to what different versions of C#
compiler generated.

8 years agoMerge pull request #3798 from dotnet-bot/from-tfs
Matt Ellis [Thu, 17 Mar 2016 22:46:15 +0000 (15:46 -0700)]
Merge pull request #3798 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoMerge pull request #3793 from jkotas/hostprotectionattribute
Jan Kotas [Thu, 17 Mar 2016 21:58:42 +0000 (14:58 -0700)]
Merge pull request #3793 from jkotas/hostprotectionattribute

Add back HostProtectionAttribute to mscorlib

8 years agoUse "debian.8" instead of "debian.8.2"
Matt Ellis [Thu, 17 Mar 2016 21:36:55 +0000 (14:36 -0700)]
Use "debian.8" instead of "debian.8.2"

CoreFX uses "debian.8" as the rid for debain packages, whereas CoreCLR
was still on "debian.8.2". Move to "debian.8" because it matches what's
in /etc/os-release and what the CLI will generate by default.

[tfs-changeset: 1586899]

8 years agoAdd back HostProtectionAttribute to mscorlib
Jan Kotas [Thu, 17 Mar 2016 18:21:55 +0000 (11:21 -0700)]
Add back HostProtectionAttribute to mscorlib

8 years agoMerge pull request #3780 from AndyAyersMS/DiscretionaryInliner
Andy Ayers [Thu, 17 Mar 2016 17:56:03 +0000 (10:56 -0700)]
Merge pull request #3780 from AndyAyersMS/DiscretionaryInliner

Inliner: create DiscretionaryPolicy

8 years agoMerge pull request #3790 from wtgodbe/timeout
William Godbe [Thu, 17 Mar 2016 17:31:51 +0000 (10:31 -0700)]
Merge pull request #3790 from wtgodbe/timeout

Increase timeouts for R2R jobs to 4 hours. Also enable mistakenly disabled CentOS R2R jobs

8 years agoMerge pull request #3770 from sejongoh/fix_setup_runtime_dep_cmd
Sejong Oh [Thu, 17 Mar 2016 17:29:10 +0000 (10:29 -0700)]
Merge pull request #3770 from sejongoh/fix_setup_runtime_dep_cmd

Fix setup-runtime-dependencies.cmd

8 years agoMerge pull request #3782 from sergiy-k/runtestsfix2
Matt Mitchell [Thu, 17 Mar 2016 17:24:52 +0000 (10:24 -0700)]
Merge pull request #3782 from sergiy-k/runtestsfix2

Patch runtest.sh to skip netstandard15aot assemblies

8 years agoIncrease timeouts for R2R jobs to 4 hours. Also enable mistakenly disabled CentOS...
wtgodbe [Thu, 17 Mar 2016 17:17:18 +0000 (10:17 -0700)]
Increase timeouts for R2R jobs to 4 hours. Also enable mistakenly disabled CentOS R2R jobs

8 years agoMerge pull request #3786 from jashook/arm64_ci_timeouts
Jarret Shook [Thu, 17 Mar 2016 17:16:29 +0000 (10:16 -0700)]
Merge pull request #3786 from jashook/arm64_ci_timeouts

Arm64 Windows timeout increase

8 years agoMerge pull request #3773 from wtgodbe/WindowsPri1
William Godbe [Thu, 17 Mar 2016 17:08:38 +0000 (10:08 -0700)]
Merge pull request #3773 from wtgodbe/WindowsPri1

Switch default Windows x64 Release PR test to pri1 in CI

8 years agoArm64 Windows timeout increase
jashook [Thu, 17 Mar 2016 14:57:30 +0000 (07:57 -0700)]
Arm64 Windows timeout increase

Currently the arm64 ci is timing out at 2 hours. When this happens the arm64 machines are left in a undefined state. Increasing the timeout to avoid this.

8 years agoMerge pull request #3771 from jashook/smarty_scripts
Jarret Shook [Thu, 17 Mar 2016 15:02:49 +0000 (08:02 -0700)]
Merge pull request #3771 from jashook/smarty_scripts

Add lst_creator tool and smarty output parser

8 years agoMerge pull request #3777 from dotnet-bot/from-tfs
Jan Kotas [Thu, 17 Mar 2016 07:46:21 +0000 (00:46 -0700)]
Merge pull request #3777 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoMerge pull request #3774 from rahku/Helix
Rahul Kumar [Thu, 17 Mar 2016 06:25:11 +0000 (23:25 -0700)]
Merge pull request #3774 from rahku/Helix

Add xunit console runner dependency

8 years agoPatch runtest.sh to skip netstandard15aot assemblies.
Sergiy Kuryata [Thu, 17 Mar 2016 03:38:30 +0000 (20:38 -0700)]
Patch runtest.sh to skip netstandard15aot assemblies.

8 years agoMerge pull request #3740 from ramarag/createlayouts
Rama krishnan Raghupathy [Thu, 17 Mar 2016 02:02:33 +0000 (19:02 -0700)]
Merge pull request #3740 from ramarag/createlayouts

Creates RunTime Dependency Layout as a seperate step

8 years agoMerge pull request #3779 from briansull/issue-3778
Brian Sullivan [Thu, 17 Mar 2016 01:40:06 +0000 (18:40 -0700)]
Merge pull request #3779 from briansull/issue-3778

Fix  for Issue 3778

8 years agoInliner: create DiscretionaryPolicy
Andy Ayers [Wed, 16 Mar 2016 23:02:54 +0000 (16:02 -0700)]
Inliner: create DiscretionaryPolicy

The `DiscretionaryPolicy` is similar to the `LegacyPolicy`, but does not
use size limits. So there is no "always" inline class and no "too big to
inline" class. Also, discretionary failures do not trigger noinline
stamping.

It is installed if `JitInlinePolicyDiscretionary` is set nonzero.

See #3775 for some background on where this new policy will be used.
This is a first cut and further refinement is likely.

Also removed the unused `NoteDouble` methods since the double-valued
observations now are kept internally within `LegacyPolicy` and it's
not very likely we'll introduce new cases where doubles are needed.

8 years agoAdd xunit console runner dependency
Rahul Kumar [Wed, 16 Mar 2016 22:51:49 +0000 (15:51 -0700)]
Add xunit console runner dependency

8 years agoFix setup-runtime-dependencies.cmd
Sejong Oh [Tue, 15 Mar 2016 20:56:41 +0000 (13:56 -0700)]
Fix setup-runtime-dependencies.cmd

8 years agoMerge branch 'master' into issue-3778
Brian Sullivan [Wed, 16 Mar 2016 23:47:42 +0000 (16:47 -0700)]
Merge branch 'master' into issue-3778

8 years agoFix issue 3778
Brian Sullivan [Wed, 16 Mar 2016 23:45:28 +0000 (16:45 -0700)]
Fix issue 3778

Move the initialization of compGenTreeID to earlier in Compiler::compCompileHelper

8 years agoRemove unused files from CoreCLR
Jan Kotas [Wed, 16 Mar 2016 23:04:10 +0000 (16:04 -0700)]
Remove unused files from CoreCLR

[tfs-changeset: 1586532]

8 years agoMerge pull request #3762 from AndyAyersMS/FixInconsistentPolicy
Andy Ayers [Wed, 16 Mar 2016 22:59:39 +0000 (15:59 -0700)]
Merge pull request #3762 from AndyAyersMS/FixInconsistentPolicy

Use root compiler instance for inline result and policy

8 years agoSwitch default Windows x64 Release PR test to pri1 in CI
wtgodbe [Wed, 16 Mar 2016 22:24:50 +0000 (15:24 -0700)]
Switch default Windows x64 Release PR test to pri1 in CI

8 years agoAdd lst_creator tool and smarty output parser
jashook [Wed, 16 Mar 2016 02:23:20 +0000 (19:23 -0700)]
Add lst_creator tool and smarty output parser

8 years agoMerge pull request #3751 from jashook/arm64_enable_dbg_chk
Jarret Shook [Wed, 16 Mar 2016 21:33:12 +0000 (14:33 -0700)]
Merge pull request #3751 from jashook/arm64_enable_dbg_chk

Remove release only check.

8 years agoMerge pull request #3752 from dotnet-bot/from-tfs
Jan Kotas [Wed, 16 Mar 2016 20:52:22 +0000 (13:52 -0700)]
Merge pull request #3752 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoUse root compiler instance for inline result and policy
Andy Ayers [Wed, 16 Mar 2016 17:50:51 +0000 (10:50 -0700)]
Use root compiler instance for inline result and policy

When constructing an InlineResult (and subsequent InlinePolicy)
always use the root compiler instance, so that all policy evaluations
done in a method are consistent.

Add an assert that the initial fact replay during `fgFindJumpTargets`
(force inline state and code size) doesn't change the candidacy when
inlining -- it should just be re-establishing what we knew in the
initial candidate scan.

Closes #3760.

8 years agoMerge pull request #3761 from kyulee1/fixstack
Kyungwoo Lee [Wed, 16 Mar 2016 20:13:33 +0000 (13:13 -0700)]
Merge pull request #3761 from kyulee1/fixstack

ARM64: Fix Large Stack Allocation

8 years agoARM64: Fix Large Stack Allocation
Kyungwoo Lee [Wed, 16 Mar 2016 16:39:47 +0000 (09:39 -0700)]
ARM64: Fix Large Stack Allocation

This fixes https://github.com/dotnet/coreclr/issues/3666.
When frame size is greater than 512 (frametype=3), JIT saves
callee-save registers followed by var arg registers, and then handles the
remaining frames. When the first callee-save register is saved, the stack
size is expected to be grown including delta amount which is for var arg registers.
For this failing case, actually we don't have any callee-save registers to be
saved while we still need to home var arg registers.
This fix is to handle such case in
```genSaveCalleeSavedRegistersHelp/genRestoreCalleeSavedRegistersHelp``` to
ensure allocating/deallocating delta stack size.

8 years agoMerge pull request #3758 from gkhanna79/TestGCStress
Gaurav Khanna [Wed, 16 Mar 2016 19:02:09 +0000 (12:02 -0700)]
Merge pull request #3758 from gkhanna79/TestGCStress

Enable tests to run under a specified GCStress mode

8 years agoMerge pull request #3755 from jkotas/failing-tests
Jan Kotas [Wed, 16 Mar 2016 18:58:14 +0000 (11:58 -0700)]
Merge pull request #3755 from jkotas/failing-tests

Disable tests that are failing in CI on Unix

8 years agoDisable tests that are failing in CI on Unix
Jan Kotas [Wed, 16 Mar 2016 11:24:16 +0000 (04:24 -0700)]
Disable tests that are failing in CI on Unix

8 years agoMerge pull request #3697 from AndyAyersMS/RandomInliner
Andy Ayers [Wed, 16 Mar 2016 16:29:29 +0000 (09:29 -0700)]
Merge pull request #3697 from AndyAyersMS/RandomInliner

Random inliner

8 years agoMerge pull request #3743 from dagood/remove-nugetbuild-source
Davis Goodin [Wed, 16 Mar 2016 16:04:41 +0000 (11:04 -0500)]
Merge pull request #3743 from dagood/remove-nugetbuild-source

Remove nugetbuild myget feed

8 years agoEnable tests to run under a specified GCStress mode
Gaurav Khanna [Wed, 16 Mar 2016 09:58:22 +0000 (02:58 -0700)]
Enable tests to run under a specified GCStress mode

8 years agoMerge pull request #3742 from kyulee1/fixgchole2
Kyungwoo Lee [Wed, 16 Mar 2016 14:30:38 +0000 (07:30 -0700)]
Merge pull request #3742 from kyulee1/fixgchole2

ARM64: Revisit for Fix GC hole in indirect call site

8 years agoMerge pull request #3656 from leemgs/upstream-calling-convention-cdecl
Jan Kotas [Wed, 16 Mar 2016 11:15:44 +0000 (04:15 -0700)]
Merge pull request #3656 from leemgs/upstream-calling-convention-cdecl

Remove __cdecl__ calling convention for [-Werror,-Wignored-attributes]

8 years agoMerge pull request #3725 from leemgs/upstream-doc-cross-arm
Jan Kotas [Wed, 16 Mar 2016 11:14:25 +0000 (04:14 -0700)]
Merge pull request #3725 from leemgs/upstream-doc-cross-arm

Documentation: Compiling mscorlib for ARM Linux

8 years agoRemove __cdecl__ calling convention for [-Werror,-Wignored-attributes]
Geunsik Lim [Wed, 16 Mar 2016 07:33:25 +0000 (16:33 +0900)]
Remove __cdecl__ calling convention for [-Werror,-Wignored-attributes]

The cross build for Linux/ARM is broken while doing the compilation
by the [-Werror,-Wignored-attributes] policy of the cross compiler.
Let's remove __cdecl__ calling convention from ./test/src/Interop folder
by handling __cdecl macro handling in xplatform.h for Linux/ARM.

Signed-off-by: Geunsik Lim geunsik.lim@samsung.com
Signed-off-by: Prajwal A N an.prajwal@samsung.com
Signed-off-by: MyungJoo Ham myungjoo.ham@samsung.com
8 years agoDocumentation: Compiling mscorlib for ARM Linux
Geunsik Lim [Tue, 15 Mar 2016 13:44:06 +0000 (22:44 +0900)]
Documentation: Compiling mscorlib for ARM Linux

Let's update the out-of-date contents of mscorlib.

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
8 years agoPrune Windows mscorlib
Jan Kotas [Wed, 16 Mar 2016 02:46:34 +0000 (19:46 -0700)]
Prune Windows mscorlib

In model.xml, I went over:
- FEATURE_ conditions that are disabled on Unix
- FEATURE_  conditions related to NetCF
- All ApiFxInternal methods
And flipped most them either to public, ImplRoot or deleted them.

Testing: Run all open CoreCLR and CoreFX tests, built legacy build razzle

[tfs-changeset: 1586209]

8 years agoRemove release only check.
jashook [Wed, 16 Mar 2016 02:24:17 +0000 (19:24 -0700)]
Remove release only check.

Allows debug and checked builds to run tests on arm64 machines.

8 years agoMerge pull request #3737 from sivarv/bugFix
Sivarv [Wed, 16 Mar 2016 01:03:21 +0000 (18:03 -0700)]
Merge pull request #3737 from sivarv/bugFix

Fix to issue #3734 - a block with jump kind BBJ_RETURN could also be empty if the method's return type is TYP_VOID

8 years agoCreates RunTime Dependency Layout as a seperate step
Rama Krishnan Raghupathy [Tue, 15 Mar 2016 21:48:36 +0000 (14:48 -0700)]
Creates RunTime Dependency Layout as a seperate step

8 years agoMerge pull request #3700 from rahku/updateBuildTools
Rahul Kumar [Wed, 16 Mar 2016 00:12:15 +0000 (17:12 -0700)]
Merge pull request #3700 from rahku/updateBuildTools

Update buildtools version to 00198

8 years agoMerge pull request #3739 from gkhanna79/FixRTJson
Gaurav Khanna [Wed, 16 Mar 2016 00:03:25 +0000 (17:03 -0700)]
Merge pull request #3739 from gkhanna79/FixRTJson

Fix runtime.json to include all platforms in the redirection package.…

8 years agoRemove nugetbuild myget feed from package restore.
Davis Goodin [Tue, 15 Mar 2016 23:49:23 +0000 (18:49 -0500)]
Remove nugetbuild myget feed from package restore.

8 years agoARM64: Revisit for Fix GC hole in indirect call site
Kyungwoo Lee [Sat, 12 Mar 2016 07:51:46 +0000 (23:51 -0800)]
ARM64: Revisit for Fix GC hole in indirect call site

This fixes https://github.com/dotnet/coreclr/issues/3738.
The fix I made in
https://github.com/dotnet/coreclr/commit/4dfd323dab88b902fc9479efa60cb5d6b7659e94
 used 3rd/4th operand to keep GC info, which actually conflicts with
 address field which is unioned with these operands.
So, I go back to the original fix that I proposed below:

Indirect call (```br``` or ```blr```) target is encoded with a register
which the first operand internally represents.
Unfortunately, call sites use the first two operands to hold GC callee-save registers.
So, this GC register information was overridden by the call target operand
in the indirect(virtual) call sites.
The fix is to split branch instruction categories for these two instructions
while keeping ```ret``` same as before. They internally use the third
operand to encode the target since the first two are used for GC info.
The reason I didn't change ```ret``` is because the return instruction
is created as a small instruction (not using operand 3 and more).

8 years agoMerge pull request #3741 from wtgodbe/r2r
William Godbe [Tue, 15 Mar 2016 22:30:20 +0000 (15:30 -0700)]
Merge pull request #3741 from wtgodbe/r2r

Fix file-too-long errors caused by adding R2R tests to CI

8 years agoFix file-too-long errors caused by adding R2R tests to CI
wtgodbe [Tue, 15 Mar 2016 21:56:16 +0000 (14:56 -0700)]
Fix file-too-long errors caused by adding R2R tests to CI

8 years agoFix to issue #3734
sivarv [Tue, 15 Mar 2016 20:23:29 +0000 (13:23 -0700)]
Fix to issue #3734

8 years agoRandom inliner
Andy Ayers [Fri, 11 Mar 2016 02:03:15 +0000 (18:03 -0800)]
Random inliner

This change creates an inline RandomPolicy which assigns a random
benefit to each discretionary inline candidate. Force inlines are
honored as they are with LegacyPolicy. The pool of discretionary
candidates is widened to include the "always inline" cases from the
LegacyPolicy. Discretionary inlines are accepted with a likelihood
that decreases with IL size, in a manner that mirrors the acceptance
probability of the LegacyPolicy.

The random inliner is intended to be used mainly as a stress testing
tool.

The RandomPolicy is enabled in non-retail builds when `JitStress` is
set to a nonzero value. By default the RandomPolicy will be used for
50% of the method being compiled, and the LegacyPolicy (in stress mode)
for the other 50%. Which policy is used for a given method depends on
the stress value. The stress value also forms part of the random seed,
so different random patterns can be invoked by varying the `JitStress`
value.

To enable the RandomPolicy for all methods, set `JitStress` to something
nonzero, then set `JitStressModeName=STRESS_RANDOM_INLINE`.
To do this without also enabling other stress modes, set `JitStressModeNameOnly=1'.

8 years agoFix runtime.json to include all platforms in the redirection package. Also update...
Gaurav Khanna [Tue, 15 Mar 2016 20:51:57 +0000 (13:51 -0700)]
Fix runtime.json to include all platforms in the redirection package. Also update the CLI build version (taken from CoreFX).

8 years agoMerge pull request #3706 from rahku/fixbug
Rahul Kumar [Tue, 15 Mar 2016 20:35:30 +0000 (13:35 -0700)]
Merge pull request #3706 from rahku/fixbug

fix dir of disabled test

8 years agoMerge pull request #3705 from wtgodbe/r2r
William Godbe [Tue, 15 Mar 2016 20:09:53 +0000 (13:09 -0700)]
Merge pull request #3705 from wtgodbe/r2r

Enable pri0 crossgen build/tests per-commit, and pri1 by trigger phrase

8 years agoMerge pull request #3729 from gkhanna79/FixNugetPackage
Gaurav Khanna [Tue, 15 Mar 2016 19:35:25 +0000 (12:35 -0700)]
Merge pull request #3729 from gkhanna79/FixNugetPackage

Fix 3724 - Include Runtime.json in redirection package

8 years agoMerge pull request #3711 from rahku/Helix
Rahul Kumar [Tue, 15 Mar 2016 19:17:29 +0000 (12:17 -0700)]
Merge pull request #3711 from rahku/Helix

Add dependency to apisets correctly

8 years agoEnable pri0 crossgen build/tests per-commit, and pri1 by trigger phrase
wtgodbe [Mon, 14 Mar 2016 23:10:10 +0000 (16:10 -0700)]
Enable pri0 crossgen build/tests per-commit, and pri1 by trigger phrase

8 years agoAdd dependency to apisets correctly
Rahul Kumar [Mon, 14 Mar 2016 21:40:55 +0000 (14:40 -0700)]
Add dependency to apisets correctly
Update version of apisets

8 years agoMerge pull request #3719 from dotnet-bot/from-tfs
Jan Kotas [Tue, 15 Mar 2016 16:14:00 +0000 (09:14 -0700)]
Merge pull request #3719 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoFix 3724 - Include Runtime.json in redirection package
Gaurav Khanna [Tue, 15 Mar 2016 15:04:53 +0000 (08:04 -0700)]
Fix 3724 - Include Runtime.json in redirection package

8 years agoMerge pull request #3720 from gkhanna79/FixTestTimeOut
Gaurav Khanna [Tue, 15 Mar 2016 14:26:05 +0000 (07:26 -0700)]
Merge pull request #3720 from gkhanna79/FixTestTimeOut

Fix timeout determination for tests

8 years agoMerge pull request #3694 from RussKeldorph/stresstags
Russ Keldorph [Tue, 15 Mar 2016 14:17:56 +0000 (07:17 -0700)]
Merge pull request #3694 from RussKeldorph/stresstags

Exclude doublearray/* from GCStress runs

8 years agoMerge pull request #3680 from mikedn/bad-disasm
Kyungwoo Lee [Tue, 15 Mar 2016 13:38:36 +0000 (06:38 -0700)]
Merge pull request #3680 from mikedn/bad-disasm

Fix some JIT disassembly issues

8 years agoMerge pull request #3698 from kyulee1/Fixovf
Kyungwoo Lee [Tue, 15 Mar 2016 13:38:04 +0000 (06:38 -0700)]
Merge pull request #3698 from kyulee1/Fixovf

ARM64: Fix genJumpToThrowHlpBlk

8 years agoMerge pull request #3692 from kyulee1/fixuint2float
Kyungwoo Lee [Tue, 15 Mar 2016 13:35:34 +0000 (06:35 -0700)]
Merge pull request #3692 from kyulee1/fixuint2float

ARM64: Fix casting unsigned int to double

8 years agoFix timeout determination for tests
Gaurav Khanna [Tue, 15 Mar 2016 03:36:14 +0000 (20:36 -0700)]
Fix timeout determination for tests

8 years agoMerge pull request #3699 from jkotas/tests
Jan Kotas [Tue, 15 Mar 2016 03:10:55 +0000 (20:10 -0700)]
Merge pull request #3699 from jkotas/tests

Test fixes

8 years agoMerge pull request #3634 from ramarag/testbuild
Rama krishnan Raghupathy [Tue, 15 Mar 2016 01:53:57 +0000 (18:53 -0700)]
Merge pull request #3634 from ramarag/testbuild

Enabling standalone builds for Test Project of any Priority

8 years agoMerge pull request #3702 from wtgodbe/disableEH
William Godbe [Tue, 15 Mar 2016 00:31:44 +0000 (17:31 -0700)]
Merge pull request #3702 from wtgodbe/disableEH

Disable failing Hardware EH test on non-windows

8 years agoMerge pull request #3654 from ramarag/lttngperf
Rama krishnan Raghupathy [Mon, 14 Mar 2016 23:49:25 +0000 (16:49 -0700)]
Merge pull request #3654 from ramarag/lttngperf

Using StackString to improve memory consumption in Lttng EventProvider

8 years agofix dir of disabled test
Rahul Kumar [Mon, 14 Mar 2016 23:47:56 +0000 (16:47 -0700)]
fix dir of disabled test

8 years agoDisable failing Hardware EH test on non-windows
wtgodbe [Mon, 14 Mar 2016 22:28:03 +0000 (15:28 -0700)]
Disable failing Hardware EH test on non-windows

8 years agoMerge pull request #3695 from tarekgh/FixUmAlQuraCalendarStaticDataInitialization
Tarek Mahmoud Sayed [Mon, 14 Mar 2016 22:02:01 +0000 (15:02 -0700)]
Merge pull request #3695 from tarekgh/FixUmAlQuraCalendarStaticDataInitialization

Fix UmAlQuraCalendar static data initilaization

8 years agoMake sure that the AppContext.GetData method is part of model.xml.
Alex Ghiondea [Mon, 14 Mar 2016 21:47:38 +0000 (14:47 -0700)]
Make sure that the AppContext.GetData method is part of model.xml.

This was missed in the previous check-in.

[tfs-changeset: 1585251]

8 years agoUpdate buildtools version to 00198
Rahul Kumar [Mon, 14 Mar 2016 21:44:44 +0000 (14:44 -0700)]
Update buildtools version to 00198

8 years agoAdd latent Roslyn dependency to project.json
Jan Kotas [Mon, 14 Mar 2016 21:24:09 +0000 (14:24 -0700)]
Add latent Roslyn dependency to project.json

Roslyn loads System.Security.Cryptography.Algorithms via reflection

8 years agoDelete bad tests
Jan Kotas [Sun, 13 Mar 2016 13:03:17 +0000 (06:03 -0700)]
Delete bad tests

These tests depend on Thread.Abort and reflection emit APIs that are not part of supported .NET Core surface

8 years agoMerge pull request #3679 from kyulee1/fixgchole
Kyungwoo Lee [Mon, 14 Mar 2016 21:05:40 +0000 (14:05 -0700)]
Merge pull request #3679 from kyulee1/fixgchole

ARM64: Fix GC hole in indirect call site

8 years agoARM64: Fix genJumpToThrowHlpBlk
Kyungwoo Lee [Mon, 14 Mar 2016 20:53:07 +0000 (13:53 -0700)]
ARM64: Fix genJumpToThrowHlpBlk

This is additional fix to https://github.com/dotnet/coreclr/issues/3667.
When JIT invokes this API with direct jump (EJ_jmp), JIT also tries to
circumvent the target by reversing the jump kind in debug path.
In this case, actually we should directly invoke the target.

Before (Fail)
```
 b       G_M36945_IG03
 bl      CORINFO_HELP_THROWDIVZERO
G_M36945_IG03:
```

After (Pass)
```
 bl      CORINFO_HELP_THROWDIVZERO
```

8 years agoExpose AppDomain.GetData via AppContext.
Alex Ghiondea [Mon, 14 Mar 2016 20:34:43 +0000 (13:34 -0700)]
Expose AppDomain.GetData via AppContext.

This is useful in certain scenarios where there is a need for information to be passed using the AppDomain.GetData methods.

[tfs-changeset: 1585237]

8 years agoMerge pull request #3696 from briansull/update-tests-lst
Brian Sullivan [Mon, 14 Mar 2016 20:00:30 +0000 (13:00 -0700)]
Merge pull request #3696 from briansull/update-tests-lst

Update tests lst for ARM64

8 years agoMerge branch 'master' into update-tests-lst
Brian Sullivan [Mon, 14 Mar 2016 19:57:39 +0000 (12:57 -0700)]
Merge branch 'master' into update-tests-lst

8 years agoUpdated with NEW_PASS tests
Brian Sullivan [Mon, 14 Mar 2016 19:56:18 +0000 (12:56 -0700)]
Updated with NEW_PASS tests

8 years agoILAsm/ILDAsm packages
dotnet-bot [Mon, 14 Mar 2016 19:40:41 +0000 (12:40 -0700)]
ILAsm/ILDAsm packages

This creates packages for ILAsm/ILDAsm respectively.
These tools depend on CoreCLR, so they are tied together with the same version.
Note we use ProjectK build for packaging Windows binaries so these tools are basically desktop one while cross-platform binaries are from Github build as usual.
When CoreCLR packaging and publication are migrated to Github build, so will these tools.

[tfs-changeset: 1585183]

8 years agoARM64: Fix GC hole in indirect call site
Kyungwoo Lee [Mon, 14 Mar 2016 18:06:11 +0000 (11:06 -0700)]
ARM64: Fix GC hole in indirect call site

This fixes dotnet#3663.
Indirect call (```br``` or ```blr```) target is encoded with a register
which the first operand internally represents.
Unfortunately, call sites use the first two operands to hold GC
callee-save registers.
So, this GC register information was overridden by the call target operand
in the indirect(virtual) call sites.
The fix is to use 3rd/4th operands instead of 1st/2nd operands to hold GC info.
Ideally we should use different field name and also ensure constness when
we set up the operand so that it's never written more than once.
https://github.com/dotnet/coreclr/issues/3693 is filed.

8 years agoFix UmAlQuraCalendar static data initilaization
Tarek Mahmoud Sayed [Mon, 14 Mar 2016 19:28:17 +0000 (12:28 -0700)]
Fix UmAlQuraCalendar static data initilaization

The current way of declaring the static data is cauing null reference exception
when the static constructor get called. the reason is the static initialization
method InitDateMapping is using the static array rawData which is not really
get initilaized yet when InitDateMapping execute.

The fix is moving rawData inside InitDateMapping.

https://github.com/dotnet/corefx/issues/6774#issuecomment-196044580

8 years agoMerge pull request #3687 from kyulee1/fixzeroinit
Kyungwoo Lee [Mon, 14 Mar 2016 18:21:27 +0000 (11:21 -0700)]
Merge pull request #3687 from kyulee1/fixzeroinit

ARM64: Fix ZeroInit of Locals

8 years agoExclude doublearray/* from GCStress runs
Russ Keldorph [Mon, 14 Mar 2016 18:09:49 +0000 (11:09 -0700)]
Exclude doublearray/* from GCStress runs

Doublearray tests are incompatible with GCStress.

Fixes #2759

8 years agoARM64: Fix casting unsigned int to double
Kyungwoo Lee [Mon, 14 Mar 2016 17:12:34 +0000 (10:12 -0700)]
ARM64: Fix casting unsigned int to double

When casting unsigned int to double, JIT emitted ```scvtf``` instead of ```uscvtf```.
The issue was JIT used dst type instead of src type for checking the sign.
This fixes a part of https://github.com/dotnet/coreclr/issues/3667.

8 years agoMerge pull request #3659 from RussKeldorph/stresstags
Russ Keldorph [Mon, 14 Mar 2016 16:41:36 +0000 (09:41 -0700)]
Merge pull request #3659 from RussKeldorph/stresstags

Add test mode exclusions

8 years agoFix some JIT disassembly issues
Mike Danes [Fri, 4 Mar 2016 20:23:17 +0000 (22:23 +0200)]
Fix some JIT disassembly issues

1. (v)movsd operands were messed up in disassembly:
vmovsd   qword ptr [rsp+28H]ymm0, qword ptr
instead of
vmovsd   qword ptr [rsp+28H], ymm0

2. cvtxx2yy insructions had GPR names prefixed with x/y:
vcvtsi2ss ymm0, yrcx
vcvttss2si yrsi, ymm6

8 years agoARM64: Fix ZeroInit of Locals
Kyungwoo Lee [Sun, 13 Mar 2016 20:11:18 +0000 (13:11 -0700)]
ARM64: Fix ZeroInit of Locals

When zero-initializing locals, JIT emits wrong instruction sequence --
e.g, 28 byte zero-intialization as shown below.
The issue was JIT passed wrong arguments to emitIns_R_R_I.

Before (Fail)
```
 stp     xzr, xzr, [x2],#16
 str     xzr, [x2,#2]  --> just two byte offset (no x2 post-increment)
 str     wzr, [x2]
```

After (Pass)
```
 stp     xzr, xzr, [x2],#16
 str     xzr, [x2],#8
 str     wzr, [x2]
```

8 years agoMerge pull request #3685 from jkotas/ifdefs
Jan Kotas [Sun, 13 Mar 2016 21:55:50 +0000 (14:55 -0700)]
Merge pull request #3685 from jkotas/ifdefs

Fix ifdefs

8 years agoMerge pull request #3662 from tarekgh/FixGetYearForJapaneseCalendar
Tarek Mahmoud Sayed [Sun, 13 Mar 2016 20:47:07 +0000 (13:47 -0700)]
Merge pull request #3662 from tarekgh/FixGetYearForJapaneseCalendar

Fix calculating the calendar year in JapaneseLunisolarCalendar

8 years agoMerge pull request #3673 from briansull/update-tests-lst
Kyungwoo Lee [Sun, 13 Mar 2016 20:10:06 +0000 (13:10 -0700)]
Merge pull request #3673 from briansull/update-tests-lst

ARM64: Major Update for new tests to run using Smarty.exe