platform/upstream/dotnet/runtime.git
8 years agoFix dotnet/coreclr#1977: always create RBP chains on Unix
Bruce Forstall [Thu, 31 Mar 2016 04:43:57 +0000 (21:43 -0700)]
Fix dotnet/coreclr#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.

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

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

Fix issue 2963

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

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

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

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

Merge changes from TFS

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

8 years agoMerge pull request dotnet/coreclr#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 dotnet/coreclr#4084 from leemgs/upstream-awk-ver-handling-simple-way

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

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

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

Disabling the object as variant in struct marshalling scenario

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

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>
Commit migrated from https://github.com/dotnet/coreclr/commit/6d7701c198590f8d727f038e1ba40b1e57c95ef6

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

Fix COMPlus_JitHalt on Unix by not calling _DbgBreakCheck()

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

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

Fix if/endif argument mismatch in CMake.

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

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

Fix a number of tests that make invalid assumptions about object lifeā€¦

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

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

Safe refactoring changes and code cleanup items

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

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()

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

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

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

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.

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

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]

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

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.

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

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 dotnet/coreclr#3391

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

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

Add generics constraint test

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

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

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

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

Refactor Unix structDesc of GenTreeCall node into MultiRegReturnTypeDesc

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

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

Add a smarty parser.

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

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

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

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

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.

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

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

Fix some of the tests failing on x86

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

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

Fix to add error checks for crossgen compilation

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

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.

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

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

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

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

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

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

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

Remove ReadyToRun workaround

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

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

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

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

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

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

Fix singlinkgen test.

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

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

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

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

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

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

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

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

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

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

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.

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

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

Use corefx outerloop tests

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

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

Fix clean build that deletes Tools

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

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.

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

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

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

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

Changing adams benchmark

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

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

Disable ForeignThreadExceptions test on ARM64

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

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

Upgrade dotnet cli to 1.0.0-beta-002173

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

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

Fix exponential explosion in gtTreeHasSideEffects.

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

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

Disable FEATURE_STUBS_AS_IL on ARM 32-bit

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

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

Port workaround for AOT packaging

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

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)

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

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.

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

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 dotnet/coreclr#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

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

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

Update build script for arm64

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

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

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

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

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

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

Add test for exception handling on foreign threads.

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

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

Initial version of CoreCLR JIT Performance Harness

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

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

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

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

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

Add arm32 build per pr.

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

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.

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

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

Fix issues with building mscorlib inside VS

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

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

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

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

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

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

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

Replace uses of _WIN64 with _HOST_64BIT_.

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

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.

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

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

Fix for stack overflow in CFG/DOM analysis GHdotnet/coreclr#3600

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

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

Update RyuJit version

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

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

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

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

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

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

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

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

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

Clarify register aliasing in the X86 encoder.

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

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

Upgrade dotnet cli to take win7 fix

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

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

Avoid array allocation in "new MemoryStream()"

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

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

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

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

Merge changes from TFS

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

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.

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

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.

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

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

Improve description of build type spelling for consistency

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

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

Fix CrossGen documentation error

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

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

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

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

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

Port String.Equals from CoreRT

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

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

Fix RtlRestoreContext

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

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

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

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 dotnet/coreclr#3856 for C# code
reproducing that problem).
Made assembly more obvious when just restoring Sp, Lr and Pc.

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

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

Revert "Add architeture information to a script downloading coredistools"

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

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 dotnet/coreclr#3975 to R2R unit test

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

[tfs-changeset: 1591698]

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

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

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

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

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

By initializing m_rgHijackFunction to NULL.

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

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.

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

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

Fix ReadMemory AV.

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

8 years agoRevert "Add architeture information to a script downloading coredistools"
Jan Kotas [Thu, 31 Mar 2016 03:20:42 +0000 (20:20 -0700)]
Revert "Add architeture information to a script downloading coredistools"

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

8 years agoMerge pull request dotnet/coreclr#4002 from kyulee1/fixcmd
Kyungwoo Lee [Thu, 31 Mar 2016 03:06:01 +0000 (20:06 -0700)]
Merge pull request dotnet/coreclr#4002 from kyulee1/fixcmd

ARM64: Running cmd instead of exe

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

8 years agoGetting SOS to work on ARm64:
Rama Krishnan Raghupathy [Thu, 31 Mar 2016 03:00:57 +0000 (20:00 -0700)]
Getting SOS to work on ARm64:

     This mainly involved DACizing the VM code.
      A bulk edit for changing RUNTIME_FUNCTION to T_RUNTIME_FUNCTION

[tfs-changeset: 1591667]

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

8 years agoARM64: Running cmd instead of exe
Kyungwoo Lee [Wed, 30 Mar 2016 22:02:21 +0000 (15:02 -0700)]
ARM64: Running cmd instead of exe

Our test framework (smarty) directly runs test executable on corerun.exe.
But some of tests expect arguments via environment variable specified in .cmd.
The fix is to change the test list file to run .cmd. So the expected pass
value is also updated to 0 instead of 100. Now we don't need to pass /host
that specifies corerun.exe.
3 additional tests are now passed:
 InterlockedAddLongWithSubtract/CompareExchangeTString/Polyrec

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

8 years agoChanges from code review
Natalia Glagoleva [Thu, 31 Mar 2016 01:57:19 +0000 (18:57 -0700)]
Changes from code review

Added verification to the benchmark,
put most of output under #if VERBOSE.
Also fixed number of iterations for xunit.perf runs.

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

8 years agoUpgrade dotnet cli to take win7 fix.
Davis Goodin [Wed, 30 Mar 2016 22:23:43 +0000 (17:23 -0500)]
Upgrade dotnet cli to take win7 fix.

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

8 years agoChange spelling of build type for consistenty
Geunsik Lim [Wed, 30 Mar 2016 22:47:42 +0000 (07:47 +0900)]
Change spelling of build type for consistenty

This is trivial patch.
Let's display a help manual with lower case for better consistency
when the developers run "./build.sh --help".

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/91aef995434cbe1646b2661cc4111ecfc1e6b487

8 years agoMove dllexport to platformdefines.h.
Aditya Mandaleeka [Thu, 31 Mar 2016 00:04:53 +0000 (17:04 -0700)]
Move dllexport to platformdefines.h.

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

8 years agoClarify register aliasing in the X86 encoder.
Pat Gavlin [Wed, 30 Mar 2016 22:34:51 +0000 (15:34 -0700)]
Clarify register aliasing in the X86 encoder.

Certain registers are aliased with control bits in the ModRM byte
of an X86 instruction. Encapsulate the checks that accommodate this
aliasing into a pair of functions.

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

8 years agoAdd test for exception handling on foreign threads.
Aditya Mandaleeka [Wed, 30 Mar 2016 03:11:55 +0000 (20:11 -0700)]
Add test for exception handling on foreign threads.

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

8 years agoMerge pull request dotnet/coreclr#4003 from briansull/update-tests-lst
Brian Sullivan [Wed, 30 Mar 2016 21:54:40 +0000 (14:54 -0700)]
Merge pull request dotnet/coreclr#4003 from briansull/update-tests-lst

Update with 10 additional passing tests, and two moved to unstable

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

8 years agoMerge pull request dotnet/coreclr#4005 from dotnet/revert-3943-upstream-gawk-char...
Jan Kotas [Wed, 30 Mar 2016 21:34:59 +0000 (14:34 -0700)]
Merge pull request dotnet/coreclr#4005 from dotnet/revert-3943-upstream-gawk-char-class

Revert "Fix bracket expression matches a character at gawk"

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