platform/upstream/coreclr.git
7 years agoAdding some missing APIs on core that where added to N.S 2.0 (#9203)
Santiago Fernandez Madero [Thu, 2 Feb 2017 04:23:06 +0000 (20:23 -0800)]
Adding some missing APIs on core that where added to N.S 2.0 (#9203)

Adding missing apis on .NET Core.

7 years agoFix segment map modification in OOM scenarios (#9241)
Sean Gillespie [Thu, 2 Feb 2017 02:32:33 +0000 (18:32 -0800)]
Fix segment map modification in OOM scenarios (#9241)

* Fix an issue where the segment mapping table is not reverted
back to its original state when failing to commit the mark array
in an OOM scenario. Fixes #9064

* Code review feedback

* Update seg_mapping_table before setting g_gc_*_address

* Add a barrier between the seg_mapping_table write and updates to g_gc_*_address

7 years agoMerge pull request #9254 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Thu, 2 Feb 2017 01:44:54 +0000 (17:44 -0800)]
Merge pull request #9254 from dotnet-bot/master-UpdateDependencies

Update CoreClr to beta-25001-07 (master)

7 years agoUpdate CoreClr to beta-25001-07
dotnet-bot [Wed, 1 Feb 2017 23:41:44 +0000 (23:41 +0000)]
Update CoreClr to beta-25001-07

7 years agoMerge pull request #9252 from wtgodbe/fixRuntimes
William Godbe [Wed, 1 Feb 2017 21:59:20 +0000 (13:59 -0800)]
Merge pull request #9252 from wtgodbe/fixRuntimes

Use full set of runtimes for all test project.json files

7 years agoUse full set of runtimes for all test project.json files
wtgodbe [Wed, 1 Feb 2017 19:16:19 +0000 (11:16 -0800)]
Use full set of runtimes for all test project.json files

7 years agoSynchronize src\mscorlib\corefx with CoreRT (#9251)
Jan Kotas [Wed, 1 Feb 2017 20:40:59 +0000 (12:40 -0800)]
Synchronize src\mscorlib\corefx with CoreRT (#9251)

7 years agoMerge pull request #9242 from dotnet-bot/master-UpdateDependencies
Dan Moseley [Wed, 1 Feb 2017 16:47:43 +0000 (09:47 -0700)]
Merge pull request #9242 from dotnet-bot/master-UpdateDependencies

Update CoreFx to beta-25001-02 (master)

7 years agoUpdate CoreFx to beta-25001-02
dotnet-bot [Wed, 1 Feb 2017 15:05:27 +0000 (15:05 +0000)]
Update CoreFx to beta-25001-02

7 years agoFix GC reporting for Span<T> passed in registers on Unix (#9247)
Koundinya Veluri [Wed, 1 Feb 2017 14:20:12 +0000 (06:20 -0800)]
Fix GC reporting for Span<T> passed in registers on Unix (#9247)

Part of fix for #9033

Test coverage is already there in CoreFX's span tests.

7 years agoSynchronize SpinLock with CoreRT (#9244)
Jan Kotas [Wed, 1 Feb 2017 07:34:28 +0000 (23:34 -0800)]
Synchronize SpinLock with CoreRT (#9244)

7 years agoMerge pull request #9211 from hqueue/arm/clang_O3_issue
Gaurav Khanna [Wed, 1 Feb 2017 06:22:46 +0000 (22:22 -0800)]
Merge pull request #9211 from hqueue/arm/clang_O3_issue

Use -O1 optimization for arm and armel

7 years agoReflectionOnlyLoad should throw NotSupportedException (#9238)
Rahul Kumar [Wed, 1 Feb 2017 06:13:36 +0000 (22:13 -0800)]
ReflectionOnlyLoad should throw NotSupportedException (#9238)

7 years agoRenaming Span/ReadOnlySpan Extension classes to avoid conflict with CoreFX. (#9182)
Ahson Ahmed Khan [Wed, 1 Feb 2017 05:43:43 +0000 (21:43 -0800)]
Renaming Span/ReadOnlySpan Extension classes to avoid conflict with CoreFX. (#9182)

* Moving all extension methods to a class called Span
* Adding known workaround for JIT bug.

7 years ago[x86/Linux] Fix LLDB Plugin Build Error (#9239)
Jonghyun Park [Wed, 1 Feb 2017 04:19:55 +0000 (13:19 +0900)]
[x86/Linux] Fix LLDB Plugin Build Error (#9239)

7 years agoMerge pull request #9233 from adiaaida/disableDeleteNextCardTable
Michelle McDaniel [Wed, 1 Feb 2017 02:33:34 +0000 (18:33 -0800)]
Merge pull request #9233 from adiaaida/disableDeleteNextCardTable

Disable delete_next_card_table

7 years ago[x86/Linux] Get Frame Pointer from CallerSp (#9235)
Jonghyun Park [Wed, 1 Feb 2017 01:46:32 +0000 (10:46 +0900)]
[x86/Linux] Get Frame Pointer from CallerSp (#9235)

GetGSCookieAddress uses pEbp to get the current frame pointer, but pEbp
is not properly initialized as discussed in #8980.

This commit revises GetGSCookieAddress to use CallerSp (as in other
architectures) to get Frame Pointer in order to fix #8980.

7 years ago[x86/Linux] Update pCurrentContextPointers properly in EnsureCallerContextIsValid...
Jonghyun Park [Wed, 1 Feb 2017 01:36:36 +0000 (10:36 +0900)]
[x86/Linux] Update pCurrentContextPointers properly in EnsureCallerContextIsValid (#9232)

7 years agoFixes to make the lldb plugin work on ARM64 (#9216)
Frederik Carlier [Wed, 1 Feb 2017 01:09:57 +0000 (02:09 +0100)]
Fixes to make the lldb plugin work on ARM64 (#9216)

* Fixes to make the lldb plugin work on ARM64

7 years agoMerge pull request #9236 from wtgodbe/FixDeleteFiles
William Godbe [Wed, 1 Feb 2017 00:13:28 +0000 (16:13 -0800)]
Merge pull request #9236 from wtgodbe/FixDeleteFiles

Delete requires_signing files before test archival

7 years agoDelete requires_signing files before test archival
wtgodbe [Wed, 1 Feb 2017 00:03:17 +0000 (16:03 -0800)]
Delete requires_signing files before test archival

7 years agoMerge pull request #9202 from BruceForstall/FixRetBufMarking
Bruce Forstall [Tue, 31 Jan 2017 23:55:42 +0000 (15:55 -0800)]
Merge pull request #9202 from BruceForstall/FixRetBufMarking

Mark RetBuf as SIMD variable

7 years agoDisable delete_next_card_table
Michelle McDaniel [Tue, 31 Jan 2017 23:54:54 +0000 (15:54 -0800)]
Disable delete_next_card_table

Since 163983e was checked in, various tests have been failing because
delete_next_card_table is meant to allocate memory until it OOMs. Disable
this test to get the lab in better shape until we can deal with the GC bug
in #9064, then move it to the long gc test leg.

7 years agoUse Explicit Field Reference in FillRegDisplay (for x86) (#9212)
Jonghyun Park [Tue, 31 Jan 2017 23:16:57 +0000 (08:16 +0900)]
Use Explicit Field Reference in FillRegDisplay (for x86) (#9212)

7 years agoMerge pull request #9224 from stephentoub/spinlock_tryenter_perf
Stephen Toub [Tue, 31 Jan 2017 22:54:43 +0000 (17:54 -0500)]
Merge pull request #9224 from stephentoub/spinlock_tryenter_perf

Make SpinLock.TryEnter(ref bool) fail faster

7 years agoMark RetBuf as SIMD variable
Bruce Forstall [Mon, 30 Jan 2017 23:34:28 +0000 (15:34 -0800)]
Mark RetBuf as SIMD variable

I see changes where storeIndir is used now instead of
a BLK copy, which is an IR shape improvement.

This improves codegen for SIMD8, degrades it for SIMD12 (due
to encoding size differences with SSE instructions, though
the IR looks better), and is neutral for SIMD16, in the
VectorReturn test.

7 years agoMerge pull request #9217 from wtgodbe/syncNativeBins
William Godbe [Tue, 31 Jan 2017 21:33:34 +0000 (13:33 -0800)]
Merge pull request #9217 from wtgodbe/syncNativeBins

Download native binaries into a folder named 'RID'

7 years agoMake SpinLock.TryEnter(ref bool) fail faster
Stephen Toub [Tue, 31 Jan 2017 19:50:44 +0000 (14:50 -0500)]
Make SpinLock.TryEnter(ref bool) fail faster

One uses SpinLock.TryEnter(ref bool) when they want to do a quick test to either acquire the lock or know it's held by someone else.  We can make the latter path much faster so that it fails faster.

7 years agoMerge pull request #9222 from wtgodbe/fileNameTooLong
William Godbe [Tue, 31 Jan 2017 21:12:35 +0000 (13:12 -0800)]
Merge pull request #9222 from wtgodbe/fileNameTooLong

Remove all '.requires_signing' files before zipping tests

7 years agoRemove all '.requires_signing' files before zipping tests
wtgodbe [Tue, 31 Jan 2017 20:09:36 +0000 (12:09 -0800)]
Remove all '.requires_signing' files before zipping tests

7 years agoDownload native binaries into a folder named 'RID'
wtgodbe [Tue, 31 Jan 2017 18:56:32 +0000 (10:56 -0800)]
Download native binaries into a folder named 'RID'

7 years agoMerge pull request #9207 from adityamandaleeka/ci_dump_improvements
Aditya Mandaleeka [Tue, 31 Jan 2017 18:26:49 +0000 (10:26 -0800)]
Merge pull request #9207 from adityamandaleeka/ci_dump_improvements

Switch to a newer version of the dump management service we use

7 years agoMerge pull request #9206 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Tue, 31 Jan 2017 16:55:02 +0000 (08:55 -0800)]
Merge pull request #9206 from dotnet-bot/master-UpdateDependencies

Update CoreFx to beta-24931-02 (master)

7 years agoMerge pull request #9127 from BruceForstall/FixSimdFieldMorphing
Bruce Forstall [Tue, 31 Jan 2017 16:51:09 +0000 (08:51 -0800)]
Merge pull request #9127 from BruceForstall/FixSimdFieldMorphing

Fix morphing of GT_FIELD of SIMD in IND context

7 years agoUpdate CoreFx to beta-24931-02
dotnet-bot [Tue, 31 Jan 2017 14:58:57 +0000 (14:58 +0000)]
Update CoreFx to beta-24931-02

7 years agoUse -O1 optimization for arm and armel
Hyung-Kyu Choi [Tue, 31 Jan 2017 04:36:36 +0000 (13:36 +0900)]
Use -O1 optimization for arm and armel

Because there are bugs for -O3 optimization in clang (<=3.8) for arm,
let's use -O1 instead of -O3 for a while.

Related github issue: https://github.com/dotnet/core-setup/issues/790

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
7 years agoEnable EECodeManager::GetGSCookieAddr when CROSSGEN_COMPILE is not defined (#9209)
Jonghyun Park [Tue, 31 Jan 2017 09:43:27 +0000 (18:43 +0900)]
Enable EECodeManager::GetGSCookieAddr when CROSSGEN_COMPILE is not defined (#9209)

7 years agoFix morphing of GT_FIELD of SIMD in IND context
Bruce Forstall [Tue, 24 Jan 2017 01:40:57 +0000 (17:40 -0800)]
Fix morphing of GT_FIELD of SIMD in IND context

7 years agoMerge pull request #9183 from BruceForstall/FixBlockOpMorphing
Bruce Forstall [Tue, 31 Jan 2017 07:19:28 +0000 (23:19 -0800)]
Merge pull request #9183 from BruceForstall/FixBlockOpMorphing

Fix morphing of block op assignments

7 years agoSwitch to a newer version of the dump management service we use.
Aditya Mandaleeka [Thu, 26 Jan 2017 23:25:10 +0000 (15:25 -0800)]
Switch to a newer version of the dump management service we use.

7 years agoMerge pull request #9199 from BruceForstall/FixBadIfCondition
Bruce Forstall [Mon, 30 Jan 2017 23:46:39 +0000 (15:46 -0800)]
Merge pull request #9199 from BruceForstall/FixBadIfCondition

Fix misspelling of FEATURE_MULTIREG_ARGS

7 years agoSupport cross-building CoreCLR for arm64 Android (#9173)
Frederik Carlier [Mon, 30 Jan 2017 23:21:49 +0000 (00:21 +0100)]
Support cross-building CoreCLR for arm64 Android (#9173)

* Support cross-building CoreCLR for arm64 Android

* Link gcc_s before libunwind

7 years agoFix Thread constructor with stack size argument (#9186)
Koundinya Veluri [Mon, 30 Jan 2017 22:47:29 +0000 (14:47 -0800)]
Fix Thread constructor with stack size argument (#9186)

Fix Thread constructor with stack size argument

Functional fix for #9158 and #9167

7 years agoMerge pull request #9200 from wtgodbe/FixPublish
William Godbe [Mon, 30 Jan 2017 22:30:43 +0000 (14:30 -0800)]
Merge pull request #9200 from wtgodbe/FixPublish

Change '.' to '-' in publishing test native binaries

7 years agoChange '.' to '-' in publishing test native binaries
wtgodbe [Mon, 30 Jan 2017 21:24:16 +0000 (13:24 -0800)]
Change '.' to '-' in publishing test native binaries

7 years agoFix misspelling of FEATURE_MULTIREG_ARGS
Bruce Forstall [Mon, 30 Jan 2017 20:26:25 +0000 (12:26 -0800)]
Fix misspelling of FEATURE_MULTIREG_ARGS

7 years agoMerge pull request #9188 from justinvp/fixed_addressof
Dan Moseley [Mon, 30 Jan 2017 19:47:31 +0000 (12:47 -0700)]
Merge pull request #9188 from justinvp/fixed_addressof

Avoid unnecessary branches when fixing non-null/empty arrays

7 years agoMerge pull request #9197 from dotnet-bot/master-UpdateDependencies
Dan Moseley [Mon, 30 Jan 2017 19:47:04 +0000 (12:47 -0700)]
Merge pull request #9197 from dotnet-bot/master-UpdateDependencies

Update CoreClr to beta-24930-03 (master)

7 years agoMerge pull request #9198 from wtgodbe/FixReleaseHelix
William Godbe [Mon, 30 Jan 2017 18:46:55 +0000 (10:46 -0800)]
Merge pull request #9198 from wtgodbe/FixReleaseHelix

Set BuildType in HelixPublish.proj

7 years agoSet BuildType in HelixPublish.proj
wtgodbe [Mon, 30 Jan 2017 18:30:48 +0000 (10:30 -0800)]
Set BuildType in HelixPublish.proj

7 years agoMerge pull request #9156 from dotnet/revert-9155-revert-9152-SpeedUpSync
William Godbe [Mon, 30 Jan 2017 18:27:20 +0000 (10:27 -0800)]
Merge pull request #9156 from dotnet/revert-9155-revert-9152-SpeedUpSync

Speed up test native binary syncing in pipeline

7 years agoMerge pull request #9170 from CarolEidt/Fix9159
Carol Eidt [Mon, 30 Jan 2017 18:26:15 +0000 (10:26 -0800)]
Merge pull request #9170 from CarolEidt/Fix9159

Fix GT_LCL_FLD case in gtGetStructHandleIfPresent

7 years agoUpdate CoreClr to beta-24930-03
dotnet-bot [Mon, 30 Jan 2017 17:44:04 +0000 (17:44 +0000)]
Update CoreClr to beta-24930-03

7 years agoMerge pull request #9117 from jamesqo/copy.names
Dan Moseley [Mon, 30 Jan 2017 17:41:30 +0000 (10:41 -0700)]
Merge pull request #9117 from jamesqo/copy.names

Fix parameter names for Array.Copy

7 years agoMerge pull request #8438 from JonHanna/fix_1764
Dan Moseley [Mon, 30 Jan 2017 17:38:28 +0000 (10:38 -0700)]
Merge pull request #8438 from JonHanna/fix_1764

Support filter and fault blocks in DynamicILGenerator

7 years agoMerge pull request #8564 from lucenticus/x86-gdbjit
Dan Moseley [Mon, 30 Jan 2017 17:37:48 +0000 (10:37 -0700)]
Merge pull request #8564 from lucenticus/x86-gdbjit

[x86/Linux] Initial support of GDB JIT interface

7 years agoMerge pull request #9140 from dotnet-bot/master-UpdateDependencies
Dan Moseley [Mon, 30 Jan 2017 17:37:11 +0000 (10:37 -0700)]
Merge pull request #9140 from dotnet-bot/master-UpdateDependencies

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

7 years agoSupport building lldbplugin on ARM64 (#9195)
Frederik Carlier [Mon, 30 Jan 2017 16:52:12 +0000 (17:52 +0100)]
Support building lldbplugin on ARM64 (#9195)

7 years agoRemove allocations from Environment.GetResourceString (#9194)
Stephen Toub [Mon, 30 Jan 2017 16:37:27 +0000 (11:37 -0500)]
Remove allocations from Environment.GetResourceString (#9194)

* Remove delegate allocations from ResourceHelper.GetResourceString

* Remove state object allocation from GetResourceString

Now that we're no longer using ExecuteCodeWithGuaranteedBackout, we don't need the try/catch/finally functionality separated out into separate methods, and thus we don't need to allocate an object to pass into them.

7 years agoDelete unused encodings from CoreLib (#9196)
Jan Kotas [Mon, 30 Jan 2017 16:36:29 +0000 (08:36 -0800)]
Delete unused encodings from CoreLib (#9196)

7 years agoJIT: fixup finally target flag after finally opts run (#9171)
Andy Ayers [Mon, 30 Jan 2017 16:19:25 +0000 (08:19 -0800)]
JIT: fixup finally target flag after finally opts run (#9171)

The finally target flag can't be incrementally maintaned during finally
opts, so flag if any of these opts run and then run a post-opts fixup pass
to properly determine the flag value.

Only impacts arm targets.

Closes #9015.

7 years agoUpdate CoreClr, CoreFx to beta-24930-02, beta-24930-01, respectively
dotnet-bot [Mon, 30 Jan 2017 15:18:54 +0000 (15:18 +0000)]
Update CoreClr, CoreFx to beta-24930-02, beta-24930-01, respectively

7 years agoAdd support for lldb-3.9 (#9190)
Frederik Carlier [Mon, 30 Jan 2017 10:53:45 +0000 (11:53 +0100)]
Add support for lldb-3.9 (#9190)

7 years ago[GDB-JIT][Linux] Add support of base classes introspection (#9083)
Evgeny Pavlov [Mon, 30 Jan 2017 10:12:17 +0000 (13:12 +0300)]
[GDB-JIT][Linux] Add support of base classes introspection   (#9083)

* [GDB-JIT] Initial support of inherited fields displaying for classes

* [GDB-JIT] Fix link to already existed parent class

* [GDB-JIT] Fix incorrect processing of links to parent class with RefTypeInfo

* [GDB-JIT] Ignore inheritance from System.ValueType

* [GDB-JIT] Insert additional check whether we already dump parent class

7 years agoMerge pull request #9181 from dotnet/revertevent
Jan Kotas [Sun, 29 Jan 2017 15:22:30 +0000 (07:22 -0800)]
Merge pull request #9181 from dotnet/revertevent

Revert recent changes of #if blocks in Eventing code

7 years agoRemove invalid asserts on unsupported underlying enum type (#9192)
Jan Kotas [Sun, 29 Jan 2017 03:54:57 +0000 (19:54 -0800)]
Remove invalid asserts on unsupported underlying enum type (#9192)

The underlying enum type can be floating point type or native integer for historic reasons.
However, not all framework methods support these special enum types. They should throw exception
for them instead of asserting.

Fix issue #7670

7 years agoMerge pull request #9184 from AndyAyersMS/RegexDna
Sivarv [Sat, 28 Jan 2017 17:54:45 +0000 (09:54 -0800)]
Merge pull request #9184 from AndyAyersMS/RegexDna

Add BenchmarkGames regexdna test

7 years agoAvoid unnecessary branches when fixing non-null/empty arrays
Justin Van Patten [Sat, 28 Jan 2017 17:31:32 +0000 (09:31 -0800)]
Avoid unnecessary branches when fixing non-null/empty arrays

7 years agoUpdate glossary.md
Karel Zikmund [Sat, 28 Jan 2017 17:06:43 +0000 (09:06 -0800)]
Update glossary.md

7 years agoAdd BenchmarkGames regexdna test
Andy Ayers [Sat, 28 Jan 2017 00:45:38 +0000 (16:45 -0800)]
Add BenchmarkGames regexdna test

Based on the "version 6" test base. As with revcomp, keeping the input
files as unix line ending, and relatively small.

7 years agoFix morphing of block op assignments
Bruce Forstall [Sat, 28 Jan 2017 01:05:05 +0000 (17:05 -0800)]
Fix morphing of block op assignments

During morphing, block op assignments had their children set to
the "IND" morph context. This is incorrect. Previously, block
ops would "incorporate" the "IND-ness" of their children. However,
now, the operands will be a IND/BLK/OBJ node explicitly. Deleting
this incorrect code enables other changes, not yet merged, to work.

This causes no amd64 SPMI desktop asm diffs.

7 years agoMerge pull request #9164 from justinvp/string_split
Dan Moseley [Sat, 28 Jan 2017 00:46:56 +0000 (17:46 -0700)]
Merge pull request #9164 from justinvp/string_split

Remove unnecessary private String.SplitInternal method

7 years agoUpdate glossary.md
Karel Zikmund [Fri, 27 Jan 2017 23:58:18 +0000 (15:58 -0800)]
Update glossary.md

7 years agoRevert `Remove #if false blocks` just for Eventing
danmosemsft [Fri, 27 Jan 2017 23:20:20 +0000 (15:20 -0800)]
Revert `Remove #if false blocks` just for Eventing

7 years agoRevert `Remove FEATURE_MANAGED_ETW_CHANNELS`
danmosemsft [Fri, 27 Jan 2017 23:19:04 +0000 (15:19 -0800)]
Revert `Remove  FEATURE_MANAGED_ETW_CHANNELS`

7 years agoRevert `Remove disabled FEATURE_ADVANCED_MANAGED_ETW_CHANNELS`
danmosemsft [Fri, 27 Jan 2017 23:17:25 +0000 (15:17 -0800)]
Revert `Remove disabled FEATURE_ADVANCED_MANAGED_ETW_CHANNELS`

7 years agoMerge pull request #9163 from BruceForstall/FixAddrModeBuilding
Bruce Forstall [Fri, 27 Jan 2017 22:42:26 +0000 (14:42 -0800)]
Merge pull request #9163 from BruceForstall/FixAddrModeBuilding

Stop address mode building in TreeNodeInfoInit pass

7 years agoFix GT_LCL_FLD case in gtGetStructHandleIfPresent
Carol Eidt [Fri, 27 Jan 2017 18:09:58 +0000 (10:09 -0800)]
Fix GT_LCL_FLD case in gtGetStructHandleIfPresent

This method was incorrectly returning the parent struct handle instead of the handle for the field. This is showing up in remorphing of a SIMD field that was assigned in a field-by-field assignment.

Fix #9159

7 years agoJIT: Remove empty try regions (#8949)
Andy Ayers [Fri, 27 Jan 2017 17:36:09 +0000 (09:36 -0800)]
JIT: Remove empty try regions (#8949)

In runtimes that do not support thread abort, a try-finally with
an empty try can be optimized to simply the content of the finally.

See documentation update for more details.

Closes #8924.

7 years agoEnable IsInPrologOrEpilog only if GC Info Decoder is not used (#9136)
Jonghyun Park [Fri, 27 Jan 2017 11:58:40 +0000 (20:58 +0900)]
Enable IsInPrologOrEpilog only if GC Info Decoder is not used (#9136)

* Enable IsInPrologOrEpilog only if GC Info Decoder is not used

7 years agoMerge pull request #9130 from RussKeldorph/corefx
Russ Keldorph [Fri, 27 Jan 2017 10:59:28 +0000 (02:59 -0800)]
Merge pull request #9130 from RussKeldorph/corefx

Support new corefx workflow

7 years agoUse a constant to define the location of '/tmp' (#9150)
Frederik Carlier [Fri, 27 Jan 2017 09:38:32 +0000 (10:38 +0100)]
Use a constant to define the location of '/tmp' (#9150)

* The temp folder is in /data/local/tmp on Android, not /tmp

7 years agoSupport platforms where pthread is part of libc (#9154)
Frederik Carlier [Fri, 27 Jan 2017 09:37:49 +0000 (10:37 +0100)]
Support platforms where pthread is part of libc (#9154)

* Make threading code compatible with Android

7 years agoAdding trivial implementations of Span Fill and Clear (#9162)
Ahson Ahmed Khan [Fri, 27 Jan 2017 04:33:48 +0000 (20:33 -0800)]
Adding trivial implementations of Span Fill and Clear (#9162)

7 years agoRemove unnecessary private String.SplitInternal method
Justin Van Patten [Fri, 27 Jan 2017 03:42:29 +0000 (19:42 -0800)]
Remove unnecessary private String.SplitInternal method

Avoid the unnecessary intermediate method call.

7 years agoMerge pull request #9054 from kouvel/SpanGcReporting
Sivarv [Fri, 27 Jan 2017 03:23:26 +0000 (19:23 -0800)]
Merge pull request #9054 from kouvel/SpanGcReporting

Fix GC info for `ByReference<T>`

7 years agoStop address mode building in TreeNodeInfoInit pass
Bruce Forstall [Fri, 27 Jan 2017 02:44:31 +0000 (18:44 -0800)]
Stop address mode building in TreeNodeInfoInit pass

During Lower, TryCreateAddrMode() will try to find address
modes and convert them to GT_LEA by calling genCreateAddrMode().
Later, the TreeNodeInfoInit() pass walks the IR annotating
nodes with register requirements. It was also calling
genCreateAddrMode() and then clearing various previously
created register requirements, but not actually changing the
node to a GT_LEA. In some cases (in new code I have not checked
in yet), this was leading to code that codegen couldn't handle.
It turns out this second call to genCreateAddrMode() is
unnecessary (and undesireable), so I've removed it. This causes
no asm diffs on amd64 or x86 (run on desktop: superpmi
and ngen, respectively).

7 years agoMerge pull request #9123 from CarolEidt/FixCoreFx15309
Carol Eidt [Fri, 27 Jan 2017 01:54:31 +0000 (17:54 -0800)]
Merge pull request #9123 from CarolEidt/FixCoreFx15309

Fix SIMD field issues

7 years agoPAL Tests: Centralize common code (#9151)
Frederik Carlier [Fri, 27 Jan 2017 01:11:40 +0000 (02:11 +0100)]
PAL Tests: Centralize common code (#9151)

Create a single COMMON_TEST_LIBRARIES variable which contains all libraries
with which the tests link.

7 years agoMerge pull request #9157 from dotnet-bot/from-tfs
Brian Sullivan [Fri, 27 Jan 2017 01:08:58 +0000 (17:08 -0800)]
Merge pull request #9157 from dotnet-bot/from-tfs

Merge changes from TFS

7 years agoRevert "Revert "Speed up test native binary syncing in pipeline""
William Godbe [Fri, 27 Jan 2017 00:55:06 +0000 (16:55 -0800)]
Revert "Revert "Speed up test native binary syncing in pipeline""

7 years agoMerge pull request #9155 from dotnet/revert-9152-SpeedUpSync
William Godbe [Fri, 27 Jan 2017 00:55:03 +0000 (16:55 -0800)]
Merge pull request #9155 from dotnet/revert-9152-SpeedUpSync

Revert "Speed up test native binary syncing in pipeline"

7 years agoRevert "Speed up test native binary syncing in pipeline"
William Godbe [Fri, 27 Jan 2017 00:54:39 +0000 (16:54 -0800)]
Revert "Speed up test native binary syncing in pipeline"

7 years agoMerge pull request #9152 from wtgodbe/SpeedUpSync
William Godbe [Fri, 27 Jan 2017 00:54:10 +0000 (16:54 -0800)]
Merge pull request #9152 from wtgodbe/SpeedUpSync

Speed up test native binary syncing in pipeline

7 years agoMerge pull request #9153 from adityamandaleeka/jitdisasm_fix
Aditya Mandaleeka [Fri, 27 Jan 2017 00:53:54 +0000 (16:53 -0800)]
Merge pull request #9153 from adityamandaleeka/jitdisasm_fix

Fix another JIT-disasm check

7 years agoMerge pull request #9141 from pgavlin/RemoveDeadCode
Pat Gavlin [Thu, 26 Jan 2017 23:22:02 +0000 (15:22 -0800)]
Merge pull request #9141 from pgavlin/RemoveDeadCode

Remove dead code in the JIT.

7 years agoDon't require write barrier for assignment to ByRef
Koundinya Veluri [Thu, 26 Jan 2017 22:21:03 +0000 (14:21 -0800)]
Don't require write barrier for assignment to ByRef

The legacy code gen was hitting an assert when trying to use a write barrier for ByRef to ByRef assignment. RyuJIT is also generating an unnecessary write barrier but the assert is not there. As ByRefs are never in GC locations, don't require a write barrier.

7 years agoFix another JIT-disasm check.
Aditya Mandaleeka [Thu, 26 Jan 2017 22:53:54 +0000 (14:53 -0800)]
Fix another JIT-disasm check.

7 years ago[GDB-JIT][Linux] Fix incorrect DWARF offset for primitive types with typedef node...
Evgeny Pavlov [Thu, 26 Jan 2017 22:52:31 +0000 (01:52 +0300)]
[GDB-JIT][Linux] Fix incorrect DWARF offset for primitive types with typedef node (char, byte and sbyte) (#9106)

7 years agoClean up PAL functions (#9149)
Frederik Carlier [Thu, 26 Jan 2017 22:35:37 +0000 (23:35 +0100)]
Clean up PAL functions (#9149)

Clean up PAL functions to enable cross-compiling for Android
* Rename wcsnlen to PAL_wcsnlen, avoids a name collision on Android
* Remove unuwed _getw and _putw functions