platform/upstream/coreclr.git
8 years agoARM-CI: Convert Linux ARM emulator CI check to cross build
Prajwal A N [Fri, 10 Jun 2016 06:03:16 +0000 (15:03 +0900)]
ARM-CI: Convert Linux ARM emulator CI check to cross build

* Previously used emulated build took a lot of time leading to timeout errors
* Changing this CI check to build using cross build

Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
8 years agoMerge pull request #5666 from swaroop-sridhar/LR
Swaroop Sridhar [Fri, 10 Jun 2016 00:31:08 +0000 (17:31 -0700)]
Merge pull request #5666 from swaroop-sridhar/LR

ARM64: Don't track LR as part of NV-Context

8 years agoMerge pull request #5658 from pgavlin/PhaseInterface
Pat Gavlin [Fri, 10 Jun 2016 00:19:50 +0000 (17:19 -0700)]
Merge pull request #5658 from pgavlin/PhaseInterface

Make Phase::{Pre,Do,Post}Phase protected.

8 years agoMerge pull request #5649 from pgavlin/removeSplitMethodTrees
Pat Gavlin [Fri, 10 Jun 2016 00:11:58 +0000 (17:11 -0700)]
Merge pull request #5649 from pgavlin/removeSplitMethodTrees

Remove `fgSplitMethodTrees`.

8 years agoMerge pull request #5661 from AndyAyersMS/FirstDraftProfitablityModel
Andy Ayers [Fri, 10 Jun 2016 00:08:39 +0000 (17:08 -0700)]
Merge pull request #5661 from AndyAyersMS/FirstDraftProfitablityModel

Inliner: implement profitabily side of the ModelPolicy

8 years agoMerge pull request #5663 from briansull/legacy-cleanup
Brian Sullivan [Fri, 10 Jun 2016 00:05:14 +0000 (17:05 -0700)]
Merge pull request #5663 from briansull/legacy-cleanup

Code review cleanup items and moved some items into LEGACY_BACKEND

8 years agoMerge pull request #5652 from RussKeldorph/5555
Russ Keldorph [Thu, 9 Jun 2016 23:57:42 +0000 (16:57 -0700)]
Merge pull request #5652 from RussKeldorph/5555

Fix WeakReference tests depending on JIT not extending lifetimes

8 years agoMake Phase::Phase protected.
Pat Gavlin [Thu, 9 Jun 2016 22:10:21 +0000 (15:10 -0700)]
Make Phase::Phase protected.

Like Phase::{Pre,Do,Post}Phase, this is an implementation detail of the top type
and should only be exposed to subclasses.

8 years agoMerge pull request #5588 from jashook/disable_kar
Jarret Shook [Thu, 9 Jun 2016 22:03:53 +0000 (15:03 -0700)]
Merge pull request #5588 from jashook/disable_kar

Mark KeepAliveRecur as GCStressIncompatible

8 years agoARM64: Don't track LR as part of NV-Context
Swaroop Sridhar [Thu, 9 Jun 2016 21:23:35 +0000 (14:23 -0700)]
ARM64: Don't track LR as part of NV-Context

The _pc and _sp fields actually refer to the caller's PC and SP values.
So, remove read/writes of LR in captureX19_X29 array of ARM64 MachState.
This change fixes a buffer overflow problem.

8 years agoMerge pull request #5657 from JohnChen0/r2r
John Chen [Thu, 9 Jun 2016 21:22:00 +0000 (14:22 -0700)]
Merge pull request #5657 from JohnChen0/r2r

Add an option to log outcome of loading Ready to Run images

8 years agoFix clang build
Brian Sullivan [Thu, 9 Jun 2016 21:21:51 +0000 (14:21 -0700)]
Fix clang build

8 years agoInliner: implement profitabily side of the ModelPolicy
Andy Ayers [Wed, 8 Jun 2016 00:19:31 +0000 (17:19 -0700)]
Inliner: implement profitabily side of the ModelPolicy

First (and very preliminary) cut at a profitability model, based
on inline data modelling.

ModelPolicy heuristic is updated to use this information to decide
when to inline. The policy has two parameters: one for the local
call site weight and another for the overall size/speed tradeoff
that we find acceptable. The first parameter is temporary as we
should be able to model this weight via observations.

Size/speed tradeoff is a policy decision and is a tuning parameter.
I've set it for now to roughly match the LegacyPolicy behavior, in
aggregate, across the jit perf benchmarks.

8 years agoMerge pull request #5650 from pgavlin/SsaSkipDefs
Pat Gavlin [Thu, 9 Jun 2016 21:10:26 +0000 (21:10 +0000)]
Merge pull request #5650 from pgavlin/SsaSkipDefs

Remove JIT_FEATURE_SSA_SKIP_DEFS.

8 years agoMerge pull request #5651 from dotnet-bot/UpdateDependencies20160609052537
Davis Goodin [Thu, 9 Jun 2016 21:05:15 +0000 (16:05 -0500)]
Merge pull request #5651 from dotnet-bot/UpdateDependencies20160609052537

Updating External dependencies to rc4-24209-00

8 years agoMerge pull request #5653 from gkhanna79/Fix5610JIT
Gaurav Khanna [Thu, 9 Jun 2016 21:04:34 +0000 (14:04 -0700)]
Merge pull request #5653 from gkhanna79/Fix5610JIT

Remove reference to the Arm32 JIT package since none exists.

8 years agoMerge pull request #5648 from kyulee1/r2rci2
Kyungwoo Lee [Thu, 9 Jun 2016 20:44:52 +0000 (13:44 -0700)]
Merge pull request #5648 from kyulee1/r2rci2

ARM64: Enable R2R CI

8 years agoCode review cleanup items and moved some items into LEGACY_BACKEND ifdefs
Brian Sullivan [Thu, 9 Jun 2016 17:46:57 +0000 (10:46 -0700)]
Code review cleanup items and moved some items into LEGACY_BACKEND ifdefs

From Codereview feedback:
Use BAD_VAR_NUM in a couple places instead of (unsigned)-1
In struct InitVarDscInfo
Renamed hasRetBuf to hasRetBufArg

In struct RegState:
Moved field rsCurRegArmNum into LEGACY_BACKEND ifdef
Removed instance field RegState::rsMaxRegArgNum as it is unnecessary
Reordered the fields from largest to smallest

In struct GenTreeCall node:
Moved field gtCallRegUsedMask into LEGACY_BACKEND ifdef

Changes to genRegArgNext to work correct for X64/UNIX (where it is not currently used)
Document the behavaior when given REG_ARG_LAST

8 years agoAdd an option to log outcome of loading Ready to Run images
John Chen (CLR) [Thu, 9 Jun 2016 15:54:37 +0000 (08:54 -0700)]
Add an option to log outcome of loading Ready to Run images

8 years agoARM64: Enable R2R CI
Kyungwoo Lee [Thu, 9 Jun 2016 17:10:01 +0000 (10:10 -0700)]
ARM64: Enable R2R CI

Rename "r2r" to "pri1r2r" to trigger private job.
Enable 12 hour periodic job.
Added test exclusions.

8 years agoMake Phase::{Pre,Do,Post}Phase protected.
Pat Gavlin [Thu, 9 Jun 2016 19:04:22 +0000 (12:04 -0700)]
Make Phase::{Pre,Do,Post}Phase protected.

These methods are implementation details of a phase and should not be a part
of its public interface.

8 years agoCleanup Arm32 package references.
Gaurav Khanna [Thu, 9 Jun 2016 17:44:46 +0000 (10:44 -0700)]
Cleanup Arm32 package references.

8 years agoMerge pull request #5470 from alsemenn/fix1379
Sasha Semennikov [Thu, 9 Jun 2016 17:56:57 +0000 (10:56 -0700)]
Merge pull request #5470 from alsemenn/fix1379

Fix memory leak in issue #1379

8 years agoRemove `fgSplitMethodTrees`.
Pat Gavlin [Thu, 9 Jun 2016 17:19:46 +0000 (10:19 -0700)]
Remove `fgSplitMethodTrees`.

This code attempted to split trees that contained multiple calls
that returned floating-point values when targeting ARM. This code
was clearly incorrect--no attempt is made to obey the original tree
ordering (or indeed any valid ordering--and it was in fact disabled
in JIT32. Remove it.

8 years agoFix WeakReference tests depending on JIT not extending lifetimes
Russ Keldorph [Thu, 9 Jun 2016 17:36:44 +0000 (10:36 -0700)]
Fix WeakReference tests depending on JIT not extending lifetimes

Target and IsAlive_neg are failing in some cases when JIT optimization is
disabled because the JIT (legally) generates code that holds a reference
to an object longer than expected.  Instead of forcing optimization on for
these tests, I'm using the pattern of moving the problematic object
reference to a non-inlined helper method.

Fixes #5555

8 years agoUpdating External dependencies to rc4-24209-00
dotnet-bot [Thu, 9 Jun 2016 17:25:37 +0000 (17:25 +0000)]
Updating External dependencies to rc4-24209-00

8 years agoRemove JIT_FEATURE_SSA_SKIP_DEFS.
Pat Gavlin [Fri, 3 Jun 2016 21:34:26 +0000 (14:34 -0700)]
Remove JIT_FEATURE_SSA_SKIP_DEFS.

This symbol is always defined to `1`. Remove it and its associated
dead code.

8 years agoMerge pull request #5636 from dagood/auto-update-dependencies
Davis Goodin [Thu, 9 Jun 2016 16:53:51 +0000 (11:53 -0500)]
Merge pull request #5636 from dagood/auto-update-dependencies

Add dependency auto-update script, UpdateDependencies.ps1

8 years agoRemove CoreFX-specific project.json update code and update summary comment.
Davis Goodin [Thu, 9 Jun 2016 15:03:11 +0000 (10:03 -0500)]
Remove CoreFX-specific project.json update code and update summary comment.

8 years agoPort CoreFX version of UpdateDependencies.ps1.
Davis Goodin [Thu, 9 Jun 2016 14:50:08 +0000 (09:50 -0500)]
Port CoreFX version of UpdateDependencies.ps1.

8 years agoMerge pull request #5633 from dotnet-bot/from-tfs
Jan Kotas [Thu, 9 Jun 2016 14:30:50 +0000 (07:30 -0700)]
Merge pull request #5633 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoAdd -DARM_SOFTFP inside compileoptions.cmake (#5630)
Jonghyun Park [Thu, 9 Jun 2016 09:30:52 +0000 (18:30 +0900)]
Add -DARM_SOFTFP inside compileoptions.cmake (#5630)

Currently, '-DARM_SOFTFP' is added inside jit/CMakeList.txt and
vm/CMakeLists.txt, and thus the header definition might be inconsistent
across each componenet.

This inconsistency results in some strange behavior discussed in #5629.

This commit tries to enforce the consistent definition of '-DARM_SOFTFP'
for every component via definiing it inside compileoptions.cmake in order
to fix #5629.

8 years agoARM/Linux Regression Fix of Exception Handling (#5596)
MyungJoo Ham [Thu, 9 Jun 2016 08:40:18 +0000 (17:40 +0900)]
ARM/Linux Regression Fix of Exception Handling (#5596)

This fixes the regression caused by
594b424e1328135049cf0515bc5fc58b91f07e2a, which
intended to fix #5358 while breaking many of
exception handling unit test cases.

The commit fixing #5358 was an incorrect translation
of x86 assembly code.

Fix #5595, #5358.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
8 years agoFix build break in JIT CTP build
Jan Kotas [Thu, 9 Jun 2016 08:25:16 +0000 (01:25 -0700)]
Fix build break in JIT CTP build

[tfs-changeset: 1611655]

8 years agoMerge pull request #5624 from schellap/win8-arm-master
Gaurav Khanna [Thu, 9 Jun 2016 04:02:03 +0000 (21:02 -0700)]
Merge pull request #5624 from schellap/win8-arm-master

[master][port] Add win8-arm package for CoreCLR

8 years agoMerge pull request #5589 from adityamandaleeka/sleep_return_type_confusion
Aditya Mandaleeka [Thu, 9 Jun 2016 02:25:32 +0000 (19:25 -0700)]
Merge pull request #5589 from adityamandaleeka/sleep_return_type_confusion

Fix confused uses of return value of InternalSleepEx.

8 years agoMerge pull request #3864 from mikedn/mdarray-init
Jan Kotas [Thu, 9 Jun 2016 02:06:58 +0000 (19:06 -0700)]
Merge pull request #3864 from mikedn/mdarray-init

Add support for multi-dimensional array initialization

8 years agoMerge pull request #5622 from parjong/fix/issue_5620
Brian Sullivan [Thu, 9 Jun 2016 02:06:42 +0000 (19:06 -0700)]
Merge pull request #5622 from parjong/fix/issue_5620

Allows the use of IsHFA only when FEATURE_HFA is enabled

8 years agoAdd win8-arm package for CoreCLR
Senthil [Thu, 9 Jun 2016 01:07:21 +0000 (18:07 -0700)]
Add win8-arm package for CoreCLR

8 years agoMerge pull request #5618 from rahku/CiFix
Rahul Kumar [Thu, 9 Jun 2016 01:02:41 +0000 (18:02 -0700)]
Merge pull request #5618 from rahku/CiFix

Renable disabled arm64 R2R tests

8 years agoMerge pull request #5607 from Maoni0/grow_card
Sergiy Kuryata [Thu, 9 Jun 2016 00:10:39 +0000 (17:10 -0700)]
Merge pull request #5607 from Maoni0/grow_card

need to account for server GC threads calling grow

8 years agoAllows the use of IsHFA only when FEATURE_HFA is enabled
Jonghyun Park [Wed, 8 Jun 2016 23:56:44 +0000 (08:56 +0900)]
Allows the use of IsHFA only when FEATURE_HFA is enabled

8 years agoFix problem with virtual memory commit in OOM scenario on Linux (#5609)
Jan Vorlicek [Wed, 8 Jun 2016 23:52:14 +0000 (01:52 +0200)]
Fix problem with virtual memory commit in OOM scenario on Linux (#5609)

A stress tests have uncovered a mysterious issue with virtual memory committing on
Linux. During some stress tests, all of a sudden, segments of GC heap got unmapped
or virtual allocator has reserved a block of memory twice.
It turned out that the issue was caused by a strange behavior of mmap in the OOM case.
When we commit a subrange of previously reserved memory (reservation uses mmap with
PROT_NONE, commit uses mmap with PROT_READ | PROT_WRITE) and the mmap fails due to
OOM, it ends up leaving the whole range that was supposed to be committed completely
unmapped. A later attempt to reserve virtual memory finds this block as a free one
and happily reserves a block in it. But our VM allocator is not aware of this issue.

The fix is to use another way to commit pages in a reserved range - using mprotect
to change their protection from the initial PROT_NONE to PROT_READ | PROT_WRITE.
This way doesn't have the problem. I've verified that it works on OSX too, so
I am switching to that way unconditionally.
Decommit still uses mmap so that we don't have to keep track of dirty pages and
so that the pages are really returned to the system in decommit.

8 years agoMerge pull request #5601 from Maoni0/av_fix_final
Sergiy Kuryata [Wed, 8 Jun 2016 23:39:00 +0000 (16:39 -0700)]
Merge pull request #5601 from Maoni0/av_fix_final

software ww fix

8 years agoRenable disabled arm64 R2R tests
Rahul Kumar [Wed, 8 Jun 2016 22:36:17 +0000 (15:36 -0700)]
Renable disabled arm64 R2R tests

8 years agoMerge pull request #5614 from adityamandaleeka/debian_84_badges
Aditya Mandaleeka [Wed, 8 Jun 2016 21:59:21 +0000 (14:59 -0700)]
Merge pull request #5614 from adityamandaleeka/debian_84_badges

Update Debian build status badges/links to 8.4

8 years agoUpdate Debian build status badges/links to 8.4.
Aditya Mandaleeka [Wed, 8 Jun 2016 21:49:27 +0000 (14:49 -0700)]
Update Debian build status badges/links to 8.4.

8 years agoFix error in RemoveDuplicateAssemblies task for perf (#5605)
Deepak Shankargouda [Wed, 8 Jun 2016 21:39:31 +0000 (14:39 -0700)]
Fix error in RemoveDuplicateAssemblies task for perf (#5605)

8 years agoReduce memory leak for issue #1379
Sasha Semennikov [Fri, 3 Jun 2016 17:45:48 +0000 (10:45 -0700)]
Reduce memory leak for issue #1379

Remove unused header

Use proper exception-handling macroses

Fix build issues

Squash commits

8 years agoMerge pull request #5586 from adityamandaleeka/osx_strip_debug
Aditya Mandaleeka [Wed, 8 Jun 2016 20:06:42 +0000 (13:06 -0700)]
Merge pull request #5586 from adityamandaleeka/osx_strip_debug

Strip debugging symbol table entries on OS X Release builds

8 years agoSwitch to CORINFO_HELP_NEW_MDARR_NONVARARG
Mike Danes [Wed, 8 Jun 2016 19:24:39 +0000 (22:24 +0300)]
Switch to CORINFO_HELP_NEW_MDARR_NONVARARG

8 years agoneed to account for server GC threads calling grow
Maoni0 [Wed, 8 Jun 2016 19:22:46 +0000 (12:22 -0700)]
need to account for server GC threads calling grow

8 years agoMerge pull request #5604 from rahku/CiFix
Kyungwoo Lee [Wed, 8 Jun 2016 18:39:03 +0000 (11:39 -0700)]
Merge pull request #5604 from rahku/CiFix

temporarily disable R2R tests for arm64

8 years agoAddress CR feedback
Mike Danes [Thu, 2 Jun 2016 04:38:46 +0000 (07:38 +0300)]
Address CR feedback

8 years agoMerge pull request #5495 from lemmaa/disable-nyi-features
Rahul Kumar [Wed, 8 Jun 2016 17:35:04 +0000 (10:35 -0700)]
Merge pull request #5495 from lemmaa/disable-nyi-features

[ARM64/Linux] Disable not yet implemented features.

8 years agoMerge pull request #5361 from wateret/fix-hfa-armsoftfp
Brian Sullivan [Wed, 8 Jun 2016 17:32:57 +0000 (10:32 -0700)]
Merge pull request #5361 from wateret/fix-hfa-armsoftfp

[ARM/Linux] Fix arm-softfp calling convention

8 years agotemporarily disable R2R tests for arm64
Rahul Kumar [Wed, 8 Jun 2016 17:16:51 +0000 (10:16 -0700)]
temporarily disable R2R tests for arm64

8 years agoAdd support for multi-dimensional array initialization
Mike Danes [Tue, 22 Mar 2016 21:14:38 +0000 (23:14 +0200)]
Add support for multi-dimensional array initialization

This extends impInitializeArrayIntrinsic to support MD arrays in addition to SD arrays. This includes support for SD arrays which are created via CORINFO_HELP_NEW_MDARR when the lower bound is not specified or known to be 0.

The generated code is similar to the code generated for the SD arrays, for example:
  call CORINFO_HELP_NEW_MDARR
  mov rdx, 0x202AB822050
  lea rcx, bword ptr [rax+32]
  vmovdqu ymm0, qword ptr [rdx]
  vmovdqu qword ptr [rcx], ymm0
  mov r8d, dword ptr [rdx+16]
  mov dword ptr [rcx+16], r8d

8 years agoMerge pull request #5426 from CarolEidt/IsOne
Carol Eidt [Wed, 8 Jun 2016 14:04:51 +0000 (07:04 -0700)]
Merge pull request #5426 from CarolEidt/IsOne

Add methods to check for integer constants one and minus one

8 years agoMerge pull request #5597 from dotnet-bot/from-tfs
Jan Kotas [Wed, 8 Jun 2016 07:26:47 +0000 (00:26 -0700)]
Merge pull request #5597 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoLinux/ARM: Revert -O1 to -O3 for Linux/ARM Release Build. (#5598)
Geunsik Lim [Wed, 8 Jun 2016 07:25:58 +0000 (16:25 +0900)]
Linux/ARM: Revert -O1 to -O3 for Linux/ARM Release Build. (#5598)

We have completed the bug fix of llvm in order to support thread-local
storage(TLS) via  __thread variable with -O3 optimization level of clang.
Let's enable the -O3 optimization level of clange for release build
on Linux/ARM.

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
8 years agoFixing perf runs on helix (#5102)
Deepak Shankargouda [Wed, 8 Jun 2016 06:28:13 +0000 (23:28 -0700)]
Fixing perf runs on helix (#5102)

* Fixing issue with perf targets restoring test runtime

* Fixing perf runs on helix

8 years agosoftware ww fix
Maoni0 [Wed, 8 Jun 2016 06:13:32 +0000 (23:13 -0700)]
software ww fix

8 years agoMerge pull request #5587 from dotnet-bot/from-tfs
Jan Kotas [Wed, 8 Jun 2016 05:27:15 +0000 (22:27 -0700)]
Merge pull request #5587 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoFix build issue http://buildstatus/Issues/Issues.aspx?iid=802303
Gaurav Khanna [Wed, 8 Jun 2016 04:57:56 +0000 (21:57 -0700)]
Fix build issue buildstatus/Issues/Issues.aspx?iid=802303

Ready2Run opt-out should be under #ifdef since closed Arm64 build does not compile with Ready2Run enabled.

[tfs-changeset: 1611275]

8 years agoMerge pull request #5581 from AndyAyersMS/InlineReplayNoForceInline
Andy Ayers [Wed, 8 Jun 2016 04:00:23 +0000 (21:00 -0700)]
Merge pull request #5581 from AndyAyersMS/InlineReplayNoForceInline

Inliner: allow replay log to override force inlines

8 years agoFix backwards compatibility bug: RC2 dbgshim debugging RTM runtime (#5593)
Mike McLaughlin [Wed, 8 Jun 2016 03:39:31 +0000 (20:39 -0700)]
Fix backwards compatibility bug: RC2 dbgshim debugging RTM runtime (#5593)

8 years agoMerge pull request #5543 from briansull/feature-x8-refbuf
Brian Sullivan [Wed, 8 Jun 2016 01:51:00 +0000 (18:51 -0700)]
Merge pull request #5543 from briansull/feature-x8-refbuf

ARM64: ABI - Support for using register x8 as the return buffer argument for structs

8 years agoMerge pull request #5547 from schellap/master
Senthil [Wed, 8 Jun 2016 01:50:43 +0000 (18:50 -0700)]
Merge pull request #5547 from schellap/master

Fix packaging attributes

8 years agoASP.NET 5 -> Core (#5591)
James Ko [Wed, 8 Jun 2016 01:41:28 +0000 (21:41 -0400)]
ASP.NET 5 -> Core (#5591)

8 years agoUpdates tryrun.cmake for ARM64 cross build (#5406)
Sung-Jae Lee [Wed, 8 Jun 2016 01:40:53 +0000 (10:40 +0900)]
Updates tryrun.cmake for ARM64 cross build (#5406)

8 years ago[ARM64/Linux] Disable not yet implemented features.
Sung-Jae Lee [Sat, 4 Jun 2016 16:19:56 +0000 (01:19 +0900)]
[ARM64/Linux] Disable not yet implemented features.

This patch temporary disables NYIs of SOS for ARM64 architecture.

8 years agoMethods to check for integer constants and zero
Carol Eidt [Thu, 2 Jun 2016 21:01:38 +0000 (14:01 -0700)]
Methods to check for integer constants and zero

These are primarily motivated by simplifying the RyuJIT tutorial,
but also make the existing code a bit cleaner.

8 years agoFix confused uses of return value of InternalSleepEx.
Aditya Mandaleeka [Tue, 7 Jun 2016 23:47:22 +0000 (16:47 -0700)]
Fix confused uses of return value of InternalSleepEx.

8 years agoMerge pull request #5534 from swgillespie/weak-reference-get-generation
Sean Gillespie [Tue, 7 Jun 2016 23:33:37 +0000 (16:33 -0700)]
Merge pull request #5534 from swgillespie/weak-reference-get-generation

Disable two tests that rely on an API not exposed on coreclr

8 years agoMark KeepAliveRecur as GCStressIncompatible
Jarret Shook [Tue, 7 Jun 2016 23:22:37 +0000 (16:22 -0700)]
Mark KeepAliveRecur as GCStressIncompatible

The test makes assumptions of what the lifetime of the object is
that may not be necessarily true in GCStress.

8 years agoMerge pull request #5573 from dotnet-bot/from-tfs
Matt Ellis [Tue, 7 Jun 2016 23:06:37 +0000 (16:06 -0700)]
Merge pull request #5573 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoStrip debugging symbol table entries on OS X Release builds.
Aditya Mandaleeka [Tue, 7 Jun 2016 23:01:32 +0000 (16:01 -0700)]
Strip debugging symbol table entries on OS X Release builds.

8 years agoMerge pull request #5577 from kyulee1/r2rci
Kyungwoo Lee [Tue, 7 Jun 2016 23:00:34 +0000 (16:00 -0700)]
Merge pull request #5577 from kyulee1/r2rci

ARM64: Support R2R Private Run in CI

8 years agoARM64: ABI - Support for using register x8 as the return buffer argument for structs
Brian Sullivan [Mon, 6 Jun 2016 23:25:26 +0000 (16:25 -0700)]
ARM64: ABI - Support for using register x8 as the return buffer argument for structs

This is feature complete and fixes #4949 but is being checked in disabled as it has dependencies
on some additional work in the VM #4950 (saving and restoring register x8 in thePrestub, etc..)

In target.h
Added defines on ARM64 for the additional argument register used to pass the return buffer
This is register x8 and when it used it is considered the 9th argiment with an arg num of 8 (zero based)
Added new method hasFixedRetBuffReg() that will return true on ARM64 (when this feature is fully enabled)
Added new method theFixedRetBuffReg() that returns register REG_R8 (x8) for ARM64
Added new method theFixedRetBuffArgNum that returns RET_BUFF_ARGNUM (8) for ARM64
Updated isValidIntArgReg to allow for a fixed return buff register

In codegencommon.cpp:
Increase the static size of regArgTab[] by one for the integer registers
This allows us to optionally support having a fixed return buffer registers
We now track the maximum index into regArgTab[] using argMax which is
either the old value of  regState->rsCalleeRegArgCount or thefixedRetBufArgNum()
Corrected the emitAttr size value for 64-bit targets to use EA_PTRSIZE instead of EA_4BYTE

In codegeninterface.cpp: (and other places)
Renamed rsCalleeRegNum to be rsCalleeRegArgCount to better reflect what it represents

In compiler.hpp
Updated genMapIntRegArgNumToRegNum and genMapIntRegNumToRegArgNum to handle
the fixed return buffer register for ARM64

In lclvars.cpp
Updated lvaInitRetBuffArg to handle the fixed return buffer register for ARM64

In morph.cpp
Updated fgMorphArgs to properly handle the fixed return buffer register for ARM64

In regalloc.cpp
Updated the assert check raUpdateRegStateForArg to allow for the fixed return buffer register for ARM64

Updated with changes from code review feedback

8 years agoARM64: Support R2R Private Run in CI
Kyungwoo Lee [Tue, 7 Jun 2016 21:21:52 +0000 (14:21 -0700)]
ARM64: Support R2R Private Run in CI

8 years agoMerge pull request #5574 from wtgodbe/debian
William Godbe [Tue, 7 Jun 2016 22:41:24 +0000 (15:41 -0700)]
Merge pull request #5574 from wtgodbe/debian

Update Debian 8.2 to 8.4 to match coreFX

8 years agoFix project and release notes URL to 1.1.0
Senthil [Tue, 7 Jun 2016 00:45:12 +0000 (17:45 -0700)]
Fix project and release notes URL to 1.1.0

8 years agoMerge pull request #5576 from ericstj/serviceable
Eric StJohn [Tue, 7 Jun 2016 22:15:40 +0000 (15:15 -0700)]
Merge pull request #5576 from ericstj/serviceable

[master] Update buildtools to add Serviceable to nupkgs

8 years agoInliner: allow replay log to override force inlines
Andy Ayers [Tue, 7 Jun 2016 22:09:16 +0000 (15:09 -0700)]
Inliner: allow replay log to override force inlines

ReplayPolicy only impacts discretionary inlines, so could not control
force inline candidates. This has lead to some confusion during inline
studies.

Since most cases of force inline are performance related, allow replay
to override and control these force inline candidates.

This might be useful down the road to study how likely it is that a force
inline directive is either unnecessary or perhaps even detremental to
performance.

8 years agoUpdate VS dependency details (#5578)
Gaurav Khanna [Tue, 7 Jun 2016 21:41:53 +0000 (14:41 -0700)]
Update VS dependency details (#5578)

8 years agoDisable two tests that rely on an API not exposed on coreclr
Sean Gillespie [Mon, 6 Jun 2016 22:20:20 +0000 (15:20 -0700)]
Disable two tests that rely on an API not exposed on coreclr

8 years agoUpdate buildtools to add Serviceable to nupkgs
Eric St. John [Tue, 7 Jun 2016 21:18:50 +0000 (14:18 -0700)]
Update buildtools to add Serviceable to nupkgs

8 years agoUpdate the way the type forwarders are build to make sure they are correctly included...
Alex Ghiondea [Tue, 7 Jun 2016 21:16:01 +0000 (14:16 -0700)]
Update the way the type forwarders are build to make sure they are correctly included in the build

[tfs-changeset: 1611158]

8 years agoUpdate Debian 8.2 to 8.4 to match coreFX
wtgodbe [Tue, 7 Jun 2016 21:07:19 +0000 (14:07 -0700)]
Update Debian 8.2 to 8.4 to match coreFX

8 years agoAdd back internal Array ctor
Jan Kotas [Tue, 7 Jun 2016 20:26:28 +0000 (13:26 -0700)]
Add back internal Array ctor

[tfs-changeset: 1611139]

8 years agoUpdate first-class-structs.md
Carol Eidt [Tue, 7 Jun 2016 20:26:18 +0000 (13:26 -0700)]
Update first-class-structs.md

Add a link to Issue #5556, and correct some formatting issues.

8 years agoMerge pull request #5525 from pgavlin/gh5484
Pat Gavlin [Tue, 7 Jun 2016 17:35:51 +0000 (17:35 +0000)]
Merge pull request #5525 from pgavlin/gh5484

Skip reloads and copies in `gcIsWriteBarrierCandidate`.

8 years agoMerge pull request #5554 from yizhang82/rtlzeromemory-fix
Gaurav Khanna [Tue, 7 Jun 2016 17:28:16 +0000 (10:28 -0700)]
Merge pull request #5554 from yizhang82/rtlzeromemory-fix

Use Ntdll!RtlZeroMemory instead of kernel32!RtlZeroMemory to support NanoServer

8 years agoMerge pull request #5533 from wtgodbe/groovyFXFix
William Godbe [Tue, 7 Jun 2016 17:23:05 +0000 (10:23 -0700)]
Merge pull request #5533 from wtgodbe/groovyFXFix

Copy linux builds from the right place

8 years agoMerge pull request #5480 from rahku/arm64EnableR2R
Rahul Kumar [Tue, 7 Jun 2016 16:59:09 +0000 (09:59 -0700)]
Merge pull request #5480 from rahku/arm64EnableR2R

ARM64: R2R - Implement CreateDictionaryLookupHelper stub

8 years agoFix for issue 3146: dotnet build is slower on Linux than Windows (#5524)
Fadi Hanna [Tue, 7 Jun 2016 16:32:01 +0000 (09:32 -0700)]
Fix for issue 3146: dotnet build is slower on Linux than Windows (#5524)

Fixing the loader logic on Unix to mimic the behavior on Windows,
in order to be able to successfully load and use R2R images on
Unix where the file extension does not have the ".ni." portion.

8 years agoUse cached empty arrays for "".ToCharArray (#5504)
James Ko [Tue, 7 Jun 2016 16:26:39 +0000 (12:26 -0400)]
Use cached empty arrays for "".ToCharArray (#5504)

8 years agoUpdate GC from CoreRT (#5522)
Jan Kotas [Tue, 7 Jun 2016 16:26:19 +0000 (09:26 -0700)]
Update GC from CoreRT (#5522)

https://github.com/dotnet/corert/tree/master/src/Native/gc 3bd148c2089a781458b99d787395377a25bd23d0

8 years agoDelegate ABI Test (#5507)
papaslavik [Tue, 7 Jun 2016 16:25:58 +0000 (19:25 +0300)]
Delegate ABI Test (#5507)

Detects issue #5275