platform/upstream/coreclr.git
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 #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 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 #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 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 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

8 years agoMerge pull request #4006 from jashook/arm32_ci_pr
Jarret Shook [Thu, 31 Mar 2016 20:35:07 +0000 (13:35 -0700)]
Merge pull request #4006 from jashook/arm32_ci_pr

Add arm32 build per pr.

8 years agoUpgrade dotnet cli to 1.0.0-beta-002173.
Davis Goodin [Thu, 31 Mar 2016 19:55:46 +0000 (14:55 -0500)]
Upgrade dotnet cli to 1.0.0-beta-002173.

8 years agoMerge pull request #4024 from AlexGhiondea/mscorlibBuild
AlexGhiondea [Thu, 31 Mar 2016 19:48:06 +0000 (12:48 -0700)]
Merge pull request #4024 from AlexGhiondea/mscorlibBuild

Fix issues with building mscorlib inside VS

8 years agoMoving validation out of measured code
Natalia Glagoleva [Thu, 31 Mar 2016 19:14:44 +0000 (12:14 -0700)]
Moving validation out of measured code

8 years agoMerge pull request #3953 from LLITCHEV/Issue3604
Lubomir Litchev [Thu, 31 Mar 2016 18:52:33 +0000 (11:52 -0700)]
Merge pull request #3953 from LLITCHEV/Issue3604

Make sure 4 outgoing arg slots are generated for methods that call

8 years agoMerge pull request #4029 from pgavlin/Host64Bit
Pat Gavlin [Thu, 31 Mar 2016 18:26:16 +0000 (11:26 -0700)]
Merge pull request #4029 from pgavlin/Host64Bit

Replace uses of _WIN64 with _HOST_64BIT_.

8 years agoReplace uses of _WIN64 with _HOST_64BIT_.
Pat Gavlin [Thu, 31 Mar 2016 17:02:12 +0000 (10:02 -0700)]
Replace uses of _WIN64 with _HOST_64BIT_.

This terminology is more accurate. This change also corrects
a few bits of code that were making target-related decisions
based on the host's bitness.

8 years agoMerge pull request #3914 from cmckinsey/GitHub_3600
Chris McKinsey [Thu, 31 Mar 2016 17:57:03 +0000 (10:57 -0700)]
Merge pull request #3914 from cmckinsey/GitHub_3600

Fix for stack overflow in CFG/DOM analysis GH#3600

8 years agoMerge pull request #4030 from kyulee1/updateryujit
Kyungwoo Lee [Thu, 31 Mar 2016 17:52:16 +0000 (10:52 -0700)]
Merge pull request #4030 from kyulee1/updateryujit

Update RyuJit version

8 years agoUpdate RyuJit version
Kyungwoo Lee [Thu, 31 Mar 2016 17:51:04 +0000 (10:51 -0700)]
Update RyuJit version

8 years agoAdd arm32 build per pr.
jashook [Thu, 31 Mar 2016 17:24:44 +0000 (17:24 +0000)]
Add arm32 build per pr.

8 years agoMerge pull request #4018 from mikem8361/sosplugfix
Mike McLaughlin [Thu, 31 Mar 2016 16:56:46 +0000 (09:56 -0700)]
Merge pull request #4018 from mikem8361/sosplugfix

sos fails to load if binaries are copied to different location than built

8 years agoMerge pull request #4009 from pgavlin/EmitXarchClarify
Pat Gavlin [Thu, 31 Mar 2016 15:53:12 +0000 (08:53 -0700)]
Merge pull request #4009 from pgavlin/EmitXarchClarify

Clarify register aliasing in the X86 encoder.

8 years agoMerge pull request #4014 from dagood/upgrade-cli
Stephen Toub [Thu, 31 Mar 2016 13:26:08 +0000 (09:26 -0400)]
Merge pull request #4014 from dagood/upgrade-cli

Upgrade dotnet cli to take win7 fix

8 years agoMerge pull request #3967 from stephentoub/empty_memorystream
Stephen Toub [Thu, 31 Mar 2016 13:25:23 +0000 (09:25 -0400)]
Merge pull request #3967 from stephentoub/empty_memorystream

Avoid array allocation in "new MemoryStream()"

8 years agoFix tests/setup-runtime-dependencies.sh as per dotnet cli changes
Sejong OH [Thu, 31 Mar 2016 01:23:15 +0000 (18:23 -0700)]
Fix tests/setup-runtime-dependencies.sh as per dotnet cli changes

8 years agoMerge pull request #4021 from dotnet-bot/from-tfs
Jan Kotas [Thu, 31 Mar 2016 07:44:55 +0000 (00:44 -0700)]
Merge pull request #4021 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoWe should no longer need to use the '/test:moduleName=CommonLanguageRuntimeLibrary...
Alex Ghiondea [Thu, 31 Mar 2016 06:49:20 +0000 (23:49 -0700)]
We should no longer need to use the '/test:moduleName=CommonLanguageRuntimeLibrary' flag when building mscorlib.

8 years agoDo not use the 'Visible' metadata on the items in the ItemGroup 'MscorlibSources'
Alex Ghiondea [Thu, 31 Mar 2016 06:44:54 +0000 (23:44 -0700)]
Do not use the 'Visible' metadata on the items in the ItemGroup 'MscorlibSources'

We are going to import that itemgroup into the 'Compile' ItemGroup which will
make them show up in VS. Having the 'Visible' metadata on the items means we end
up with duplicated items in Solution Explorer.

8 years agoMerge pull request #4008 from leemgs/upstream-typo-build-mode
Jan Kotas [Thu, 31 Mar 2016 06:29:23 +0000 (23:29 -0700)]
Merge pull request #4008 from leemgs/upstream-typo-build-mode

Improve description of build type spelling for consistency

8 years agoMerge pull request #4020 from JohnChen0/master
Jan Kotas [Thu, 31 Mar 2016 06:28:38 +0000 (23:28 -0700)]
Merge pull request #4020 from JohnChen0/master

Fix CrossGen documentation error

8 years agoMerge pull request #3944 from leemgs/upstream-cross-arm-stripping-symbols
Jan Kotas [Thu, 31 Mar 2016 06:25:21 +0000 (23:25 -0700)]
Merge pull request #3944 from leemgs/upstream-cross-arm-stripping-symbols

[Linux/ARM32] objcopy: Support cross-build  for stripping symbols.

8 years agoMerge pull request #3989 from bbowyersmyth/StringEquals
Jan Kotas [Thu, 31 Mar 2016 06:24:29 +0000 (23:24 -0700)]
Merge pull request #3989 from bbowyersmyth/StringEquals

Port String.Equals from CoreRT

8 years agoMerge pull request #3981 from manu-silicon/context
Jan Kotas [Thu, 31 Mar 2016 06:22:44 +0000 (23:22 -0700)]
Merge pull request #3981 from manu-silicon/context

Fix RtlRestoreContext

8 years agoFix CrossGen documentation error
John Chen [Thu, 31 Mar 2016 05:35:03 +0000 (22:35 -0700)]
Fix CrossGen documentation error

8 years agoFix RtlRestoreContext
Manu [Wed, 30 Mar 2016 01:56:40 +0000 (10:56 +0900)]
Fix RtlRestoreContext

Due to macro expansion, the previous computed offsets to restore Lr and Pc
were incorrect, causing a memory corruption (see Issue #3856 for C# code
reproducing that problem).
Made assembly more obvious when just restoring Sp, Lr and Pc.

8 years agoMerge pull request #4016 from dotnet/revert-3960-check_runtime_to_pull_coredistools
Jan Kotas [Thu, 31 Mar 2016 04:31:02 +0000 (21:31 -0700)]
Merge pull request #4016 from dotnet/revert-3960-check_runtime_to_pull_coredistools

Revert "Add architeture information to a script downloading coredistools"

8 years agoFix R2R fixups for delegate ctors
Jan Kotas [Thu, 31 Mar 2016 03:49:26 +0000 (20:49 -0700)]
Fix R2R fixups for delegate ctors

- Add getReadyToRunDelegateHelper to JIT-EE interface. This method has an extra argument describing the type of the delegate. This argument is required to emit correct fixups.
- Call the new method in both JIT and JIT32
- Add the new method to superpmi
- Bump minor version of R2R file format
- Add regression test for #3975 to R2R unit test

Fixes https://github.com/dotnet/coreclr/issues/3975

[tfs-changeset: 1591698]

8 years agoMerge pull request #4017 from mikem8361/issue3987
Mike McLaughlin [Thu, 31 Mar 2016 03:34:15 +0000 (20:34 -0700)]
Merge pull request #4017 from mikem8361/issue3987

Fixed issue #3987 "Debugger fails to stop on entry due to stack walk failure"

8 years agoFixed issue #3987 "Debugger fails to stop on entry due to stack walk failure"
Mike McLaughlin [Thu, 31 Mar 2016 03:30:13 +0000 (20:30 -0700)]
Fixed issue #3987 "Debugger fails to stop on entry due to stack walk failure"

By initializing m_rgHijackFunction to NULL.

8 years agoAdd back explicitly loading mscordaccore so libsos will properly load when installed...
Mike McLaughlin [Wed, 30 Mar 2016 01:03:01 +0000 (18:03 -0700)]
Add back explicitly loading mscordaccore so libsos will properly load when installed at a different location than it was built.

8 years agoMerge pull request #3982 from mikem8361/readmemoryav2
Mike McLaughlin [Thu, 31 Mar 2016 03:24:31 +0000 (20:24 -0700)]
Merge pull request #3982 from mikem8361/readmemoryav2

Fix ReadMemory AV.