platform/upstream/coreclr.git
7 years agoUpdate CoreClr, External to beta-24616-02, beta-24616-00, respectively
dotnet-bot [Sun, 16 Oct 2016 08:25:58 +0000 (08:25 +0000)]
Update CoreClr, External to beta-24616-02, beta-24616-00, respectively

7 years agoMerge pull request #7630 from dotnet-bot/master-UpdateDependencies
Stephen Toub [Sun, 16 Oct 2016 02:27:55 +0000 (22:27 -0400)]
Merge pull request #7630 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24616-01, beta-24615-03, respectively (master)

7 years agoMerge pull request #7632 from dotnet/revert-7213-revert-7123-WinArm32CI
Gaurav Khanna [Sun, 16 Oct 2016 01:52:00 +0000 (18:52 -0700)]
Merge pull request #7632 from dotnet/revert-7213-revert-7123-WinArm32CI

Re-Enable Win32Arm CI support

7 years agoUpdate CoreClr, CoreFx to beta-24616-01, beta-24615-03, respectively
dotnet-bot [Sun, 16 Oct 2016 00:21:39 +0000 (00:21 +0000)]
Update CoreClr, CoreFx to beta-24616-01, beta-24615-03, respectively

7 years agoMerge pull request #7637 from gkhanna79/FixArm32Build
Gaurav Khanna [Sun, 16 Oct 2016 00:14:21 +0000 (17:14 -0700)]
Merge pull request #7637 from gkhanna79/FixArm32Build

Few more fixes for WinArm32 CI build.

7 years agoFew more fixes for WinArm32 CI build.
Gaurav Khanna [Sat, 15 Oct 2016 21:06:23 +0000 (14:06 -0700)]
Few more fixes for WinArm32 CI build.

7 years agoString.SplitInternal: Remove unnecessary stackalloc (#7623)
Justin Van Patten [Sat, 15 Oct 2016 09:58:59 +0000 (02:58 -0700)]
String.SplitInternal: Remove unnecessary stackalloc (#7623)

Simply take the address of the `char` instead of stackallocating a
`char[1]`.

7 years agoMerge pull request #7633 from ramarag/master
Rama krishnan Raghupathy [Sat, 15 Oct 2016 06:52:15 +0000 (23:52 -0700)]
Merge pull request #7633 from ramarag/master

Exposing Gc.TryStartNoGCRegion

7 years agoMerge pull request #7631 from ramarag/Activator
Rama krishnan Raghupathy [Sat, 15 Oct 2016 05:19:39 +0000 (22:19 -0700)]
Merge pull request #7631 from ramarag/Activator

Throwing PlatformNotSupportedException for ActivationAttributes

7 years agoRevert "Revert "Enable Win32Arm CI support""
Gaurav Khanna [Sat, 15 Oct 2016 02:27:06 +0000 (19:27 -0700)]
Revert "Revert "Enable Win32Arm CI support""

7 years agoMerge pull request #7629 from gkhanna79/FixArmSdkDetection
Gaurav Khanna [Sat, 15 Oct 2016 02:25:38 +0000 (19:25 -0700)]
Merge pull request #7629 from gkhanna79/FixArmSdkDetection

Explicitly specify the Windows SDK version for CMake.

7 years agoExposing Gc.TryStartNoGCRegion
Rama Krishnan Raghupathy [Sat, 15 Oct 2016 02:15:10 +0000 (19:15 -0700)]
Exposing Gc.TryStartNoGCRegion

7 years agoMerge pull request #7622 from gkhanna79/SimplifyExtVer
Gaurav Khanna [Sat, 15 Oct 2016 02:09:58 +0000 (19:09 -0700)]
Merge pull request #7622 from gkhanna79/SimplifyExtVer

Simplify External Package Versioning.

7 years agoThrowing PlatformNotSupportedException for ActivationAttributes
Rama Krishnan Raghupathy [Sat, 15 Oct 2016 01:01:44 +0000 (18:01 -0700)]
Throwing PlatformNotSupportedException for ActivationAttributes

7 years agoAllows not to build LLDBPLUGIN (#7390)
Jonghyun Park [Sat, 15 Oct 2016 00:33:33 +0000 (09:33 +0900)]
Allows not to build LLDBPLUGIN (#7390)

7 years agoExplicitly specify the Windows SDK version for CMake.
Gaurav Khanna [Sat, 15 Oct 2016 00:03:00 +0000 (17:03 -0700)]
Explicitly specify the Windows SDK version for CMake.

7 years agoMerge pull request #7627 from dotnet-bot/from-tfs
Jan Kotas [Sat, 15 Oct 2016 00:02:25 +0000 (17:02 -0700)]
Merge pull request #7627 from dotnet-bot/from-tfs

Merge changes from TFS

7 years agoFix build breaks
Jan Kotas [Fri, 14 Oct 2016 21:44:50 +0000 (14:44 -0700)]
Fix build breaks

[tfs-changeset: 1633395]

7 years agoNullReferenceException APIs (#7338)
Sven Boemer [Fri, 14 Oct 2016 21:05:08 +0000 (14:05 -0700)]
NullReferenceException APIs (#7338)

* add typeID APIs
* add variable home API

7 years agoMerge pull request #7591 from vancem/ActivitiesForListeners.10-13-16
David Mason [Fri, 14 Oct 2016 19:49:45 +0000 (12:49 -0700)]
Merge pull request #7591 from vancem/ActivitiesForListeners.10-13-16

TFS Bug 274079: Activity Tracking does not work with EventListeners

7 years agoUpdate the header string in runtest.sh (#5785)
Jiyoung Giuliana Yun [Fri, 14 Oct 2016 19:02:09 +0000 (04:02 +0900)]
Update the header string in runtest.sh (#5785)

Replace 'bc' with the bash expr.
Add the countTotalTests numbers to headers depends on verbose option.

Fix #5677

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
7 years agoAdd RunBenchmarks.sh for unix-like systems (#6471)
Hanjoung Lee [Fri, 14 Oct 2016 19:00:50 +0000 (04:00 +0900)]
Add RunBenchmarks.sh for unix-like systems (#6471)

Usage is basically the same as RunBenchmarks.cmd.

7 years agoMerge pull request #4056 from svick/threadpoolglobals-readonly
Koundinya Veluri [Fri, 14 Oct 2016 18:55:02 +0000 (11:55 -0700)]
Merge pull request #4056 from svick/threadpoolglobals-readonly

Make fields in ThreadPool readonly/const where possible

7 years agoEnable RegionInfo netstandard 1.7 APIs (#7604)
Tarek Mahmoud Sayed [Fri, 14 Oct 2016 18:26:52 +0000 (11:26 -0700)]
Enable RegionInfo netstandard 1.7 APIs (#7604)

* Enable RegionInfo netstandard 1.7 APIs

* Fix the typo

* lowercase TRUE and FALSE

7 years agoMerge pull request #7580 from benaadams/flag-doesnot-return-early
Andy Ayers [Fri, 14 Oct 2016 18:06:36 +0000 (11:06 -0700)]
Merge pull request #7580 from benaadams/flag-doesnot-return-early

Flag does_not_return early

7 years agoMerge pull request #7620 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Fri, 14 Oct 2016 18:01:29 +0000 (11:01 -0700)]
Merge pull request #7620 from dotnet-bot/master-UpdateDependencies

Update CoreClr to beta-24614-03 (master)

7 years agoFix stable version for external dependency
Gaurav Khanna [Fri, 14 Oct 2016 17:59:54 +0000 (10:59 -0700)]
Fix stable version for external dependency

7 years agoSimplify External Dependency versioning
Gaurav Khanna [Fri, 14 Oct 2016 17:56:09 +0000 (10:56 -0700)]
Simplify External Dependency versioning

7 years agoChange warning to error for test asset framework issues. (#6535)
Davis Goodin [Fri, 14 Oct 2016 16:58:54 +0000 (11:58 -0500)]
Change warning to error for test asset framework issues. (#6535)

7 years agoUpdate CoreClr to beta-24614-03
dotnet-bot [Fri, 14 Oct 2016 16:19:55 +0000 (16:19 +0000)]
Update CoreClr to beta-24614-03

7 years agoRemove DEBUGGING_SUPPORT #ifdef (#7611)
Bruce Forstall [Fri, 14 Oct 2016 15:55:25 +0000 (08:55 -0700)]
Remove DEBUGGING_SUPPORT #ifdef (#7611)

This is always on. It hadn't been turned off in a long, long
time, if ever, and we don't expect to ever turn it off.

7 years agoUpdate CoreClr, CoreFx, External to beta-24614-02, beta-24614-01, beta-24614-00,...
dotnet bot [Fri, 14 Oct 2016 15:55:03 +0000 (08:55 -0700)]
Update CoreClr, CoreFx, External to beta-24614-02, beta-24614-01, beta-24614-00, respectively (#7615)

7 years agoMerge pull request #7616 from dotnet-bot/from-tfs
Jan Kotas [Fri, 14 Oct 2016 15:54:15 +0000 (08:54 -0700)]
Merge pull request #7616 from dotnet-bot/from-tfs

Merge changes from TFS

7 years agoSpinLock.TryEnter fail fast for timeout 0 (#6952)
Ben Adams [Fri, 14 Oct 2016 14:19:41 +0000 (15:19 +0100)]
SpinLock.TryEnter fail fast for timeout 0 (#6952)

* SpinLock.TryEnter fail fast for timeout 0 (2)

* Don't over check SpinLock timeout

When 1ms unlikely to have passed

7 years agoClarify code with unobvious precedence (#1624)
Dmitry-Me [Fri, 14 Oct 2016 14:02:00 +0000 (17:02 +0300)]
Clarify code with unobvious precedence (#1624)

7 years agoI had unintentionally excluded RuntimeThread.cs when FeatureCoreClr is false. Since...
Koundinya Veluri [Fri, 14 Oct 2016 05:18:23 +0000 (22:18 -0700)]
I had unintentionally excluded RuntimeThread.cs when FeatureCoreClr is false. Since parts of Thread.cs were refactored into RuntimeThread, including RuntimeThread.cs always.

[tfs-changeset: 1633304]

7 years agoMerge pull request #7605 from sandreenko/core_rt_1982
sandreenko [Fri, 14 Oct 2016 03:54:57 +0000 (20:54 -0700)]
Merge pull request #7605 from sandreenko/core_rt_1982

Lower helper call inside PInvoke

7 years agoMerge pull request #7603 from pgavlin/FixInteropTest
Pat Gavlin [Thu, 13 Oct 2016 23:59:33 +0000 (16:59 -0700)]
Merge pull request #7603 from pgavlin/FixInteropTest

Fix a calling convention in SimpleStructNative.

7 years agoEnable DoStackSnapshot API on ARM to walk the current thread (#6933)
kvochko [Thu, 13 Oct 2016 22:17:08 +0000 (01:17 +0300)]
Enable DoStackSnapshot API on ARM to walk the current thread (#6933)

7 years agoLower helper call inside PInvoke
Sergey Andreenko [Thu, 13 Oct 2016 22:08:25 +0000 (15:08 -0700)]
Lower helper call inside PInvoke

Lowering can create a helper call. The helper call is inserted to the
part of the block, that was lowered. So the helper call should be
lowered independently.

7 years agoMerge pull request #2192 from dasMulli/random-seeding-improvements
Peter Marcu [Thu, 13 Oct 2016 21:55:50 +0000 (14:55 -0700)]
Merge pull request #2192 from dasMulli/random-seeding-improvements

System.Random: Parameterless constructor seeding improvement #1919

7 years agoMerge pull request #7602 from smile21prc/coreclr-perf
smile21prc [Thu, 13 Oct 2016 20:38:36 +0000 (13:38 -0700)]
Merge pull request #7602 from smile21prc/coreclr-perf

Make coreclr Windows perf run versionless on benchview binaries

7 years agoAdded Docs for Using Visual Studio to Edit and Debug in CoreCLR Repo (#7582)
Vance Morrison [Thu, 13 Oct 2016 20:10:12 +0000 (13:10 -0700)]
Added Docs for Using Visual Studio to Edit and Debug in CoreCLR Repo (#7582)

7 years agoMerge pull request #7600 from jkotas/master-UpdateDependencies
Jan Kotas [Thu, 13 Oct 2016 20:09:00 +0000 (13:09 -0700)]
Merge pull request #7600 from jkotas/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24612-03, beta-24612-04, respectively

7 years agoMerge pull request #7593 from pgavlin/DisableGCStressTest
Pat Gavlin [Thu, 13 Oct 2016 19:38:43 +0000 (12:38 -0700)]
Merge pull request #7593 from pgavlin/DisableGCStressTest

Disable a test that is not compatible with GC stress.

7 years agoFix a calling convention in SimpleStructNative.
Pat Gavlin [Thu, 13 Oct 2016 19:35:48 +0000 (12:35 -0700)]
Fix a calling convention in SimpleStructNative.

The managed code expects `GetFptr` to have the `stdcall` calling
convention. Because of the mismatch, the JIT-generated code was not
cleaning up the stack after P/Invoking to this function on x86, which
was causing a failure during GC stress.

7 years agoMake coreclr Windows perf run versionless on benchview so they won't be broken by...
Smile Wei [Thu, 13 Oct 2016 18:59:21 +0000 (11:59 -0700)]
Make coreclr Windows perf run versionless on benchview so they won't be broken by benchview updates.

7 years agoUpdate tests to netcoreapp1.1
Jan Kotas [Thu, 13 Oct 2016 08:11:47 +0000 (01:11 -0700)]
Update tests to netcoreapp1.1

7 years agoDisable a test that is not compatible with GC stress.
Pat Gavlin [Wed, 12 Oct 2016 22:13:52 +0000 (15:13 -0700)]
Disable a test that is not compatible with GC stress.

This test fails under GCStress=0xC for all of RyuJIT/x86, legacy backend
x86, and JIT32.

7 years agoAddressed PR feedback.
dasMulli [Thu, 13 Oct 2016 06:19:52 +0000 (08:19 +0200)]
Addressed PR feedback.

7 years agoMove up DOES_NOT_RETURN more
Ben Adams [Thu, 13 Oct 2016 00:04:11 +0000 (01:04 +0100)]
Move up DOES_NOT_RETURN more

7 years agoCommon List+Array Exceptions
Ben Adams [Wed, 12 Oct 2016 08:08:48 +0000 (09:08 +0100)]
Common List+Array Exceptions

7 years agoCommon CopyTo Exceptions
Ben Adams [Wed, 12 Oct 2016 07:51:55 +0000 (08:51 +0100)]
Common CopyTo Exceptions

7 years agoCommon Enumerator exceptions
Ben Adams [Wed, 12 Oct 2016 07:44:32 +0000 (08:44 +0100)]
Common Enumerator exceptions

7 years agoUse existing common exceptions
Ben Adams [Wed, 12 Oct 2016 07:30:30 +0000 (08:30 +0100)]
Use existing common exceptions

7 years agoMake ThrowHelper paths simple for DOES_NOT_RETURN
Ben Adams [Wed, 12 Oct 2016 06:04:39 +0000 (07:04 +0100)]
Make ThrowHelper paths simple for DOES_NOT_RETURN

7 years agoSet DOES_NOT_RETURN flag in fgFindJumpTargets
Ben Adams [Sun, 14 Aug 2016 07:52:22 +0000 (08:52 +0100)]
Set DOES_NOT_RETURN flag in fgFindJumpTargets

7 years agoCount BBJ_RETURN in fgMakeBasicBlocks
Ben Adams [Sun, 14 Aug 2016 02:04:24 +0000 (03:04 +0100)]
Count BBJ_RETURN in fgMakeBasicBlocks

7 years agoMerge pull request #7510 from kouvel/ApiThread
Koundinya Veluri [Thu, 13 Oct 2016 01:39:30 +0000 (18:39 -0700)]
Merge pull request #7510 from kouvel/ApiThread

Expose some members of the Thread class

7 years agoMerge pull request #7595 from dotnet-bot/from-tfs
Jan Kotas [Thu, 13 Oct 2016 00:55:53 +0000 (17:55 -0700)]
Merge pull request #7595 from dotnet-bot/from-tfs

Merge changes from TFS

7 years agoMerge pull request #7584 from sivarv/regressionTest
Sivarv [Wed, 12 Oct 2016 23:45:20 +0000 (16:45 -0700)]
Merge pull request #7584 from sivarv/regressionTest

Adding JIT regression test for the re-morph optimzation that transforms JIT_Stelem_Ref(a, null, i)  into a[i]=null.

7 years agoMerge pull request #7590 from smile21prc/coreclr-perf
smile21prc [Wed, 12 Oct 2016 23:23:04 +0000 (16:23 -0700)]
Merge pull request #7590 from smile21prc/coreclr-perf

Permanently fix benchview package version, and add code to produce perf-*-summary.xml on Linux

7 years agoMerge pull request #7563 from wateret/fix-7398
Carol Eidt [Wed, 12 Oct 2016 22:56:23 +0000 (15:56 -0700)]
Merge pull request #7563 from wateret/fix-7398

[ARM/Linux] Fix HFA unit test regression

7 years agoCleanup files excluded from CoreCLR build
Jan Kotas [Wed, 12 Oct 2016 22:26:51 +0000 (15:26 -0700)]
Cleanup files excluded from CoreCLR build

[tfs-changeset: 1633047]

7 years agoAddress feedback
Koundinya Veluri [Wed, 12 Oct 2016 22:06:42 +0000 (15:06 -0700)]
Address feedback

7 years agoMerge pull request #7585 from CarolEidt/Fix5699
Carol Eidt [Wed, 12 Oct 2016 22:05:51 +0000 (15:05 -0700)]
Merge pull request #7585 from CarolEidt/Fix5699

x86: adjust stack level at throw blocks

7 years agox86: adjust stack level at throw blocks
Carol Eidt [Wed, 12 Oct 2016 18:24:18 +0000 (11:24 -0700)]
x86: adjust stack level at throw blocks

When we don't have a frame pointer, we need to adjust the frame pointer before calling the throw helper.
I initially had some concern that we had some exposure from instruction reordering in the backend, but we don't do any reordering of the `GT_PUTARG_STK` nodes. I have added a note to sideeffects.h to call attention to the fact that we need to consider stack depth changes to be side effects, for future consideration should we start doing more general code motion.
For the more general issue, I have extracted the code from codegenlegacy.cpp that does the stack adjustment, and am now unconditionally calling it from both codegenlegacy.cpp and codegenxarch.cpp.

Fix #5699

7 years agoReturn false from IsMarshalByRefImpl/IsContextfulImpl when remoting is not supported...
Jan Kotas [Wed, 12 Oct 2016 21:39:43 +0000 (14:39 -0700)]
Return false from IsMarshalByRefImpl/IsContextfulImpl when remoting is not supported (#7583)

Remove references to types have been moved to corefx in the build
Consolidate FEATURE_CORECLR ifdefs

7 years agoFail fast on a couple flaky tests to get crash dumps (#7588)
Sean Gillespie [Wed, 12 Oct 2016 21:38:37 +0000 (14:38 -0700)]
Fail fast on a couple flaky tests to get crash dumps (#7588)

7 years agoFix a tailcall test that fails with Ready-to-Run (#7586)
John Chen [Wed, 12 Oct 2016 21:02:45 +0000 (14:02 -0700)]
Fix a tailcall test that fails with Ready-to-Run (#7586)

The test case JIT/opt/Tailcall/TailcallVerifyWithPrefix has some methods that
depend on the JIT compiler doing automatic tail call. Since tail is not
supported with Ready-to-Run, the test case is modified to exclude such methods
from Ready-to-Run images.

7 years agoPort NullStream.CopyTo override from corert (#7589)
James Ko [Wed, 12 Oct 2016 21:02:21 +0000 (17:02 -0400)]
Port NullStream.CopyTo override from corert (#7589)

7 years agoUpdate CoreClr, CoreFx to beta-24612-03, beta-24612-04, respectively
dotnet-bot [Wed, 12 Oct 2016 20:30:02 +0000 (20:30 +0000)]
Update CoreClr, CoreFx to beta-24612-03, beta-24612-04, respectively

7 years agoMerge pull request #7557 from sandreenko/long_decomp_6925
sandreenko [Wed, 12 Oct 2016 20:16:55 +0000 (13:16 -0700)]
Merge pull request #7557 from sandreenko/long_decomp_6925

Use the existing operands for long decomposition #6925

7 years agoTFS Bug 274079: Activity Tracking does not work with EventListeners
Vance Morrison [Wed, 12 Oct 2016 18:34:52 +0000 (11:34 -0700)]
TFS Bug 274079: Activity Tracking does not work with EventListeners

Basically the automatic creation of activity IDs on start events and the flow of these IDs happened to only be enabled
when ETW subscribes to the events.

This change allows it also to work when EventListener's subscribe.

7 years agoRun VS formatting (no semantic change) (#7587)
Vance Morrison [Wed, 12 Oct 2016 19:37:12 +0000 (12:37 -0700)]
Run VS formatting (no semantic change) (#7587)

7 years agoDebugging
Smile Wei [Wed, 28 Sep 2016 18:49:59 +0000 (11:49 -0700)]
Debugging

7 years agoMove StreamHelpers from corefx and refactor Stream and MemoryStream to use it (#7579)
James Ko [Wed, 12 Oct 2016 19:07:37 +0000 (15:07 -0400)]
Move StreamHelpers from corefx and refactor Stream and MemoryStream to use it (#7579)

7 years agoExpose members of Thread that hide base class members
Koundinya Veluri [Tue, 11 Oct 2016 22:31:12 +0000 (15:31 -0700)]
Expose members of Thread that hide base class members

7 years agoFix build issue
Koundinya Veluri [Tue, 11 Oct 2016 04:10:31 +0000 (21:10 -0700)]
Fix build issue

7 years agoFix build issue
Koundinya Veluri [Mon, 10 Oct 2016 21:02:46 +0000 (14:02 -0700)]
Fix build issue

7 years agoAddress feedback
Koundinya Veluri [Sat, 8 Oct 2016 21:35:02 +0000 (14:35 -0700)]
Address feedback

7 years agoExpose some members of the Thread class
Koundinya Veluri [Tue, 27 Sep 2016 20:14:24 +0000 (13:14 -0700)]
Expose some members of the Thread class

- Added RuntimeThread class that Thread derives from. An instance of RuntimeThread will be used by the Thread class in CoreFX to forward thread functionality to the runtime.
- Some functionality in the RuntimeThread could potentially be moved to CoreFX. In particular, some of thread creation and apartment state handling could probably be moved with some minimal help from the runtime. Leaving that refactoring for later.
- A few things are left unimplemented (for instance, apartment state handling doesn't work currently). That functionality will be enabled in a future change.

Part of dotnet/corefx#11632, dotnet/corefx#11638, dotnet/corefx#11635

7 years agoUnnecessary temp loc vars were deleted in DecomposeLong.
Sergey Andreenko [Fri, 7 Oct 2016 21:19:15 +0000 (14:19 -0700)]
Unnecessary temp loc vars were deleted in DecomposeLong.

Delete temp local variables from DecomposeNeg, DecomposeShift.
Remain local variables have several uses(DecomposeShift) or are call
arguments. Such variables can't be deleted.

7 years agoAdding JIT regression test for a re-morph optimization.
sivarv [Wed, 12 Oct 2016 17:49:03 +0000 (10:49 -0700)]
Adding JIT regression test for a re-morph optimization.

7 years agoProvide KeyValuePair.Create static factory method (#5755)
Daniel Cazzulino [Wed, 12 Oct 2016 17:37:46 +0000 (19:37 +0200)]
Provide KeyValuePair.Create static factory method (#5755)

Just like Tuple.Create cuts down the noise and annoyance
of having to specify all the Ts when you already have typed
values to provide, a similarly designed KeyValuePair.Create
factory method would make code that creates those pairs
(i.e. public APIs that expose IEnumerable{KeyValuePair}
significantly more concise and readable.

Fixes dotnet/corefx#2127

7 years agoMerge pull request #7576 from sandreenko/check_ready_to_run_for_protojit
sandreenko [Wed, 12 Oct 2016 17:35:29 +0000 (10:35 -0700)]
Merge pull request #7576 from sandreenko/check_ready_to_run_for_protojit

set ready to run flag for protojit

7 years agoExposing MarshalByRefObject (#7558)
Rama krishnan Raghupathy [Wed, 12 Oct 2016 17:34:09 +0000 (10:34 -0700)]
Exposing MarshalByRefObject (#7558)

7 years agoMerge pull request #7575 from sivarv/lsraStat
Sivarv [Wed, 12 Oct 2016 17:21:32 +0000 (10:21 -0700)]
Merge pull request #7575 from sivarv/lsraStat

Dump LSRA stats.

7 years agoEnable TextInfo APIs for netstandard 1.7 on Linux (#7568)
Tarek Mahmoud Sayed [Wed, 12 Oct 2016 16:29:55 +0000 (09:29 -0700)]
Enable TextInfo APIs for netstandard 1.7 on Linux (#7568)

* Enable TextInfo APIs for netstandard 1.7 on Linux

The change here is to enable the newly added netstandard 1.7 TextInfo APIs on Linux.

- moved the locale specific data to its own file Locale.Unic.cs
- added needed data to handle the TextInfo properties (e.g. codepages)
- created some helper methods in LocaleData classto handle accessing the locale data
- added the implementation for added APIs

* Fix some typos

7 years agoMerge pull request #7561 from BruceForstall/Fix7483
Bruce Forstall [Wed, 12 Oct 2016 15:15:25 +0000 (08:15 -0700)]
Merge pull request #7561 from BruceForstall/Fix7483

Fix assertion regarding byteable reg when ngen'ing desktop mscorlib

7 years agoFix assertion regarding byteable xor reg,reg when ngen'ing desktop mscorlib
Bruce Forstall [Tue, 11 Oct 2016 01:10:16 +0000 (18:10 -0700)]
Fix assertion regarding byteable xor reg,reg when ngen'ing desktop mscorlib

Fixes #7483

The issue is that TreeNodeInfoInitCmp() will, under certain circumstances,
perform a tree transformation of a child node into a TYP_UBYTE type. Since
the TreeNodeInfo walk is bottom-up, its children have already been processed,
and they don't get the "byteable" register processing that is as the end of
TreeNodeInfoInit().

I extracted that processing into a TreeNodeInfoInitCheckByteable() function that
can be called after the TreeNodeInfoInitCmp() transformation.

A better solution might be to extract this, and other, tree transformations into
the prior "lowering" pass, such that TreeNodeInfoInit() and friends will only
do register requirement annotation. But that would be considerably more complicated,
so I opted not to do that for now.

I also fixed up a bunch of comments.

7 years agoFix conflicting identity of System.IO.TextReader (#7578)
Jan Kotas [Wed, 12 Oct 2016 12:53:28 +0000 (05:53 -0700)]
Fix conflicting identity of System.IO.TextReader (#7578)

System.IO build was switched to use CoreFX copy of System.IO.TextReader and friends. These type have to be removed from CoreLib now to avoid type identity mismatches.

7 years agoset ready to run flag for protojit
Sergey Andreenko [Wed, 12 Oct 2016 01:16:34 +0000 (18:16 -0700)]
set ready to run flag for protojit

7 years agoDump LSRA stats.
sivarv [Tue, 11 Oct 2016 23:20:39 +0000 (16:20 -0700)]
Dump LSRA stats.

7 years agoMerge pull request #7571 from pgavlin/MkRefAnyFieldTypeX86
Pat Gavlin [Tue, 11 Oct 2016 23:41:21 +0000 (16:41 -0700)]
Merge pull request #7571 from pgavlin/MkRefAnyFieldTypeX86

Fix the type of the data field of a typed ref on x86.

7 years agoMerge pull request #7574 from DrewScoggins/runtestfix
Rahul Kumar [Tue, 11 Oct 2016 23:05:04 +0000 (16:05 -0700)]
Merge pull request #7574 from DrewScoggins/runtestfix

Fix runtest.cmd return code

7 years agoFix runtest.cmd return code
Drew Scoggins [Tue, 11 Oct 2016 22:51:49 +0000 (15:51 -0700)]
Fix runtest.cmd return code

When running the GenerateLayoutOnly command of runtest.cmd the script
should return zero instead of one.

7 years agoFix the type of the data field of a typed ref on x86.
Pat Gavlin [Tue, 11 Oct 2016 22:05:03 +0000 (15:05 -0700)]
Fix the type of the data field of a typed ref on x86.

This field should be of type byref; not treating it as such causes GC
holes when passing typed references.

7 years agoMerge pull request #7310 from wateret/for-7002-2
Carol Eidt [Tue, 11 Oct 2016 20:55:33 +0000 (13:55 -0700)]
Merge pull request #7310 from wateret/for-7002-2

[ARM] Generate direct call instructions for recursive calls

7 years agoMerge pull request #7565 from dotnet-bot/from-tfs
Pat Gavlin [Tue, 11 Oct 2016 20:28:43 +0000 (13:28 -0700)]
Merge pull request #7565 from dotnet-bot/from-tfs

Merge changes from TFS