platform/upstream/coreclr.git
8 years agoMerge pull request #4061 from jamesqo/use-roslyn
Jan Kotas [Thu, 7 Apr 2016 04:27:30 +0000 (18:27 -1000)]
Merge pull request #4061 from jamesqo/use-roslyn

Remove UseRoslynCompiler variable from the build system

8 years agoMerge pull request #4136 from yizhang82/castable_fix
Yi Zhang (CLR) [Thu, 7 Apr 2016 04:01:45 +0000 (21:01 -0700)]
Merge pull request #4136 from yizhang82/castable_fix

Re-enable ICastable test now that it is passing on Mac

8 years agoMerge pull request #4099 from ramarag/gcstackwalk
Kyungwoo Lee [Thu, 7 Apr 2016 03:52:10 +0000 (20:52 -0700)]
Merge pull request #4099 from ramarag/gcstackwalk

[ARM64] Fixes Updating Registers for managed frames in GC stack walks

8 years agoMerge pull request #4137 from AndyAyersMS/RelModeILTests
Andy Ayers [Thu, 7 Apr 2016 02:50:29 +0000 (19:50 -0700)]
Merge pull request #4137 from AndyAyersMS/RelModeILTests

Set DebugType to PdbOnly for rel-mode IL tests

8 years agoMerge pull request #3874 from swaroop-sridhar/CDT
Swaroop Sridhar [Thu, 7 Apr 2016 02:48:37 +0000 (19:48 -0700)]
Merge pull request #3874 from swaroop-sridhar/CDT

Add CoreDisTools header

8 years agoSet DebugType to PdbOnly for rel-mode IL tests
Andy Ayers [Wed, 6 Apr 2016 22:33:20 +0000 (15:33 -0700)]
Set DebugType to PdbOnly for rel-mode IL tests

Ensures that execution of these tests always invokes the jit's optimizer,
regardless of the build configuration.

See issue #4124.

8 years agoFixes Updating Registers for managed frames in stack walks
Rama Krishnan Raghupathy [Wed, 6 Apr 2016 00:35:02 +0000 (17:35 -0700)]
Fixes Updating Registers for managed frames in stack walks

8 years agoRe-enable ICastable test now that it is passing on Mac
Yi Zhang (CLR) [Thu, 7 Apr 2016 00:12:21 +0000 (17:12 -0700)]
Re-enable ICastable test now that it is passing on Mac

8 years agoMerge pull request #4111 from kyulee1/customlauncher
Kyungwoo Lee [Wed, 6 Apr 2016 23:52:57 +0000 (16:52 -0700)]
Merge pull request #4111 from kyulee1/customlauncher

Restore CustomLauncher to Test Population

8 years agoMerge pull request #4119 from tarekgh/FixAsyncCurrentCulture
Tarek Mahmoud Sayed [Wed, 6 Apr 2016 23:24:35 +0000 (16:24 -0700)]
Merge pull request #4119 from tarekgh/FixAsyncCurrentCulture

 Make current culture travel with async operations on Linux

8 years agoMerge pull request #4086 from swgillespie/gc-env-vars
Sean Gillespie [Wed, 6 Apr 2016 22:04:28 +0000 (15:04 -0700)]
Merge pull request #4086 from swgillespie/gc-env-vars

Fix an issue where COREHOST_SERVER_GC and COREHOST_CONCURRENT_GC were…

8 years agoMerge pull request #4120 from joperezr/FixInternalBuild
Jose Perez Rodriguez [Wed, 6 Apr 2016 21:04:34 +0000 (14:04 -0700)]
Merge pull request #4120 from joperezr/FixInternalBuild

Fix Internal builds where ToolsDir doesn't exist

8 years agoFix Internal builds where ToolsDir doesn't exist
Jose Perez Rodriguez [Wed, 6 Apr 2016 21:01:41 +0000 (14:01 -0700)]
Fix Internal builds where ToolsDir doesn't exist

8 years agoMerge pull request #4110 from kyulee1/testupdate
Kyungwoo Lee [Wed, 6 Apr 2016 20:54:59 +0000 (13:54 -0700)]
Merge pull request #4110 from kyulee1/testupdate

ARM64: Test.lst update with the latest lab run

8 years agoMerge pull request #4117 from LLITCHEV/Issue4115
Lubomir Litchev [Wed, 6 Apr 2016 20:53:37 +0000 (13:53 -0700)]
Merge pull request #4117 from LLITCHEV/Issue4115

Fix for bad *nix optimization in CopyObj morphing.

8 years agoARM64: Test.lst update with the latest lab run
Kyungwoo Lee [Wed, 6 Apr 2016 16:23:31 +0000 (09:23 -0700)]
ARM64: Test.lst update with the latest lab run

Fixes https://github.com/dotnet/coreclr/issues/4028
Enabled a few more PASS tests as well based on the lab results.

8 years agoRestore CustomLauncher to Test Population
Kyungwoo Lee [Wed, 6 Apr 2016 16:43:40 +0000 (09:43 -0700)]
Restore CustomLauncher to Test Population

Fixes https://github.com/dotnet/coreclr/issues/4076.
Custom launcher is needed for CoreRT tests.

8 years agoMerge pull request #4078 from joperezr/AddVersioningInOpenBuilds
Jose Perez Rodriguez [Wed, 6 Apr 2016 20:45:33 +0000 (13:45 -0700)]
Merge pull request #4078 from joperezr/AddVersioningInOpenBuilds

Adding Common versioning to managed and Native components of coreclr

8 years agoMerge pull request #3929 from papaslavik/arm_softfp
Bruce Forstall [Wed, 6 Apr 2016 20:38:05 +0000 (13:38 -0700)]
Merge pull request #3929 from papaslavik/arm_softfp

Arm softfp For Issue #3785

8 years agoAdding Common versioning to managed and Native components of coreclr
Jose Perez Rodriguez [Mon, 4 Apr 2016 23:59:41 +0000 (16:59 -0700)]
Adding Common versioning to managed and Native components of coreclr

8 years agoFix Current Culture to make it travel in async operations
Tarek mahmoud Sayed [Wed, 6 Apr 2016 20:22:16 +0000 (13:22 -0700)]
Fix Current Culture to make it travel in async operations

In Windows code we'll already having the current culture travel in
the async operation. this feature was missing in Linux code.

8 years agoMerge pull request #4112 from steveharter/GlobalizationBufferO
Steve Harter [Wed, 6 Apr 2016 20:14:03 +0000 (15:14 -0500)]
Merge pull request #4112 from steveharter/GlobalizationBufferO

Avoid debug assert on buffer overflow when obtaining invalid locale

8 years agoEnable execution of Perflab perf tests
Deepak Shankargouda [Wed, 6 Apr 2016 20:10:50 +0000 (13:10 -0700)]
Enable execution of Perflab perf tests

Added additional dependencies to the project.json for perflab projects that should enable generation of an assemblylist with all the packages required to execute the tests on the end machine

8 years agoMerge pull request #3913 from wtgodbe/groovy
William Godbe [Wed, 6 Apr 2016 19:45:29 +0000 (12:45 -0700)]
Merge pull request #3913 from wtgodbe/groovy

Various changes to the CI

8 years agoVarious changes to the CI
wtgodbe [Thu, 24 Mar 2016 20:23:56 +0000 (13:23 -0700)]
Various changes to the CI

8 years agoFix for bad *nix optimization in CopyObj morphing.
Lubomir Litchev [Wed, 6 Apr 2016 18:26:11 +0000 (11:26 -0700)]
Fix for bad *nix optimization in CopyObj morphing.

A bad optimization for*nix was introduced some time ago which is
incorrectly setting the type of a temp var created for spilling.
This cahne removes this optimization and uses the same code used for all
other OSs.

8 years agoMerge pull request #4095 from BruceForstall/IgnoreBrowseVCdb2
Bruce Forstall [Wed, 6 Apr 2016 18:10:27 +0000 (11:10 -0700)]
Merge pull request #4095 from BruceForstall/IgnoreBrowseVCdb2

Ignore browse.VC.db files from C/C++ extension for Visual Studio Code

8 years agoAvoid assert on buffer overflow
Steve Harter [Wed, 6 Apr 2016 17:11:21 +0000 (12:11 -0500)]
Avoid assert on buffer overflow

8 years agoMerge pull request #4089 from tijoytom/master
tijoytom [Wed, 6 Apr 2016 16:28:23 +0000 (09:28 -0700)]
Merge pull request #4089 from tijoytom/master

Fixing tests for non-windows platform.

8 years agoMerge pull request #4057 from yizhang82/master
Yi Zhang (CLR) [Wed, 6 Apr 2016 02:05:49 +0000 (19:05 -0700)]
Merge pull request #4057 from yizhang82/master

Fix NativeCallable test issue and make it work x-plat

8 years agoMerge pull request #4092 from brianrob/function_symbols
Brian Robbins [Tue, 5 Apr 2016 22:35:52 +0000 (15:35 -0700)]
Merge pull request #4092 from brianrob/function_symbols

Leave Function Name Symbols in Release Binaries For Linux

8 years agoMerge pull request #4096 from kyulee1/xunit
Kyungwoo Lee [Tue, 5 Apr 2016 22:29:54 +0000 (15:29 -0700)]
Merge pull request #4096 from kyulee1/xunit

Test Results Report to ARM64

8 years agoTest Results Report to ARM64
Kyungwoo Lee [Tue, 5 Apr 2016 22:27:17 +0000 (15:27 -0700)]
Test Results Report to ARM64

8 years agoTell git to ignore browse.VC.db files from C/C++ extension for Visual Studio Code
Bruce Forstall [Tue, 5 Apr 2016 22:12:15 +0000 (15:12 -0700)]
Tell git to ignore browse.VC.db files from C/C++ extension for Visual Studio Code

8 years agoAdd CoreDisTools header
Swaroop Sridhar [Wed, 23 Mar 2016 00:17:58 +0000 (17:17 -0700)]
Add CoreDisTools header

CoreCLR uses the CoreDisTools library for utilities like GCStress
and SuperPMI. To aid these utilities, this change adds the
CoreDisTools header to CoreCLR repository.

This cleans up duplication of type/enum definitions in CoreDisTools
and CoreCLR sources, and provides for a cleaner way to use the
interface.

The understanding here is that CoreCLR defines the required
CoreDisTools interface, and will publish the header into the
cmake-install directory.

Any repository can pick up this header and supply implementations
for the imported functions. [Currently the only implementation
is the one that uses LLVM disassembler in the LLILC tree].

Two other changes:
1) Define TypeDefs for exported function types in cordistools.h
   to avoid duplicating the signature in importing code.
2) Move to the libcoredistools version 1.0.1, and use the new
   interface in disassembler.cpp

8 years agoLeave function name symbols in binaries when stripping out debug information.
Brian Robbins [Tue, 5 Apr 2016 20:18:45 +0000 (13:18 -0700)]
Leave function name symbols in binaries when stripping out debug information.

8 years agoMerge pull request #4019 from BruceForstall/Fix1977
Bruce Forstall [Tue, 5 Apr 2016 20:09:07 +0000 (13:09 -0700)]
Merge pull request #4019 from BruceForstall/Fix1977

Fix #1977: always create RBP chains on Unix

8 years agoMerge branch 'master' of https://github.com/dotnet/coreclr
Tijoy Tom Kalathiparambil [Tue, 5 Apr 2016 20:04:42 +0000 (13:04 -0700)]
Merge branch 'master' of https://github.com/dotnet/coreclr

8 years agoFixing test for non-windows platforms.
Tijoy Tom Kalathiparambil [Tue, 5 Apr 2016 19:58:58 +0000 (12:58 -0700)]
Fixing test for non-windows platforms.
Disable the failing scneario and file bug.

8 years agoFix an issue where COREHOST_SERVER_GC and COREHOST_CONCURRENT_GC were not respected...
Sean Gillespie [Tue, 5 Apr 2016 18:26:26 +0000 (11:26 -0700)]
Fix an issue where COREHOST_SERVER_GC and COREHOST_CONCURRENT_GC were not respected by corerun

8 years agoFix #1977: always create RBP chains on Unix
Bruce Forstall [Thu, 31 Mar 2016 04:43:57 +0000 (21:43 -0700)]
Fix #1977: always create RBP chains on Unix

The JIT will now always create RBP chains on Unix platforms. This includes in functions
the use localloc.

To do this, the VM is extended with a new Unix-only AMD64 unwind code: UWOP_SET_FPREG_LARGE.
The existing unwind code which is used to establish a frame pointer, UWOP_SET_FPREG, requires
that the frame pointer, when established, be no more than 240 bytes offset from the stack pointer.
This doesn't work well for frames that use localloc. (Large frames without localloc are ok,
because we don't report the frame pointer in the unwind info except for in functions with
localloc or EnC.)

The new unwind code has a 32-bit range. If used, UNWIND_INFO.FrameRegister
must be set to the frame pointer register, and UNWIND_INFO.FrameOffset must be set to 15
(its maximum value). This code is followed by two UNWIND_CODEs that are combined to form
its 32-bit offset. The high 4 bits must be zero. This offset is then scaled by 16. This
result is used as the FP register offset from SP at the time the frame pointer is established.

8 years agoMerge pull request #4000 from rahku/issue2963
Rahul Kumar [Tue, 5 Apr 2016 17:30:12 +0000 (10:30 -0700)]
Merge pull request #4000 from rahku/issue2963

Fix issue 2963

8 years agoFix issue 2963
Rahul Kumar [Wed, 30 Mar 2016 18:16:53 +0000 (11:16 -0700)]
Fix issue 2963

8 years agoMerge pull request #4079 from dotnet-bot/from-tfs
Jan Kotas [Tue, 5 Apr 2016 17:19:26 +0000 (07:19 -1000)]
Merge pull request #4079 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoMerge pull request #4084 from leemgs/upstream-awk-ver-handling-simple-way
Jan Kotas [Tue, 5 Apr 2016 17:18:43 +0000 (07:18 -1000)]
Merge pull request #4084 from leemgs/upstream-awk-ver-handling-simple-way

Handle 'mscorwks_unixexports.src' with better regexp operator for compatibility

8 years agoMerge pull request #4077 from tijoytom/master
tijoytom [Tue, 5 Apr 2016 16:29:41 +0000 (09:29 -0700)]
Merge pull request #4077 from tijoytom/master

Disabling the object as variant in struct marshalling scenario

8 years agoFor Issue #3785 Arm Soft FP support: arguments and return values are passed in intege...
Andrey Kvochko [Tue, 5 Apr 2016 15:10:02 +0000 (18:10 +0300)]
For Issue #3785 Arm Soft FP support: arguments and return values are passed in integer registers for arm-softfp architecture.

8 years agoHandle mscorwks_unixexports.src with better regexp operator for compatibility
Geunsik Lim [Mon, 4 Apr 2016 10:35:06 +0000 (19:35 +0900)]
Handle mscorwks_unixexports.src with better regexp operator for compatibility

ver3:
According to the gawk manual, The '\S' operator (as shorthand for '[^[:space:]]')
matches any character that is not whitespace. However, '[ \t]' is better than
'\S' for Mac OSX.
(source - https://www.gnu.org/software/gawk/manual/html_node/GNU-Regexp-Operators.html )

ver2:
With ver1, the build-break is caused by different awk versions (by @jkotas).
(Revert PR - https://github.com/dotnet/coreclr/pull/4005)
To resolve the limitation of the ver1, @janvorli proposed that the
\S expression is better than [:space:] for the most compatible solution.

There are a lot of different AWK software (e.g. awk, gawk, mawk, nawk, etc)
and versions among the popular Linux distributions. This patch is a simply
way to handle 'mscorwks_unixexports.src' file with \S operator for more
compatibility amon the different awk versions.

ver1:
It's must be modified by gawk implementation that check it exactly
as a plain character (e.g., space, alnum) within the bracket expression
at ./coreclr/generateversionscript.awk. The [[:space:]] is more appropriate than
the [:space:]]. (PR - https://github.com/dotnet/coreclr/pull/3943)

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
8 years agoAdd reference to CMakeLists.txt from NativeCallableTests.csproj correctly
Yi Zhang (CLR) [Tue, 5 Apr 2016 07:52:25 +0000 (00:52 -0700)]
Add reference to CMakeLists.txt from NativeCallableTests.csproj correctly
Also remove NativeCallable from testsUnsupportedOutsideWindows.txt

8 years agoMerge pull request #4081 from BruceForstall/FixLinuxJitHalt
Bruce Forstall [Tue, 5 Apr 2016 06:45:23 +0000 (23:45 -0700)]
Merge pull request #4081 from BruceForstall/FixLinuxJitHalt

Fix COMPlus_JitHalt on Unix by not calling _DbgBreakCheck()

8 years agoMerge pull request #4080 from adityamandaleeka/fix_cmake_mismatch
Jan Kotas [Tue, 5 Apr 2016 06:13:57 +0000 (20:13 -1000)]
Merge pull request #4080 from adityamandaleeka/fix_cmake_mismatch

Fix if/endif argument mismatch in CMake.

8 years agoFix NativeCallableTest to use custom DLL instead of EnumWindows Win32 API
Yi Zhang (CLR) [Sun, 3 Apr 2016 07:34:51 +0000 (00:34 -0700)]
Fix NativeCallableTest to use custom DLL instead of EnumWindows Win32 API

8 years agoMerge pull request #4069 from swgillespie/gc-test-fixups
Sean Gillespie [Tue, 5 Apr 2016 03:02:33 +0000 (20:02 -0700)]
Merge pull request #4069 from swgillespie/gc-test-fixups

Fix a number of tests that make invalid assumptions about object life…

8 years agoMerge pull request #4072 from briansull/safe-refactor
Brian Sullivan [Tue, 5 Apr 2016 02:03:01 +0000 (19:03 -0700)]
Merge pull request #4072 from briansull/safe-refactor

Safe refactoring changes and code cleanup items

8 years agoLet COMPlus_JitHalt work on Unix by not calling _DbgBreakCheck()
Bruce Forstall [Tue, 5 Apr 2016 01:33:58 +0000 (18:33 -0700)]
Let COMPlus_JitHalt work on Unix by not calling _DbgBreakCheck()

8 years agoSafe refactoring changes and code cleanup items
Brian Sullivan [Mon, 4 Apr 2016 22:26:38 +0000 (15:26 -0700)]
Safe refactoring changes and code cleanup items

Fixed the dumper so that GT_LCL_VAR and GT_LCL_FLD use a common code path
and we now  display (last use) correctly
Moved the checking for invalid GT_LISTs with an op1 arg of a GT_LIST from gtNewArgList to the constructor
and called IsListForMultiRegArg in the new assert
Renamed IsListofLclFlds to IsListForMultiRegArgs and added ARM64 support
Modifed the dump to display the GTF_MORPHED flag using a '+'
Fix dumper's gtGetLateArgMsg to display each register for a multireg struct passed using a GT_LIST
Modified the NYI_<target> macros to include the target in their message
Fixed the gtCosts for GT_LIST, GT_OBJ, GT_MKREFANY and GT_BOX nodes
When we construct a new GT_LCL_FLD, initialize the gtFieldSeq to NotAField rather than nullptr
Fix comment header for getStructGcPtrsFromOp
Removed the define on ARM64 that changed the asserts(p) macro to notYetImplemented
In NewPutArg renamed the "fp" argument to be called "info" instead

8 years agoFix if/endif argument mismatch in CMake.
Aditya Mandaleeka [Tue, 5 Apr 2016 00:25:00 +0000 (17:25 -0700)]
Fix if/endif argument mismatch in CMake.

8 years agoPackage ibcmerge.exe and optimization data for FxCore inside a Nuget package
Alex Ghiondea [Tue, 5 Apr 2016 00:05:36 +0000 (17:05 -0700)]
Package ibcmerge.exe and optimization data for FxCore inside a Nuget package

[tfs-changeset: 1592767]

8 years agoDisabling the object as variant in struct marshalling
Tijoy Tom Kalathiparambil [Mon, 4 Apr 2016 23:48:39 +0000 (16:48 -0700)]
Disabling the object as variant in struct marshalling
since it fails outside of windows.

8 years agoFix a number of tests that make invalid assumptions about object lifetimes. Fixes...
Sean Gillespie [Mon, 4 Apr 2016 18:48:35 +0000 (11:48 -0700)]
Fix a number of tests that make invalid assumptions about object lifetimes. Fixes #3391

8 years agoMerge pull request #4071 from fadimounir/gentests
Fadi Hanna [Mon, 4 Apr 2016 23:24:52 +0000 (16:24 -0700)]
Merge pull request #4071 from fadimounir/gentests

Add generics constraint test

8 years agoAdd generics test
Fadi Hanna [Mon, 4 Apr 2016 22:10:44 +0000 (15:10 -0700)]
Add generics test

8 years agoMerge pull request #4042 from sivarv/refactor2
Sivarv [Mon, 4 Apr 2016 21:54:20 +0000 (14:54 -0700)]
Merge pull request #4042 from sivarv/refactor2

Refactor Unix structDesc of GenTreeCall node into MultiRegReturnTypeDesc

8 years agoMerge pull request #4065 from jashook/smarty_parser
Jarret Shook [Mon, 4 Apr 2016 21:54:02 +0000 (14:54 -0700)]
Merge pull request #4065 from jashook/smarty_parser

Add a smarty parser.

8 years agoMerge pull request #4058 from sejongoh/fix_call_setup_runtime_dep
Sejong Oh [Mon, 4 Apr 2016 18:57:00 +0000 (11:57 -0700)]
Merge pull request #4058 from sejongoh/fix_call_setup_runtime_dep

Update setup-runtime-dependencies.cmd to specify runtime explicitly

8 years agoRefactor Unix structDesc of GenTreeCall node into MultiRegReturnTypeDesc.
sivarv [Fri, 1 Apr 2016 00:48:55 +0000 (17:48 -0700)]
Refactor Unix structDesc of GenTreeCall node into MultiRegReturnTypeDesc.

8 years agoMerge pull request #4053 from RussKeldorph/test32
Russ Keldorph [Mon, 4 Apr 2016 18:01:06 +0000 (11:01 -0700)]
Merge pull request #4053 from RussKeldorph/test32

Fix some of the tests failing on x86

8 years agoMerge pull request #3958 from gkhanna79/FixR2RScripts
Gaurav Khanna [Mon, 4 Apr 2016 17:26:37 +0000 (10:26 -0700)]
Merge pull request #3958 from gkhanna79/FixR2RScripts

Fix to add error checks for crossgen compilation

8 years agoAdd a smarty parser.
jashook [Mon, 4 Apr 2016 16:35:27 +0000 (09:35 -0700)]
Add a smarty parser.

This can be used in the future by the arm64 ci to report output.

8 years agoFix to add error checks for crossgen compilation
Gaurav Khanna [Mon, 28 Mar 2016 17:54:20 +0000 (10:54 -0700)]
Fix to add error checks for crossgen compilation

8 years agoMerge pull request #4045 from LLITCHEV/Issue3601
Lubomir Litchev [Mon, 4 Apr 2016 06:49:49 +0000 (23:49 -0700)]
Merge pull request #4045 from LLITCHEV/Issue3601

Don't add nop padding for rejitting a funclet prolog.

8 years agoRemove UseRoslynCompiler variable from the build system
James Ko [Sun, 3 Apr 2016 22:12:27 +0000 (18:12 -0400)]
Remove UseRoslynCompiler variable from the build system

8 years agoMerge pull request #4060 from jkotas/remove-r2r-workaround
Jan Kotas [Sun, 3 Apr 2016 17:58:31 +0000 (10:58 -0700)]
Merge pull request #4060 from jkotas/remove-r2r-workaround

Remove ReadyToRun workaround

8 years agoUpdate setup-runtime-dependencies.cmd to specify runtime explicitly
Sejong Oh [Sun, 3 Apr 2016 13:27:55 +0000 (06:27 -0700)]
Update setup-runtime-dependencies.cmd to specify runtime explicitly

8 years agoRemove ReadyToRun workaround
Jan Kotas [Sun, 3 Apr 2016 15:23:59 +0000 (08:23 -0700)]
Remove ReadyToRun workaround

8 years agoMerge pull request #4051 from sejongoh/fix_singlinkgen_test
Sejong Oh [Sun, 3 Apr 2016 04:37:19 +0000 (21:37 -0700)]
Merge pull request #4051 from sejongoh/fix_singlinkgen_test

Fix singlinkgen test.

8 years agoFix some of the tests failing on x86
Russ Keldorph [Wed, 30 Mar 2016 18:15:25 +0000 (11:15 -0700)]
Fix some of the tests failing on x86

Some tests were ported exclusively for x64 but originally had non-x64
variants, so I'm just completing the porting of those for x86.  For
dblarray4, it is supposed to run with an env var set.  The way this is
done is pretty ugly ("precommands"), and if we require more of this, we
should add a better way to do it to the test harness.

Fixes 3972
Fixes part of 2877

8 years agoEnabling Helix perf test runs for CoreCLR
Deepak Shankargouda [Sat, 2 Apr 2016 03:52:45 +0000 (20:52 -0700)]
Enabling Helix perf test runs for CoreCLR

Enabling Helix perf test runs for CoreCLR

8 years agoMerge pull request #4052 from yizhang82/master
Yi Zhang (CLR) [Sat, 2 Apr 2016 03:38:51 +0000 (20:38 -0700)]
Merge pull request #4052 from yizhang82/master

Add mac ulimit -n 2048 workaround and more debug spew in CLI installation into init-tools.sh

8 years agoAdd mac ulimit -n 2048 workaround and more debug spew in CLI installation into init...
Yi Zhang (CLR) [Sat, 2 Apr 2016 02:52:43 +0000 (19:52 -0700)]
Add mac ulimit -n 2048 workaround and more debug spew in CLI installation into init-tools.sh

8 years agoFix singlinkgen test.
Sejong Oh [Fri, 1 Apr 2016 23:09:00 +0000 (16:09 -0700)]
Fix singlinkgen test.

If the address of SingLink is stored at stack, GC.Collect() cannot collect
the object since the address variable is still alive at stack.

8 years agoMerge pull request #4004 from sejongoh/use_corefx_outerloop_test
Sejong Oh [Fri, 1 Apr 2016 22:38:29 +0000 (15:38 -0700)]
Merge pull request #4004 from sejongoh/use_corefx_outerloop_test

Use corefx outerloop tests

8 years agoMerge pull request #4047 from kyulee1/fixclean
Kyungwoo Lee [Fri, 1 Apr 2016 19:44:33 +0000 (12:44 -0700)]
Merge pull request #4047 from kyulee1/fixclean

Fix clean build that deletes Tools

8 years agoDon't add nop padding for rejitting a funclet prolog.
Lubomir Litchev [Fri, 1 Apr 2016 06:15:21 +0000 (23:15 -0700)]
Don't add nop padding for rejitting a funclet prolog.

This is along standing issue in RyuJit. When ngenning the crossgen tool
passes CORJIT_FLG_PROF_REJIT_NOPS flag. The padding for rejitting should
be added only for the main function and not the funclets when compiling a
method. Trying to generate a rejit padding for a funclet in debug and
checked build results in a failing assertion.

Fixes issue 3601.

8 years agoFix clean build that deletes Tools
Kyungwoo Lee [Thu, 31 Mar 2016 17:59:43 +0000 (10:59 -0700)]
Fix clean build that deletes Tools

8 years agoMerge pull request #3961 from natgla/adams
Andy Ayers [Fri, 1 Apr 2016 15:54:10 +0000 (08:54 -0700)]
Merge pull request #3961 from natgla/adams

Changing adams benchmark

8 years agoMerge pull request #4038 from adityamandaleeka/extest
Kyungwoo Lee [Fri, 1 Apr 2016 14:59:41 +0000 (07:59 -0700)]
Merge pull request #4038 from adityamandaleeka/extest

Disable ForeignThreadExceptions test on ARM64

8 years agoMerge pull request #4031 from dagood/upgrade-cli
Jan Kotas [Fri, 1 Apr 2016 05:51:29 +0000 (22:51 -0700)]
Merge pull request #4031 from dagood/upgrade-cli

Upgrade dotnet cli to 1.0.0-beta-002173

8 years agoMerge pull request #4041 from erozenfeld/gtTreeHasSideEffectsFix
Eugene Rozenfeld [Fri, 1 Apr 2016 04:54:58 +0000 (21:54 -0700)]
Merge pull request #4041 from erozenfeld/gtTreeHasSideEffectsFix

Fix exponential explosion in gtTreeHasSideEffects.

8 years agoMerge pull request #4039 from manu-silicon/open_delegates
Jan Kotas [Fri, 1 Apr 2016 04:31:18 +0000 (21:31 -0700)]
Merge pull request #4039 from manu-silicon/open_delegates

Disable FEATURE_STUBS_AS_IL on ARM 32-bit

8 years agoMerge pull request #4034 from gkhanna79/PortFix
Gaurav Khanna [Fri, 1 Apr 2016 04:28:33 +0000 (21:28 -0700)]
Merge pull request #4034 from gkhanna79/PortFix

Port workaround for AOT packaging

8 years agoDisable FEATURE_STUBS_AS_IL on ARM 32-bit
Manu [Tue, 29 Mar 2016 00:56:39 +0000 (09:56 +0900)]
Disable FEATURE_STUBS_AS_IL on ARM 32-bit

This enables open delegates on ARM (an additional 43 tests are now passing)

8 years agoDisable ForeignThreadExceptions test on ARM64.
Aditya Mandaleeka [Fri, 1 Apr 2016 00:44:24 +0000 (17:44 -0700)]
Disable ForeignThreadExceptions test on ARM64.

8 years agoFix exponential explosion in gtTreeHasSideEffects.
Eugene Rozenfeld [Thu, 31 Mar 2016 22:35:34 +0000 (15:35 -0700)]
Fix exponential explosion in gtTreeHasSideEffects.

gtTreeHasSideEffects has special code to deal with helper calls.
If the helper satisfies certain properties and its arguments don't have relevant
side effects, than the tree corresponding to the helper call is considered not to have
side effects. The bug was that both gtTreeHasSideEffects and gtNodeHasSideEffects
(called by gtTreeHasSideEffects and calling gtTreeHasSideEffects) had code to check
the helper arguments for side effects. That made the algorithm exponential (2^n)
for a tree like the one below.
Because of that ngen would take days to compile the method with such trees.
The fix is to remove the argument checking code from gtTreeHasSideEffects since it always
calls gtNodeHasSideEffects. Compilation time goes back to milliseconds or seconds.

I ran full desktop testing and verified no SuperPMI diffs.

No measurable impact on cqNGenTP.

Fixes #3768.

N139 (255,169)              [000064] --CXG-------             *  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $179
N137 (255,163)              [000062] --CXG------- arg0 in rcx \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $177
N135 (255,157)              [000060] --CXG------- arg0 in rcx    \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $175
N133 (255,151)              [000058] --CXG------- arg0 in rcx       \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $173
N131 (255,145)              [000056] --CXG------- arg0 in rcx          \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $171
N129 (255,139)              [000054] --CXG------- arg0 in rcx             \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $16f
N127 (255,133)              [000052] --CXG------- arg0 in rcx                \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $16d
N125 (255,127)              [000050] --CXG------- arg0 in rcx                   \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $16b
N123 (255,121)              [000048] --CXG------- arg0 in rcx                      \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $169
N121 (255,115)              [000046] --CXG------- arg0 in rcx                         \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $167
N119 (253,109)              [000044] --CXG------- arg0 in rcx                            \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $165
N117 (239,103)              [000042] --CXG------- arg0 in rcx                               \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $163
N115 (225, 97)              [000040] --CXG------- arg0 in rcx                                  \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $161
N113 (211, 91)              [000038] --CXG------- arg0 in rcx                                     \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $15f
N111 (197, 85)              [000036] --CXG------- arg0 in rcx                                        \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $15d
N109 (183, 79)              [000034] --CXG------- arg0 in rcx                                           \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $15b
N107 (169, 73)              [000032] --CXG------- arg0 in rcx                                              \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $159
N105 (155, 67)              [000030] --CXG------- arg0 in rcx                                                 \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $157
N103 (141, 61)              [000028] --CXG------- arg0 in rcx                                                    \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $155
N101 (127, 55)              [000026] --CXG------- arg0 in rcx                                                       \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $153
N099 (113, 49)              [000024] --CXG------- arg0 in rcx                                                          \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $151
N097 ( 99, 43)              [000022] --CXG------- arg0 in rcx                                                             \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $14f
N095 ( 85, 37)              [000020] --CXG------- arg0 in rcx                                                                \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $14d
N093 ( 71, 31)              [000018] --CXG------- arg0 in rcx                                                                   \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $14b
N091 ( 57, 25)              [000016] --CXG------- arg0 in rcx                                                                      \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $149
N089 ( 43, 19)              [000014] --CXG------- arg0 in rcx                                                                         \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $147
N087 ( 29, 13)              [000012] --CXG------- arg0 in rcx                                                                            \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $145
N085 ( 15,  7)              [000010] --CXG------- arg0 in rcx                                                                               \--*  call help ref    HELPER.CORINFO_HELP_READYTORUN_CHKCAST $143
N083 (  1,  1)              [000008] ------------ arg0 in rcx                                                                                  \--*  lclVar    ref    V00 tmp0         u:2 (last use) $140

8 years agoMerge pull request #4035 from kyulee1/common
Kyungwoo Lee [Thu, 31 Mar 2016 21:57:01 +0000 (14:57 -0700)]
Merge pull request #4035 from kyulee1/common

Update build script for arm64

8 years agoUpdate build script for arm64
Kyungwoo Lee [Thu, 31 Mar 2016 21:51:52 +0000 (14:51 -0700)]
Update build script for arm64

8 years agoPort workaround for AOT packaging
Gaurav Khanna [Thu, 31 Mar 2016 21:51:26 +0000 (14:51 -0700)]
Port workaround for AOT packaging

8 years agoMerge pull request #4007 from adityamandaleeka/extest
Aditya Mandaleeka [Thu, 31 Mar 2016 21:29:35 +0000 (14:29 -0700)]
Merge pull request #4007 from adityamandaleeka/extest

Add test for exception handling on foreign threads.

8 years agoMerge pull request #3295 from chuck-mitchell/feature
Chuck Mitchell [Thu, 31 Mar 2016 20:51:52 +0000 (13:51 -0700)]
Merge pull request #3295 from chuck-mitchell/feature

Initial version of CoreCLR JIT Performance Harness

8 years agoMerge pull request #4015 from sejongoh/update_dotnet_cli_path
Sejong Oh [Thu, 31 Mar 2016 20:47:02 +0000 (13:47 -0700)]
Merge pull request #4015 from sejongoh/update_dotnet_cli_path

Fix tests/setup-runtime-dependencies.sh as per dotnet cli changes