platform/upstream/dotnet/runtime.git
7 years agoMerge pull request dotnet/coreclr#9603 from danmosemsft/defines4
Dan Moseley [Thu, 16 Feb 2017 05:50:01 +0000 (21:50 -0800)]
Merge pull request dotnet/coreclr#9603 from danmosemsft/defines4

Remove more dead native defines

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

7 years agoUpdate testing-with-corefx.md
Dan Moseley [Thu, 16 Feb 2017 02:09:34 +0000 (18:09 -0800)]
Update testing-with-corefx.md

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

7 years agoMerge pull request dotnet/coreclr#9622 from AndyAyersMS/FixRetDesktopBreak
Andy Ayers [Thu, 16 Feb 2017 01:48:59 +0000 (17:48 -0800)]
Merge pull request dotnet/coreclr#9622 from AndyAyersMS/FixRetDesktopBreak

JIT: fix desktop build break

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

7 years agoMerge pull request dotnet/coreclr#9599 from dotnet-bot/master-UpdateDependencies
Dan Moseley [Wed, 15 Feb 2017 23:55:09 +0000 (15:55 -0800)]
Merge pull request dotnet/coreclr#9599 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-25015-04, beta-25015-02, respectively (master)

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

7 years agoOther props stragglers for never defined symbols
danmosemsft [Wed, 15 Feb 2017 23:52:17 +0000 (15:52 -0800)]
Other props stragglers for never defined symbols

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

7 years agoMore FEATURE_WIN_DB_APPCOMPAT
danmosemsft [Wed, 15 Feb 2017 23:44:09 +0000 (15:44 -0800)]
More FEATURE_WIN_DB_APPCOMPAT

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

7 years agoMore FEATURE_ISOSTORE
danmosemsft [Wed, 15 Feb 2017 23:41:02 +0000 (15:41 -0800)]
More FEATURE_ISOSTORE

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

7 years agoRemove never defined FEATURE_X509
danmosemsft [Wed, 15 Feb 2017 23:38:26 +0000 (15:38 -0800)]
Remove never defined FEATURE_X509

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

7 years agoRemove never defined FEATURE_WIN_DB_APPCOMPAT
danmosemsft [Wed, 15 Feb 2017 22:58:27 +0000 (14:58 -0800)]
Remove never defined FEATURE_WIN_DB_APPCOMPAT

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

7 years agoRemove never defined FEATURE_UEF_CHAINMANAGER
danmosemsft [Wed, 15 Feb 2017 22:55:46 +0000 (14:55 -0800)]
Remove never defined FEATURE_UEF_CHAINMANAGER

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

7 years agoRemove never defined FEATURE_TRACELOGGING except in jit/**
danmosemsft [Wed, 15 Feb 2017 22:20:38 +0000 (14:20 -0800)]
Remove never defined FEATURE_TRACELOGGING except in jit/**

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

7 years agoRemove never defined FEATURE_SERIALIZATION
danmosemsft [Wed, 15 Feb 2017 21:49:49 +0000 (13:49 -0800)]
Remove never defined FEATURE_SERIALIZATION

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

7 years agoJIT: fix desktop build break
Andy Ayers [Wed, 15 Feb 2017 23:35:12 +0000 (15:35 -0800)]
JIT: fix desktop build break

Desktop builds warn about unreachable code after returns, so modify
how finally chain merging is enabled and disabled in various configs.

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

7 years ago[x86/Linux] Fix GetModRMOperandValue() (dotnet/coreclr#9600)
SaeHie Park [Wed, 15 Feb 2017 21:46:36 +0000 (06:46 +0900)]
[x86/Linux] Fix GetModRMOperandValue() (dotnet/coreclr#9600)

Getting idiv divisor in GetModRMOperandValue() needs to handle x86 also
This patch will correct address of divisor when it resides in memory
Related unit test case: JIT/Regression/CLR-x86-JIT/V1-M09.5-PDC/b16328/b16328

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

7 years agoMerge pull request dotnet/coreclr#9587 from adiaaida/newDelaySign
Michelle McDaniel [Wed, 15 Feb 2017 21:32:22 +0000 (13:32 -0800)]
Merge pull request dotnet/coreclr#9587 from adiaaida/newDelaySign

Enable delay signing in ilasm

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

7 years agoExtra line
danmosemsft [Wed, 15 Feb 2017 21:16:04 +0000 (13:16 -0800)]
Extra line

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

7 years agoMerge pull request dotnet/coreclr#9613 from danmosemsft/stragglers
Dan Moseley [Wed, 15 Feb 2017 21:15:00 +0000 (13:15 -0800)]
Merge pull request dotnet/coreclr#9613 from danmosemsft/stragglers

Remove dead code

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

7 years agoMerge pull request dotnet/coreclr#9263 from chcosta/refactor_packaging
chcosta [Wed, 15 Feb 2017 21:14:09 +0000 (13:14 -0800)]
Merge pull request dotnet/coreclr#9263 from chcosta/refactor_packaging

Refactor coreclr packaging

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

7 years agoJIT: Finally chain merging (dotnet/coreclr#8810)
Andy Ayers [Wed, 15 Feb 2017 19:11:13 +0000 (11:11 -0800)]
JIT: Finally chain merging (dotnet/coreclr#8810)

Add an optimization that performs a specialized tail merge for chains
of callfinallys. These can arise from try-finallys where there are
multiple exit points from the try that have the same continuation.

When the jit generates a callfinally, it does so without considering
whether some previously generated callfinally might invoke the same
handler and then continue on to the same continuation.

This optimization looks for callfinallys that invoke the same handler
and have the same continuation and effectively merges them into one
canonical callfinally.

This optimization is done bottom-up (from outermost handler invocation
to innermost) to allow the merging done at an outer levels to enable
merging at inner levels.

This optimization saves code size and also results in more compact EH
reporting, since the callfinallies are reported to the runtime as
duplicate EH regions.

When run upstream of finally cloning, finally chain merging also allows
more of the paths exiting the try to exit via the clone.

Also fix an issue in block ref count maintenance during empty try
removal that caused an assert during finally chain merging.

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

7 years agoRename dir.targets -> dir.traversal.targets
Christopher Costa [Wed, 15 Feb 2017 18:38:46 +0000 (10:38 -0800)]
Rename dir.targets -> dir.traversal.targets

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

7 years agoEnable delay signing in ilasm
Michelle McDaniel [Mon, 13 Feb 2017 19:00:58 +0000 (11:00 -0800)]
Enable delay signing in ilasm

Corefx needs the .Net Core version of ilasm to create delay signable
assemblies. This change brings back AllocateStrongNameSignature that was
deleted in 2efbb92 and modifies it to use similar logic from Roslyn to
determine the size of the signature that we need to allocate space for.

Fixes dotnet/coreclr#9292.

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

7 years agoUpdate CoreClr, CoreFx to beta-25015-04, beta-25015-02, respectively
dotnet-bot [Wed, 15 Feb 2017 17:53:21 +0000 (17:53 +0000)]
Update CoreClr, CoreFx to beta-25015-04, beta-25015-02, respectively

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

7 years agoRemove dead code
danmosemsft [Wed, 15 Feb 2017 17:39:39 +0000 (09:39 -0800)]
Remove dead code

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

7 years agoMerge pull request dotnet/coreclr#9479 from AndyAyersMS/TrimInlineGcRefs
Andy Ayers [Wed, 15 Feb 2017 17:33:16 +0000 (09:33 -0800)]
Merge pull request dotnet/coreclr#9479 from AndyAyersMS/TrimInlineGcRefs

JIT: null out inline gc type locals after inline body

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

7 years ago[ARM64/Unix] LLDB (dotnet/coreclr#9504)
Steve MacLean [Wed, 15 Feb 2017 17:00:56 +0000 (12:00 -0500)]
[ARM64/Unix] LLDB (dotnet/coreclr#9504)

* [Arm64/Unix] Default to no lldb in build-rootfs

lldb is not readily available on arm64 Ubuntu releases prior to
16.10

Set the default lldb version to none to allow building Arm64 rootfs

* [Arm64/Unix] Warn if lldb is missing

SOS lldb plugin is an optional component

lldb is not availiable on arm64 prior to lldb3.9

lldb3.9 is not readily available on many ubuntu until 16.10

Change error to warning to simplify building arm64

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

7 years agoFix build-rootfs.sh to include lldb package (dotnet/coreclr#9608)
Hyung-Kyu Choi [Wed, 15 Feb 2017 12:07:08 +0000 (21:07 +0900)]
Fix build-rootfs.sh to include lldb package (dotnet/coreclr#9608)

lldb package is missing for architectures other than arm and armel.

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/94d1639d5d0b969489abbb3ce78b11a72c4493c4

7 years agoRemove never defined FEATURE_RWLOCK
danmosemsft [Wed, 15 Feb 2017 06:24:54 +0000 (22:24 -0800)]
Remove never defined FEATURE_RWLOCK

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

7 years agoRemove never defined FEATURE_REMOTING
danmosemsft [Wed, 15 Feb 2017 06:20:22 +0000 (22:20 -0800)]
Remove never defined FEATURE_REMOTING

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

7 years agoRemove never defined FEATURE_REFLECTION_ONLY_LOAD
danmosemsft [Wed, 15 Feb 2017 05:34:56 +0000 (21:34 -0800)]
Remove never defined FEATURE_REFLECTION_ONLY_LOAD

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

7 years agoRemove never defined FEATURE_PLS
danmosemsft [Wed, 15 Feb 2017 05:23:33 +0000 (21:23 -0800)]
Remove never defined FEATURE_PLS

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

7 years agoRemove never defined FEATURE_PERFMON
danmosemsft [Wed, 15 Feb 2017 05:21:22 +0000 (21:21 -0800)]
Remove never defined FEATURE_PERFMON

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

7 years agoRemove never defined FEATURE_NON_UNICODE_CODE_PAGES
danmosemsft [Wed, 15 Feb 2017 05:18:37 +0000 (21:18 -0800)]
Remove never defined FEATURE_NON_UNICODE_CODE_PAGES

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

7 years agoRemove never defined FEATURE_MULTIMODULE_ASSEMBLIES
danmosemsft [Wed, 15 Feb 2017 05:13:22 +0000 (21:13 -0800)]
Remove never defined FEATURE_MULTIMODULE_ASSEMBLIES

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

7 years agoRemove never defined FEATURE_MIXEDMODE
danmosemsft [Wed, 15 Feb 2017 05:07:49 +0000 (21:07 -0800)]
Remove never defined FEATURE_MIXEDMODE

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

7 years agoRemove never defined FEATURE_METHOD_RENTAL
danmosemsft [Wed, 15 Feb 2017 04:49:11 +0000 (20:49 -0800)]
Remove never defined FEATURE_METHOD_RENTAL

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

7 years agoRemove never defined FEATURE_METADATA_STANDALONE_WINRT
danmosemsft [Wed, 15 Feb 2017 04:44:23 +0000 (20:44 -0800)]
Remove never defined FEATURE_METADATA_STANDALONE_WINRT

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

7 years agoRemove never defined FEATURE_METADATA_STANDALONE_WINRT_RO
danmosemsft [Wed, 15 Feb 2017 04:37:29 +0000 (20:37 -0800)]
Remove never defined FEATURE_METADATA_STANDALONE_WINRT_RO

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

7 years ago[x86/Linux] Fix CreateInstantiatingILStub (dotnet/coreclr#9590)
SaeHie Park [Wed, 15 Feb 2017 05:12:06 +0000 (14:12 +0900)]
[x86/Linux] Fix CreateInstantiatingILStub (dotnet/coreclr#9590)

The hidden argument should be always passed last for x86

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

7 years agoRemove never defined FEATURE_LEAK_CULTURE_INFO
danmosemsft [Tue, 14 Feb 2017 21:58:27 +0000 (13:58 -0800)]
Remove never defined FEATURE_LEAK_CULTURE_INFO

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

7 years agoMerge pull request dotnet/coreclr#9472 from ramarag/RMLocalizationparity
Rama krishnan Raghupathy [Wed, 15 Feb 2017 02:55:00 +0000 (18:55 -0800)]
Merge pull request dotnet/coreclr#9472 from ramarag/RMLocalizationparity

RM localization parity with desktop

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

7 years agoRewrite GetRegisterAddressByIndex using getRegAddr (dotnet/coreclr#9574)
Jonghyun Park [Wed, 15 Feb 2017 01:11:32 +0000 (10:11 +0900)]
Rewrite GetRegisterAddressByIndex using getRegAddr (dotnet/coreclr#9574)

* Rewrite GetRegisterAddressByIndex using getRegAddr

* Use offset-based indirection in x86 getRegAddr

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

7 years agoMerge pull request dotnet/coreclr#9593 from wtgodbe/skipGCTests
William Godbe [Wed, 15 Feb 2017 00:49:20 +0000 (16:49 -0800)]
Merge pull request dotnet/coreclr#9593 from wtgodbe/skipGCTests

Return exit code 0 for long-running/GCSimulator tests in Helix

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

7 years agoRemoving nativeGetResourceFallbackArray support from Vm
Rama Krishnan Raghupathy [Wed, 15 Feb 2017 00:44:42 +0000 (16:44 -0800)]
Removing  nativeGetResourceFallbackArray support from Vm

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

7 years agoMerge pull request dotnet/coreclr#9583 from JosephTremoulet/ByrefConst
Joseph Tremoulet [Wed, 15 Feb 2017 00:41:17 +0000 (19:41 -0500)]
Merge pull request dotnet/coreclr#9583 from JosephTremoulet/ByrefConst

Value number casts and zeros of TYP_BYREF

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

7 years agochange package_platform to platform
Christopher Costa [Wed, 15 Feb 2017 00:29:51 +0000 (16:29 -0800)]
change package_platform to platform

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

7 years agoMerge pull request dotnet/coreclr#9589 from dotnet-bot/master-UpdateDependencies
William Godbe [Wed, 15 Feb 2017 00:27:07 +0000 (16:27 -0800)]
Merge pull request dotnet/coreclr#9589 from dotnet-bot/master-UpdateDependencies

Update CoreClr to beta-25014-04 (master)

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

7 years agoRemoving Os specified ulimatefallback for localization
Rama Krishnan Raghupathy [Thu, 9 Feb 2017 23:09:12 +0000 (15:09 -0800)]
Removing Os specified ulimatefallback for localization

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

7 years agoExclude binaries not built on armel
Christopher Costa [Wed, 15 Feb 2017 00:14:31 +0000 (16:14 -0800)]
Exclude binaries not built on armel

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

7 years agoMerge pull request dotnet/coreclr#9485 from sivarv/span
Sivarv [Tue, 14 Feb 2017 23:48:14 +0000 (15:48 -0800)]
Merge pull request dotnet/coreclr#9485 from sivarv/span

Promote struct containing fields of struct of a single pointer-size field

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

7 years agoRemove PackagePlatforms property
Christopher Costa [Tue, 14 Feb 2017 23:40:20 +0000 (15:40 -0800)]
Remove PackagePlatforms property

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

7 years agoReturn exit code 0 for long-running/GCSimulator tests in Helix
wtgodbe [Tue, 14 Feb 2017 22:49:06 +0000 (14:49 -0800)]
Return exit code 0 for long-running/GCSimulator tests in Helix

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

7 years agoMerge pull request dotnet/coreclr#9522 from sandreenko/GVM-for-corert
Sergey Andreenko [Tue, 14 Feb 2017 22:55:30 +0000 (14:55 -0800)]
Merge pull request dotnet/coreclr#9522 from sandreenko/GVM-for-corert

Generic Virtual methods  for CoreRT

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

7 years agoUpdate CoreClr to beta-25014-04
dotnet-bot [Tue, 14 Feb 2017 22:52:30 +0000 (22:52 +0000)]
Update CoreClr to beta-25014-04

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

7 years agoFix EH_LOG Catch set notation (dotnet/coreclr#9586)
Steve MacLean [Tue, 14 Feb 2017 22:26:32 +0000 (17:26 -0500)]
Fix EH_LOG Catch set notation (dotnet/coreclr#9586)

Update log to indicate EHClause.TryEndPC in non-inclusive

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

7 years agoRemove never defined FEATURE_ISOSTORE
danmosemsft [Tue, 14 Feb 2017 21:53:43 +0000 (13:53 -0800)]
Remove never defined FEATURE_ISOSTORE

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

7 years agoRemove never defined FEATURE_INCLUDE_ALL_INTERFACES
danmosemsft [Tue, 14 Feb 2017 21:43:19 +0000 (13:43 -0800)]
Remove never defined FEATURE_INCLUDE_ALL_INTERFACES

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

7 years agoRemove never defined FEATURE_IMPERSONATION
danmosemsft [Tue, 14 Feb 2017 21:26:38 +0000 (13:26 -0800)]
Remove never defined FEATURE_IMPERSONATION

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

7 years agoPromote struct containing fields of struct of a single pointer-size field.
sivarv [Fri, 10 Feb 2017 05:31:04 +0000 (21:31 -0800)]
Promote struct containing fields of struct of a single pointer-size field.

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

7 years agoAdd arch to distrorid
Christopher Costa [Tue, 14 Feb 2017 21:48:28 +0000 (13:48 -0800)]
Add arch to distrorid

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

7 years agoRemove never defined FEATURE_IDENTITY_REFERENCE
danmosemsft [Tue, 14 Feb 2017 21:19:14 +0000 (13:19 -0800)]
Remove never defined FEATURE_IDENTITY_REFERENCE

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

7 years agoMerge pull request dotnet/coreclr#9584 from wtgodbe/chmod
William Godbe [Tue, 14 Feb 2017 21:04:05 +0000 (13:04 -0800)]
Merge pull request dotnet/coreclr#9584 from wtgodbe/chmod

chmod +x all .sh files before Helix execution

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

7 years agoGeneric Virtual calls for CoreRT
Sergey Andreenko [Sat, 11 Feb 2017 02:35:00 +0000 (18:35 -0800)]
Generic Virtual calls for CoreRT

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

7 years agochmod +x all .sh files before Helix execution
wtgodbe [Tue, 14 Feb 2017 20:34:53 +0000 (12:34 -0800)]
chmod +x all .sh files before Helix execution

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

7 years agoMerge pull request dotnet/coreclr#9579 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Tue, 14 Feb 2017 20:04:14 +0000 (12:04 -0800)]
Merge pull request dotnet/coreclr#9579 from dotnet-bot/master-UpdateDependencies

Update CoreClr to beta-25014-03 (master)

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

7 years agoJIT: null out inline gc type locals after inline body
Andy Ayers [Fri, 10 Feb 2017 00:43:55 +0000 (16:43 -0800)]
JIT: null out inline gc type locals after inline body

Inlining can sometimes end up stretching GC lifetimes for inlinee
locals past the end of the inlinee method body.

This change extends the work done for inlining methods with pinned
locals to null out all gc ref type locals. If there are any gc type
locals, the return value is copied to a temp inside the inlinee body,
and then at the end of the body the gc type locals are set to null.

In most cases these null stores end up getting removed by dead code
elimination, but if the local ends up untracked, the store remains
and limits the active GC lifetime.

This change requires more extensive use of the return value spill temp
(since we must be absolutely sure the return value expression does not
depend on any of the locals). We now use the spill temp if any local is
a gc ref type (used or not).

More widespread use of the spill temp exposed an issue in the tail call
transformation, where the side effect flags were overly pessimistic for
a post tail-call GT_COMMA statement that represented an ignored return
value from an inlined call. The root issue is that the return value
placeholder is given a GTF_CALL effect but later when the actual return
value expression is substituted in place there may be no side effect --
in particular this happens when the return value expression is the spill
temp.

So, we also update the post tail-call side-effect-free statment check to
look through the potentially pessimistic GT_COMMA flags and check for side
effects on the child nodes.

Closes dotnet/coreclr#9218.

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

7 years agoFix typo
Christopher Costa [Tue, 14 Feb 2017 20:01:33 +0000 (12:01 -0800)]
Fix typo

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

7 years agoDefault distrorid on osx
Christopher Costa [Tue, 14 Feb 2017 19:47:56 +0000 (11:47 -0800)]
Default distrorid on osx

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

7 years agoValue number casts and zeros of TYP_BYREF
Joseph Tremoulet [Tue, 14 Feb 2017 19:39:03 +0000 (14:39 -0500)]
Value number casts and zeros of TYP_BYREF

Value numbering already has a representation for constants of byref type.
Hook up both `VNZeroForType` and `EvalCastForConstantArgs` to return a
value number using this representation (rather than fail an assertion)
when the requested result type is byref.

Fixes dotnet/coreclr#9453

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

7 years agoAlways specify a default for derivedpackagetargetosgroup
Christopher Costa [Tue, 14 Feb 2017 18:46:21 +0000 (10:46 -0800)]
Always specify a default for derivedpackagetargetosgroup

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

7 years agoUpdate CoreClr to beta-25014-03
dotnet-bot [Tue, 14 Feb 2017 17:49:32 +0000 (17:49 +0000)]
Update CoreClr to beta-25014-03

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

7 years agoMerge pull request dotnet/coreclr#9566 from pgavlin/MeasureIR
Pat Gavlin [Tue, 14 Feb 2017 17:24:06 +0000 (09:24 -0800)]
Merge pull request dotnet/coreclr#9566 from pgavlin/MeasureIR

Add IR size after certain phases to the JIT log.

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

7 years agoMerge pull request dotnet/coreclr#9575 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Tue, 14 Feb 2017 17:12:57 +0000 (09:12 -0800)]
Merge pull request dotnet/coreclr#9575 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-25014-02, beta-25014-02, respectively (master)

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

7 years agoAdd case-insensitive String.Replace overloads (dotnet/coreclr#9316)
Erti-Chris Eelmaa [Tue, 14 Feb 2017 16:35:16 +0000 (16:35 +0000)]
Add case-insensitive String.Replace overloads (dotnet/coreclr#9316)

Added overloads for String.Replace so that they now accept
StringComparison and CultureInfo as input parameters.

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

7 years agoMerge pull request dotnet/coreclr#9475 from jashook/lst_creator_update
Jarret Shook [Tue, 14 Feb 2017 16:31:05 +0000 (08:31 -0800)]
Merge pull request dotnet/coreclr#9475 from jashook/lst_creator_update

Update lst_creator and Arm64 lstFile

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

7 years agoUpdate CoreClr, CoreFx to beta-25014-02, beta-25014-02, respectively
dotnet-bot [Tue, 14 Feb 2017 15:04:30 +0000 (15:04 +0000)]
Update CoreClr, CoreFx to beta-25014-02, beta-25014-02, respectively

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

7 years ago[x86/Linux] Fix IL Stub for Shared Generic (dotnet/coreclr#9571)
SaeHie Park [Tue, 14 Feb 2017 14:55:45 +0000 (23:55 +0900)]
[x86/Linux] Fix IL Stub for Shared Generic (dotnet/coreclr#9571)

Fix parameter order in UnboxingILStub for Shared Generic

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

7 years agoMerge pull request dotnet/coreclr#9411 from hqueue/cross/common
Gaurav Khanna [Tue, 14 Feb 2017 05:16:09 +0000 (21:16 -0800)]
Merge pull request dotnet/coreclr#9411 from hqueue/cross/common

Use same logic to prepare rootfs across dotnet if possible

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

7 years agoMerge pull request dotnet/coreclr#9546 from parjong/fix/issue_9545
Bruce Forstall [Tue, 14 Feb 2017 05:15:36 +0000 (21:15 -0800)]
Merge pull request dotnet/coreclr#9546 from parjong/fix/issue_9545

[x86/Linux] Ignore fake jump while checking funclet branches

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

7 years agoMerge pull request dotnet/coreclr#9572 from AndyAyersMS/FixTailCallStress
Andy Ayers [Tue, 14 Feb 2017 04:38:56 +0000 (20:38 -0800)]
Merge pull request dotnet/coreclr#9572 from AndyAyersMS/FixTailCallStress

Jit: fix gtIsRecursiveCall

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

7 years agoMerge pull request dotnet/coreclr#9573 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Tue, 14 Feb 2017 04:12:26 +0000 (20:12 -0800)]
Merge pull request dotnet/coreclr#9573 from dotnet-bot/master-UpdateDependencies

Update CoreFx to beta-25014-01 (master)

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

7 years agoMerge pull request dotnet/coreclr#9567 from fiigii/master
Sivarv [Tue, 14 Feb 2017 03:54:27 +0000 (19:54 -0800)]
Merge pull request dotnet/coreclr#9567 from fiigii/master

Directly support Min/Max intrinsic for Vector<T> on SSE3_4 and above targets

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

7 years agoUpdate CoreFx to beta-25014-01
dotnet-bot [Tue, 14 Feb 2017 02:59:38 +0000 (02:59 +0000)]
Update CoreFx to beta-25014-01

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

7 years agoJit: fix gtIsRecursiveCall
Andy Ayers [Tue, 14 Feb 2017 02:38:14 +0000 (18:38 -0800)]
Jit: fix gtIsRecursiveCall

When called from the inline compiler, this needs to look at the root
method's handle, not the inlined method's handle.

Fixes dotnet/coreclr#9568.

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

7 years agoFormat code.
Pat Gavlin [Tue, 14 Feb 2017 01:56:48 +0000 (17:56 -0800)]
Format code.

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

7 years agoMerge pull request dotnet/coreclr#9298 from noahfalk/r2r
noahfalk [Tue, 14 Feb 2017 01:51:40 +0000 (17:51 -0800)]
Merge pull request dotnet/coreclr#9298 from noahfalk/r2r

Rejit support for R2R

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

7 years agoDirectly support Min/Max intrinsic for Vector<T> on SSE3_4 and above targets
Fei Peng [Tue, 14 Feb 2017 00:07:56 +0000 (16:07 -0800)]
Directly support Min/Max intrinsic for Vector<T> on SSE3_4 and above targets

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

7 years agoMerge branch 'master' of https://github.com/dotnet/coreclr into refactor_packaging
Christopher Costa [Tue, 14 Feb 2017 01:24:26 +0000 (17:24 -0800)]
Merge branch 'master' of https://github.com/dotnet/coreclr into refactor_packaging

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

7 years agoMerge pull request dotnet/coreclr#9483 from dotnet-bot/master-UpdateDependencies
William Godbe [Tue, 14 Feb 2017 01:23:55 +0000 (17:23 -0800)]
Merge pull request dotnet/coreclr#9483 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-25013-09, beta-25013-01, respectively (master)

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

7 years agoRespond to PR feedback
Christopher Costa [Tue, 14 Feb 2017 01:10:52 +0000 (17:10 -0800)]
Respond to PR feedback

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

7 years agoMerge pull request dotnet/coreclr#9551 from danmosemsft/dead2
Dan Moseley [Tue, 14 Feb 2017 00:56:52 +0000 (16:56 -0800)]
Merge pull request dotnet/coreclr#9551 from danmosemsft/dead2

Remove dead source files in vm\**

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

7 years agoMerge pull request dotnet/coreclr#9564 from pgavlin/ReportCodeSize
Pat Gavlin [Tue, 14 Feb 2017 00:56:08 +0000 (16:56 -0800)]
Merge pull request dotnet/coreclr#9564 from pgavlin/ReportCodeSize

Report code and GC info size in the JIT time log.

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

7 years agoUpdate lst_creator.
jashook [Fri, 3 Feb 2017 00:48:27 +0000 (16:48 -0800)]
Update lst_creator.

Generally refactoring, make it a little more robust and easier to use.
In addition, expand its functionality to update the lstFile.

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

7 years agoAdd IR size after certain phases to the JIT log.
Pat Gavlin [Mon, 13 Feb 2017 23:39:33 +0000 (15:39 -0800)]
Add IR size after certain phases to the JIT log.

This change adds support for measuring and reporting the number of nodes
in a function after a certain subset of the JIT's phases. This reporting
is enabled by setting `COMPlus_JitMeasureIR` and `COMPlus_JtiTimeLogCsv`
in conjunction with each other.

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

7 years agoMerge pull request dotnet/coreclr#9560 from JosephTremoulet/TypeToTypeVN
Joseph Tremoulet [Mon, 13 Feb 2017 23:38:50 +0000 (18:38 -0500)]
Merge pull request dotnet/coreclr#9560 from JosephTremoulet/TypeToTypeVN

Value number TypeHandleToRuntimeType helper

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

7 years agoUpdate CoreClr, CoreFx to beta-25013-09, beta-25013-01, respectively
dotnet-bot [Mon, 13 Feb 2017 23:36:44 +0000 (23:36 +0000)]
Update CoreClr, CoreFx to beta-25013-09, beta-25013-01, respectively

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

7 years agoFix build break
danmosemsft [Mon, 13 Feb 2017 23:03:15 +0000 (15:03 -0800)]
Fix build break

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

7 years agoMerge pull request dotnet/coreclr#9562 from AndyAyersMS/FixMagicTypeEquality
Andy Ayers [Mon, 13 Feb 2017 22:52:47 +0000 (14:52 -0800)]
Merge pull request dotnet/coreclr#9562 from AndyAyersMS/FixMagicTypeEquality

Jit: fix for broken type equality optimization

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

7 years agoMerge pull request dotnet/coreclr#9563 from pgavlin/FixPrintCsvHeader
Pat Gavlin [Mon, 13 Feb 2017 22:42:40 +0000 (14:42 -0800)]
Merge pull request dotnet/coreclr#9563 from pgavlin/FixPrintCsvHeader

Fix `JitTimeLog::PrintCsvHeader`.

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

7 years agoRejit support for R2R images
noahfalk [Mon, 13 Feb 2017 22:41:20 +0000 (14:41 -0800)]
Rejit support for R2R images

Two changes:
a) R2R code wasn't being reported to the Rejit Manager when it was used, this is a simple fix in prestub.cpp. This makes the ReJit API work.
b) The bulk of the changes handle adding support for an inlining table to R2R so that ICorProfilerInfo6::EnumNgenMethodsInliningThisMethod can supply that information to profilers.

This was only tested on Windows thus far, but there is no apparent reason this change would be OS specific.

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

7 years agoReport code and GC info size in the JIT time log.
Pat Gavlin [Mon, 13 Feb 2017 22:36:47 +0000 (14:36 -0800)]
Report code and GC info size in the JIT time log.

Just what it says on the tin.

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