platform/upstream/dotnet/runtime.git
7 years agoFix corefx x86 testing and small netci.groovy fixes
Russ Keldorph [Fri, 17 Feb 2017 17:12:04 +0000 (09:12 -0800)]
Fix corefx x86 testing and small netci.groovy fixes

run-corefx-tests.py fixes
- Switch to using the same corefx build switches as the corefx CI.

netci.groovy fixes
- Add COMPlus_Ready2Run=0 to existing ZapDisable jobs to get the coverage
  we intended to have in these jobs.  Previously, R2R images were slipping
  through.

- Add architecture to the trigger strings fore corefx jobs so it's
  possible to request x86 corefx runs.

- Add the -u option to python command line in netci.groovy so Python
  output is synchronized with subcommand output in the CI logs.

- Fix whitespace in name formatting of corefx_baseline jobs

- Remove trailing (sorry, my editor did this and now it is too hard to
  undo.  Add ?w=1 to Github diff URL to filter out ws diffs.)

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

7 years agoMerge pull request dotnet/coreclr#9580 from sdmaclea/PR-ARM64-CROSSGENFAILS
Jarret Shook [Fri, 17 Feb 2017 16:27:18 +0000 (08:27 -0800)]
Merge pull request dotnet/coreclr#9580 from sdmaclea/PR-ARM64-CROSSGENFAILS

[Arm64/Unix] Add crossgen fails

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

7 years ago[x86/Linux] Remove unnecessary x86-specific part (dotnet/coreclr#9627)
Hanjoung Lee [Fri, 17 Feb 2017 11:39:26 +0000 (20:39 +0900)]
[x86/Linux] Remove unnecessary x86-specific part (dotnet/coreclr#9627)

This inlined assembly is no longer necessary for x86.

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

7 years agoClean up nested WIN64EXCEPTIONS (dotnet/coreclr#9644)
Jonghyun Park [Fri, 17 Feb 2017 11:11:46 +0000 (20:11 +0900)]
Clean up nested WIN64EXCEPTIONS (dotnet/coreclr#9644)

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

7 years agoClean up dummy implementation in regdisp.h (dotnet/coreclr#9643)
Jonghyun Park [Fri, 17 Feb 2017 09:27:17 +0000 (18:27 +0900)]
Clean up dummy implementation in regdisp.h (dotnet/coreclr#9643)

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

7 years ago[x86/Linux] Fix GetCallerSp (dotnet/coreclr#9384)
Jonghyun Park [Fri, 17 Feb 2017 09:19:16 +0000 (18:19 +0900)]
[x86/Linux] Fix GetCallerSp (dotnet/coreclr#9384)

* [x86/Linux] Fix GetCallerSp

* Do NOT pop stack argument for TransitionFrame

* Add ResumeEsp to CONTEXT

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

7 years agoMerge pull request dotnet/coreclr#9645 from DrewScoggins/EmptyVariableFix
Drew Scoggins [Fri, 17 Feb 2017 08:45:22 +0000 (00:45 -0800)]
Merge pull request dotnet/coreclr#9645 from DrewScoggins/EmptyVariableFix

Fix x64 perf run break

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

7 years agoFix x64 perf run break
Drew Scoggins [Fri, 17 Feb 2017 07:39:53 +0000 (23:39 -0800)]
Fix x64 perf run break

After the checkin to add legacy JIT testing support for x86 we broke x64
runs.  THe issue is that we do not pass anything in to the TEST_ENV
variable on x64 and when a variable is empty and you attempt to use the
if exists syntax you fail.  I have added a nonsense file name that we
set this to before we go through the args loop. I was not able to find a
better solution and want to get the lab unblocked, but any batch masters
feel free to solve this the right way.

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

7 years agoMerge pull request dotnet/coreclr#9642 from dotnet-bot/master-UpdateDependencies
Dan Moseley [Fri, 17 Feb 2017 05:45:12 +0000 (21:45 -0800)]
Merge pull request dotnet/coreclr#9642 from dotnet-bot/master-UpdateDependencies

Update CoreFx to beta-25017-01 (master)

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

7 years agoMerge pull request dotnet/coreclr#9639 from parjong/fix/wrong_comment
Dan Moseley [Fri, 17 Feb 2017 05:44:36 +0000 (21:44 -0800)]
Merge pull request dotnet/coreclr#9639 from parjong/fix/wrong_comment

Fix wrong comment

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

7 years agoUpdate CoreFx to beta-25017-01
dotnet-bot [Fri, 17 Feb 2017 03:03:57 +0000 (03:03 +0000)]
Update CoreFx to beta-25017-01

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

7 years agoMerge pull request dotnet/coreclr#8778 from dnickless/master
Dan Moseley [Fri, 17 Feb 2017 02:47:45 +0000 (18:47 -0800)]
Merge pull request dotnet/coreclr#8778 from dnickless/master

Performance improvement: Make ConcurrentDictionary with Enum values also profit from atomic writes.

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

7 years agoMerge pull request dotnet/coreclr#9637 from wtgodbe/noMoreSuse
William Godbe [Fri, 17 Feb 2017 01:58:46 +0000 (17:58 -0800)]
Merge pull request dotnet/coreclr#9637 from wtgodbe/noMoreSuse

Remove all references to OpenSuse13.2

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

7 years agoMerge pull request dotnet/coreclr#9628 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Fri, 17 Feb 2017 01:31:17 +0000 (17:31 -0800)]
Merge pull request dotnet/coreclr#9628 from dotnet-bot/master-UpdateDependencies

Update CoreFx to beta-25016-03 (master)

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

7 years agoFix wrong comment
Jonghyun Park [Fri, 17 Feb 2017 01:10:09 +0000 (10:10 +0900)]
Fix wrong comment

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

7 years agoMerge pull request dotnet/coreclr#9610 from sdmaclea/PR-ARM64-CALLSITE
Bruce Forstall [Thu, 16 Feb 2017 23:42:34 +0000 (15:42 -0800)]
Merge pull request dotnet/coreclr#9610 from sdmaclea/PR-ARM64-CALLSITE

[Arm64/Unix] Correct ControlPC when unwinding

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

7 years agoRemove all references to OpenSuse13.2
wtgodbe [Thu, 16 Feb 2017 22:40:39 +0000 (14:40 -0800)]
Remove all references to OpenSuse13.2

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

7 years agoMerge pull request dotnet/coreclr#9629 from sdmaclea/PR-FIX-LLDB-REGRESSION
Gaurav Khanna [Thu, 16 Feb 2017 18:03:03 +0000 (10:03 -0800)]
Merge pull request dotnet/coreclr#9629 from sdmaclea/PR-FIX-LLDB-REGRESSION

Pr fix lldb regression typo

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

7 years agoMerge pull request dotnet/coreclr#9588 from adiaaida/perfLegacyJit
Michelle McDaniel [Thu, 16 Feb 2017 17:14:35 +0000 (09:14 -0800)]
Merge pull request dotnet/coreclr#9588 from adiaaida/perfLegacyJit

Add perf job for legacy jit

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

7 years ago[x86/Linux] Emit proper frame for FastGetSharedStaticBase (dotnet/coreclr#9618)
Jonghyun Park [Thu, 16 Feb 2017 16:40:03 +0000 (01:40 +0900)]
[x86/Linux] Emit proper frame for FastGetSharedStaticBase (dotnet/coreclr#9618)

* [x86/Linux] Emit proper frame for FastGetSharedStaticBase

* Adjust Stack-align Padding

* Remove FEATURE_PAL ifdef

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

7 years agoMerge branch 'master' into PR-FIX-LLDB-REGRESSION
Steve MacLean [Thu, 16 Feb 2017 13:16:20 +0000 (08:16 -0500)]
Merge branch 'master' into PR-FIX-LLDB-REGRESSION

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

7 years ago[Unix] Fix arm/lldb rootfs breakage (typo)
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Thu, 16 Feb 2017 13:11:06 +0000 (13:11 +0000)]
[Unix] Fix arm/lldb rootfs breakage (typo)

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

7 years agoUpdate CoreFx to beta-25016-03
dotnet-bot [Thu, 16 Feb 2017 09:09:29 +0000 (09:09 +0000)]
Update CoreFx to beta-25016-03

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

7 years ago[Unix] Fix arm/lldb rootfs breakage (dotnet/coreclr#9625)
Steve MacLean [Thu, 16 Feb 2017 08:55:20 +0000 (03:55 -0500)]
[Unix] Fix arm/lldb rootfs breakage (dotnet/coreclr#9625)

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

7 years ago[x86/Linux] Fix IsIPInMarkedJitHelper to handle sigsegv (dotnet/coreclr#9605)
SaeHie Park [Thu, 16 Feb 2017 08:50:08 +0000 (17:50 +0900)]
[x86/Linux] Fix IsIPInMarkedJitHelper to handle sigsegv (dotnet/coreclr#9605)

Include JIT_WriteBarrier and JIT_CheckedWriteBarrier functions
so that we can handle NullReferenceException for sigsegv from WriteBarriers.

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

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 ago[Unix] Fix arm/lldb rootfs breakage
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Thu, 16 Feb 2017 03:04:30 +0000 (03:04 +0000)]
[Unix] Fix arm/lldb rootfs breakage

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

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 agoAdd perf job for legacy jit
Michelle McDaniel [Tue, 14 Feb 2017 18:11:56 +0000 (10:11 -0800)]
Add perf job for legacy jit

Add performance testing jobs for jit32. This change adds jit32 as an
architecture for perf.groovy. It also renames the x86 legs to be
x86ryujit. For the two x86-based architectures, we pass a testenv. This is
so if we have to switch which version is the default jit on x86, we will
not need to change the perf jobs, we can just update the testenv files.
This change updates run-xunit-perf.cmd to take a test env script as a
parameter and run it before running the tests if it exists.

This change also cleans up some of the calls in perf.groovy to use
variables that we've already set, rather than baking in the contents of
those variables (changing Release to ${configuration}).

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

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 ago[Arm64/Unix] Correct ControlPC when unwinding
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Wed, 15 Feb 2017 16:23:33 +0000 (16:23 +0000)]
[Arm64/Unix] Correct ControlPC when unwinding

Fixes dotnet/coreclr#9585

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

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 ago[Arm64/Unix] Add crossgen fails
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Tue, 14 Feb 2017 18:41:30 +0000 (18:41 +0000)]
[Arm64/Unix] Add crossgen fails

Add crossgen fails from issue dotnet/coreclr#9481 to fails.testlist

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

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