platform/upstream/coreclr.git
6 years agoUpdate ARM/Linux build directions
Bruce Forstall [Thu, 28 Jun 2018 18:35:21 +0000 (11:35 -0700)]
Update ARM/Linux build directions

6 years agoMerge pull request #18435 from acmyu/unwind
Amy [Tue, 26 Jun 2018 22:01:14 +0000 (15:01 -0700)]
Merge pull request #18435 from acmyu/unwind

R2RDump - Use symbolic names for opcodes

6 years agoFix value numbering when selecting a constant (#18627)
Jakob Botsch Nielsen [Tue, 26 Jun 2018 14:57:47 +0000 (16:57 +0200)]
Fix value numbering when selecting a constant (#18627)

When applying selectors, constants were special-cased to not require any
type casts. However this is wrong if a narrowing needs to be performed.

Fix #18235

6 years agoDelete slack link, standardize on gitter (#18644)
Jan Kotas [Tue, 26 Jun 2018 05:56:03 +0000 (22:56 -0700)]
Delete slack link, standardize on gitter (#18644)

Contributes to https://github.com/dotnet/coreclr/issues/18643

6 years agoMerge pull request #18585 from BruceForstall/FixArmOffsets
Bruce Forstall [Mon, 25 Jun 2018 21:55:27 +0000 (14:55 -0700)]
Merge pull request #18585 from BruceForstall/FixArmOffsets

Clean up ARM reserved register handling

6 years agoRemove commentary on non-existent appx checks (#18631)
Rafael Rivera [Mon, 25 Jun 2018 20:13:11 +0000 (13:13 -0700)]
Remove commentary on non-existent appx checks (#18631)

Remove commentary on non-existent appx checks

6 years agoSimplify types in non-shared corelib (dotnet/corert#6008)
Stephen Toub [Mon, 25 Jun 2018 03:21:25 +0000 (23:21 -0400)]
Simplify types in non-shared corelib (dotnet/corert#6008)

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agoCross-bitness regular and thread static fields offsets (#18636)
Egor Chesakov [Mon, 25 Jun 2018 19:25:49 +0000 (12:25 -0700)]
Cross-bitness regular and thread static fields offsets (#18636)

* Define OFFSETOF__DomainLocalModule__m_pDataBlob_ OFFSETOF__DomainLocalModule__NormalDynamicEntry__m_pDataBlob in src/vm/appdomain.hpp

* Define OFFSETOF__ThreadLocalModule__m_pDataBlob OFFSETOF__ThreadLocalModule__DynamicEntry__m_pDataBlob in src/vm/threadstatics.h

* Add assertions and offsets for dynamically allocated statics

* Compensate OffsetOfDataBlob difference

* Check target specific offsets in assertions in src/vm/methodtablebuilder.cpp

6 years agoDon't close the JIT func info file on shutdown (#18060)
Koundinya Veluri [Mon, 25 Jun 2018 16:41:51 +0000 (09:41 -0700)]
Don't close the JIT func info file on shutdown (#18060)

During shutdown there can be a race between closing/nulling `compJitFuncInfoFile` in `compShutdown` and a background thread trying to write to it after checking that it was not null.

6 years agoCross-bitness in instance fields placement and CORINFO structs (#18366)
Egor Chesakov [Mon, 25 Jun 2018 16:17:00 +0000 (09:17 -0700)]
Cross-bitness in instance fields placement and CORINFO structs (#18366)

* Replace sizeof(OBJECTREF*) with TARGET_POINTER_SIZE

* Define IN_TARGET_32BIT IN_TARGET_64BIT macros

* Replace IN_WIN32 IN_WIN64 with IN_TARGET_32BIT IN_TARGET_64BIT in src/vm/jitinterface.cpp src/vm/methodtablebuilder.cpp

* Define and use OFFSETOF__CORINFO_* constants in clrjit

* Define for all 64-bit targets

* Use unsigned __int32 to emphasize that this is 32-bit number

* Rename Array__u1Elems to Array__data

* Eliminate OFFSETOF__CORINFO_RefArray__length

* Rename OFFSETOF__CORINFO_RefAny__ to OFFSETOF__CORINFO_TypedReference__

* Fix OFFSETOF__CORINFO_TypedReference__dataPtr macro value

6 years agoFix nested-anon-types warnings (#18591)
Adeel Mujahid [Mon, 25 Jun 2018 12:23:12 +0000 (15:23 +0300)]
Fix nested-anon-types warnings (#18591)

6 years agoRemove test logs (#18621)
Andon Andonov [Mon, 25 Jun 2018 05:45:27 +0000 (22:45 -0700)]
Remove test logs (#18621)

6 years agoRemoved dead strings used in debug-only code (#18622)
hsharber [Mon, 25 Jun 2018 01:18:15 +0000 (21:18 -0400)]
Removed dead strings used in debug-only code (#18622)

Removed strings used in debug-only code in ex.cpp

Fix #18420

6 years agoUpdate to latest released dotnet SDK (#18626)
Jan Kotas [Sun, 24 Jun 2018 20:45:15 +0000 (13:45 -0700)]
Update to latest released dotnet SDK (#18626)

6 years agonon shared changes and disabling tests
Anipik [Sun, 24 Jun 2018 04:29:23 +0000 (21:29 -0700)]
non shared changes and disabling tests

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agoSimply type names in Corelib (#18623)
Stephen Toub [Sun, 24 Jun 2018 12:22:35 +0000 (08:22 -0400)]
Simply type names in Corelib (#18623)

6 years agoUse correct basic block to check legality of PInvoke callsite for inlining (#18620)
Jan Kotas [Sun, 24 Jun 2018 03:20:58 +0000 (20:20 -0700)]
Use correct basic block to check legality of PInvoke callsite for inlining (#18620)

It is the same logic as used in other similar places

6 years agoClean up ARM reserved register computations
Bruce Forstall [Thu, 21 Jun 2018 02:06:27 +0000 (19:06 -0700)]
Clean up ARM reserved register computations

Tighten up and correct the math in compRsvdRegCheck.

6 years agoMerge pull request #18600 from BruceForstall/FixArmFPFrameAddressLimits
Bruce Forstall [Sat, 23 Jun 2018 16:38:05 +0000 (09:38 -0700)]
Merge pull request #18600 from BruceForstall/FixArmFPFrameAddressLimits

Expand ARM local variable R11-based addressing

6 years agoMerge pull request #18615 from A-And/CIFXStaging
Bruce Forstall [Sat, 23 Jun 2018 16:36:45 +0000 (09:36 -0700)]
Merge pull request #18615 from A-And/CIFXStaging

CoreFX CI - Correct testResults path

6 years agoChange string.Compare(...) == 0 occurrences to string.Equals(...) (#18616)
Stephen Toub [Sat, 23 Jun 2018 14:20:29 +0000 (10:20 -0400)]
Change string.Compare(...) == 0 occurrences to string.Equals(...) (#18616)

6 years agoMoved EventWaitHandle.cs to shared (#18612)
Anirudh Agnihotry [Sat, 23 Jun 2018 04:12:42 +0000 (21:12 -0700)]
Moved EventWaitHandle.cs to shared (#18612)

* Removed AccessControl Unused arguments

* moving common code to CreateEventCore and using constructor chaining

* Moving Functions to eventwaithandles.windows

* EventWaitHandle matched with corert

* eventwaithandle.windwos matched with corert

* Addding interop functions

* moved files to shared

* Minor changes

* fixing build for corert unix

* Removing Comment

6 years agoPass RID to crossgen (#18592)
Adeel Mujahid [Sat, 23 Jun 2018 02:51:03 +0000 (05:51 +0300)]
Pass RID to crossgen (#18592)

6 years agoFix incorrect usage of ILCodeVersion::AsNode (issue #18602) (#18606)
Noah Falk [Sat, 23 Jun 2018 02:14:15 +0000 (19:14 -0700)]
Fix incorrect usage of ILCodeVersion::AsNode (issue #18602) (#18606)

When the debugger is querying the active rejit IL for an IL method that has not been rejitted it incorrectly creates a VMPTR_ILCodeVersionNode for a code version that shouldn't have one.

6 years agoCorrect testResults path
Andon Andonov [Sat, 23 Jun 2018 01:11:18 +0000 (18:11 -0700)]
Correct testResults path

6 years agoExpand ARM local variable R11-based addressing
Bruce Forstall [Thu, 21 Jun 2018 23:33:02 +0000 (16:33 -0700)]
Expand ARM local variable R11-based addressing

When addressing a local with negative offsets from R11 (if it can't
be reached from SP), allow the full range of negative offsets allowed
in the instructions. Floating-point load/store especially has a much
bigger range than what was previously allowed.

6 years agoFix incorrect script path (#18613)
Andon Andonov [Fri, 22 Jun 2018 22:43:05 +0000 (15:43 -0700)]
Fix incorrect script path (#18613)

6 years agoMove Amd64 specific class to it's own folder and subnamespace
Amy Yu [Fri, 22 Jun 2018 22:04:12 +0000 (15:04 -0700)]
Move Amd64 specific class to it's own folder and subnamespace

6 years agoNon Shared Changed And feedback
Anipik [Fri, 22 Jun 2018 18:32:13 +0000 (11:32 -0700)]
Non Shared Changed And feedback

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agoRemove trigger phrases and add testhost building (#18608)
Andon Andonov [Fri, 22 Jun 2018 20:54:45 +0000 (13:54 -0700)]
Remove trigger phrases and add testhost building (#18608)

6 years agoAdd public implementation MarshalerSupport (#18530)
Luqun Lou [Fri, 22 Jun 2018 18:33:35 +0000 (11:33 -0700)]
Add public implementation MarshalerSupport (#18530)

6 years agoStart moving testing documentation into a single location (#18598)
Aaron Robinson [Fri, 22 Jun 2018 18:24:22 +0000 (11:24 -0700)]
Start moving testing documentation into a single location (#18598)

Start moving testing documentation into a single location
Update `test-configuration.md` with more details on creating a test and requirements

6 years agoUpdate package version to 3.0.0
Russ Keldorph [Thu, 21 Jun 2018 20:49:04 +0000 (13:49 -0700)]
Update package version to 3.0.0

This doesn't make much practical difference since CoreCLR's packages aren't
intended for any consumers other than core-setup, but we might as well try
to be consistent with our peer repos in case it provides a useful hint when
something goes wrong.

6 years agoMerge pull request #18581 from CarolEidt/Reenable18295
Carol Eidt [Fri, 22 Jun 2018 16:11:16 +0000 (09:11 -0700)]
Merge pull request #18581 from CarolEidt/Reenable18295

Re-enable tests after fixing 18295

6 years agoMerge pull request #18595 from BruceForstall/FixArmEncoderLimits
Bruce Forstall [Fri, 22 Jun 2018 06:05:42 +0000 (23:05 -0700)]
Merge pull request #18595 from BruceForstall/FixArmEncoderLimits

Fix ARM encoder limits

6 years agoMoved Semaphore.cs and Semaphore.Windows.cs to shared (#18597)
Anirudh Agnihotry [Fri, 22 Jun 2018 01:39:23 +0000 (18:39 -0700)]
Moved Semaphore.cs and Semaphore.Windows.cs to shared (#18597)

* TryOpenexistingworker and createsemaphore moved to semaphore.windows.cs

* Common code moved to verifyCounts and CreateMutexCore and then moved to semaphore.windows.cs

* CreateSemaphore merged with CreateSemaphore core

* Moving interop functions from win32Native to inteop.kernel32

* Moving the files to shared

* Minor Formating

6 years agoUpdate behaviors of new TextWriter StringBuilder overloads (#18578)
Stephen Toub [Fri, 22 Jun 2018 01:36:59 +0000 (21:36 -0400)]
Update behaviors of new TextWriter StringBuilder overloads (#18578)

Two issues addressed:
- CancellationToken was being ignored; the overloads should check whether cancellation was requested.  This applies to the existing Write{Line}Async overloads that were added in 2.1.
- The other overloads support inputs (string, char[], etc.) being null, and just treat that the same as an empty string.  We should do the same for StringBuilder rather than throwing.

6 years agoMerge pull request #18570 from acmyu/bugs
Amy [Thu, 21 Jun 2018 23:19:05 +0000 (16:19 -0700)]
Merge pull request #18570 from acmyu/bugs

R2RDump - Bug fixes

6 years agoWindows CoreFX CI Staging Commit (#18388)
Andon Andonov [Thu, 21 Jun 2018 23:04:54 +0000 (16:04 -0700)]
Windows CoreFX CI Staging Commit (#18388)

* Netci

* Add fake test switch

* Add branch PR trigger

* Add Checked corefx_innerloop jobs

6 years agoFix unset ZapRelocationType for fixup (#18589)
Gleb Balykov [Thu, 21 Jun 2018 22:16:58 +0000 (01:16 +0300)]
Fix unset ZapRelocationType for fixup (#18589)

6 years agoFix ARM encoder limits
Bruce Forstall [Thu, 21 Jun 2018 20:11:13 +0000 (13:11 -0700)]
Fix ARM encoder limits

The ARM encoder was using slightly incorrect limits when deciding whether
a particular constant offset was allowed in an addressing mode.

Change the limits to match the instruction definitions.

6 years agoMerge pull request #18031 from kbaladurin/fix-hfa-tests
Bruce Forstall [Thu, 21 Jun 2018 15:57:44 +0000 (08:57 -0700)]
Merge pull request #18031 from kbaladurin/fix-hfa-tests

[JIT/ARM] Fix Compiler::lvaFrameAddress

6 years agoUpdate PgoData to master-20180621-0050 (#18587)
dotnet-maestro-bot [Thu, 21 Jun 2018 12:34:29 +0000 (05:34 -0700)]
Update PgoData to master-20180621-0050 (#18587)

6 years agoUndo accidental 2.0 -> 2.1 renames (dotnet/corert#5981)
Jan Kotas [Thu, 21 Jun 2018 03:38:07 +0000 (20:38 -0700)]
Undo accidental 2.0 -> 2.1 renames (dotnet/corert#5981)

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agoRev netcoreapp2.0 to netcoreapp2.1 (dotnet/corert#5974)
Adeel Mujahid [Thu, 21 Jun 2018 00:06:28 +0000 (03:06 +0300)]
Rev netcoreapp2.0 to netcoreapp2.1 (dotnet/corert#5974)

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agoUpdate CoreClr, CoreFx to preview1-26621-01, preview1-26621-01, respectively (#18584)
dotnet-maestro-bot [Thu, 21 Jun 2018 03:38:51 +0000 (20:38 -0700)]
Update CoreClr, CoreFx to preview1-26621-01, preview1-26621-01, respectively (#18584)

6 years agoMerge pull request #18552 from dotnet-maestro-bot/master-UpdateDependencies
Wes Haggard [Wed, 20 Jun 2018 23:59:20 +0000 (16:59 -0700)]
Merge pull request #18552 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools, CoreClr, CoreFx, PgoData to preview1-02920-01, preview1-26620-04, preview1-26620-03, master-20180620-0039, respectively (master)

6 years agoFixed method name in comment (#18571)
Alfred Myers [Wed, 20 Jun 2018 23:31:00 +0000 (20:31 -0300)]
Fixed method name in comment (#18571)

6 years agoMerge pull request #18573 from CarolEidt/ExplicitLayoutTest
Carol Eidt [Wed, 20 Jun 2018 23:26:58 +0000 (16:26 -0700)]
Merge pull request #18573 from CarolEidt/ExplicitLayoutTest

Add another test for #17971

6 years agoRe-enable tests after fixing 18295
Carol Eidt [Wed, 20 Jun 2018 22:43:19 +0000 (15:43 -0700)]
Re-enable tests after fixing 18295

6 years agoUpdate BuildTools, CoreClr, CoreFx, PgoData to preview1-02920-01, preview1-26620...
dotnet-maestro-bot [Wed, 20 Jun 2018 22:03:51 +0000 (15:03 -0700)]
Update BuildTools, CoreClr, CoreFx, PgoData to preview1-02920-01, preview1-26620-04, preview1-26620-03, master-20180620-0039, respectively

6 years agoAn UnusedValue still requires a target reg (#18561)
Carol Eidt [Wed, 20 Jun 2018 21:55:12 +0000 (14:55 -0700)]
An UnusedValue still requires a target reg (#18561)

* An UnusedValue still requires a target reg

The BuildSimple method wasn't creating a def for an unused value. Although (in this case) the code is dead, the code generator must still be able to generate code for it.

* Add test case for #18295 to arm/arm64 tests.lst

6 years agoadded concurrent access detection to Remove() (#18524)
Marco Rossignoli [Wed, 20 Jun 2018 19:19:06 +0000 (21:19 +0200)]
added concurrent access detection to Remove() (#18524)

6 years agoAdd another test for #17971
Carol Eidt [Wed, 20 Jun 2018 18:02:27 +0000 (11:02 -0700)]
Add another test for #17971

6 years agoRemove MaskLoad tests from arm and arm64 lst files (#18569)
Jarret Shook [Wed, 20 Jun 2018 17:39:04 +0000 (10:39 -0700)]
Remove MaskLoad tests from arm and arm64 lst files (#18569)

This will disable the test from being run with smart in our windows arm
testing. This corresponds to the tests being deleted in #17637.

6 years agoMake sections optional, throw more descriptive error when rva can't be converted...
Amy Yu [Wed, 20 Jun 2018 17:12:39 +0000 (10:12 -0700)]
Make sections optional, throw more descriptive error when rva can't be converted to offset

6 years agoAvoid extra allocation in IDNA (#18551)
Tarek Mahmoud Sayed [Wed, 20 Jun 2018 01:50:38 +0000 (18:50 -0700)]
Avoid extra allocation in IDNA (#18551)

* Avoid extra allocation in IDNA

* cache the indexd value in StringBuilder

6 years agoFix instruction groups offset on the border between cold/hot code. (#17775)
Sergey Andreenko [Wed, 20 Jun 2018 01:02:11 +0000 (18:02 -0700)]
Fix instruction groups offset on the border between cold/hot code. (#17775)

* add an additional debug printing.

* add additional checks

* Clean-up checks a bit.

* fill unused allocated chunks

* clean up checks

* fix EMITTER_STATS

* optimize padding filling

call to emitCurCodeOffs(cp) is not free.

6 years agoFix Complus_JitMinOpts for the first method (#18555)
Sergey Andreenko [Wed, 20 Jun 2018 01:01:36 +0000 (18:01 -0700)]
Fix Complus_JitMinOpts for the first method (#18555)

6 years agoRemove StringBuilderCache usage from System.Text.RegularExpressions (#30474)
Viktor Hofer [Tue, 19 Jun 2018 21:34:37 +0000 (23:34 +0200)]
Remove StringBuilderCache usage from System.Text.RegularExpressions (#30474)

* Remove StringBuilderCache usage

* fixed buffer size, manual reverse copying & local textinfo

* Fast path for not to encode string

* avoid one span slice

* code formatting & bounds check opt

* Avoid string allocation in char class

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
6 years agoMake unwind info specific to amd64
Amy Yu [Wed, 13 Jun 2018 22:19:21 +0000 (15:19 -0700)]
Make unwind info specific to amd64

6 years agoUse Registers for FrameRegister
Amy Yu [Wed, 13 Jun 2018 18:53:08 +0000 (11:53 -0700)]
Use Registers for FrameRegister

6 years agoSave frameOffset in 16bits
Amy Yu [Tue, 12 Jun 2018 23:38:57 +0000 (16:38 -0700)]
Save frameOffset in 16bits

6 years agoDump unwind codes based on opcode
Amy Yu [Tue, 12 Jun 2018 21:45:10 +0000 (14:45 -0700)]
Dump unwind codes based on opcode

6 years agoRename enums with Pascal casing
Amy Yu [Tue, 12 Jun 2018 18:55:59 +0000 (11:55 -0700)]
Rename enums with Pascal casing

6 years agoUse symbolic names for opcodes, get register name for opinfo
Amy Yu [Tue, 12 Jun 2018 18:44:16 +0000 (11:44 -0700)]
Use symbolic names for opcodes, get register name for opinfo

6 years agoFix bugs
Amy Yu [Sat, 16 Jun 2018 00:10:21 +0000 (17:10 -0700)]
Fix bugs

6 years agoMerge pull request #18357 from acmyu/sections
Amy [Tue, 19 Jun 2018 23:34:29 +0000 (16:34 -0700)]
Merge pull request #18357 from acmyu/sections

R2RDump - Dump CompilerIdentifier and ImportSection contents

6 years agoParse entries of import section
Amy Yu [Tue, 19 Jun 2018 21:42:05 +0000 (14:42 -0700)]
Parse entries of import section

6 years agoAvoid two unnecessary string.Substring calls in PunycodeDecode (#18546)
Stephen Toub [Tue, 19 Jun 2018 21:28:32 +0000 (17:28 -0400)]
Avoid two unnecessary string.Substring calls in PunycodeDecode (#18546)

6 years agofixes for sos on FreeBSD (#18479)
Tomas Weinfurt [Tue, 19 Jun 2018 20:54:41 +0000 (13:54 -0700)]
fixes for  sos on FreeBSD (#18479)

* fixes for  sos on FreeBSD

* refactore unwind detection to common block for BSD and Linux

* missing newline

* do not do libunwind detection for OSX

6 years agoFix struct promotion check for SIMD field (#18548)
Carol Eidt [Tue, 19 Jun 2018 20:35:02 +0000 (13:35 -0700)]
Fix struct promotion check for SIMD field (#18548)

A struct can have `lvIsRegArg` true but have multiple SIMD fields if it is passed by reference.

6 years agoTypo (#18550)
John Doe [Tue, 19 Jun 2018 20:26:30 +0000 (13:26 -0700)]
Typo (#18550)

* accesible -> accessible

* acheive -> achieve

* addtional -> additional

* affars -> affairs

* approch -> approach

* archtecture -> architecture

* aritmetic -> arithmetic

* arquired -> acquired

* assigments -> assignments

* assmblies -> assemblies

6 years agoDump bytes with offset instead of rva
Amy Yu [Fri, 8 Jun 2018 23:16:23 +0000 (16:16 -0700)]
Dump bytes with offset instead of rva

6 years agoParse and dump compiler identifier and import sections, move dump section contents...
Amy Yu [Thu, 7 Jun 2018 22:01:23 +0000 (15:01 -0700)]
Parse and dump compiler identifier and import sections, move dump section contents to own function

6 years agoDump contents of NativeArray and NativeHashtable
Amy Yu [Thu, 7 Jun 2018 20:40:37 +0000 (13:40 -0700)]
Dump contents of NativeArray and NativeHashtable

6 years agoUse GetEntryPointIdFromOffset to get EntryPointId of generic methods
Amy Yu [Thu, 7 Jun 2018 18:53:18 +0000 (11:53 -0700)]
Use GetEntryPointIdFromOffset to get EntryPointId of generic methods

6 years agoOutput formatting changes for unwindInfo and section contents
Amy Yu [Thu, 7 Jun 2018 01:00:58 +0000 (18:00 -0700)]
Output formatting changes for unwindInfo and section contents

6 years agoMerge pull request #18500 from acmyu/liveness
Amy [Tue, 19 Jun 2018 20:23:18 +0000 (13:23 -0700)]
Merge pull request #18500 from acmyu/liveness

R2RDump - Output GcSlot liveness interweaved with disasm instructions

6 years agoSave name of dll in constant, use tab instead of spaces
Amy Yu [Tue, 19 Jun 2018 18:22:03 +0000 (11:22 -0700)]
Save name of dll in constant, use tab instead of spaces

6 years agoUpdate CoreClr to preview1-26619-04 (#18540)
dotnet-maestro-bot [Tue, 19 Jun 2018 15:39:01 +0000 (08:39 -0700)]
Update CoreClr to preview1-26619-04 (#18540)

6 years agoPInvoke calli support for CoreRT (#18534)
Jan Kotas [Tue, 19 Jun 2018 12:58:44 +0000 (05:58 -0700)]
PInvoke calli support for CoreRT (#18534)

* Ifdef out NGen-specific PInvoke calli inlining limitation for CoreCLR

This limitation seems to be a left-over from effort to eliminate JITing with fragile NGen.

* Delete dead partial-trust related code

* Allow PInvoke stub inlining

* Add convertCalliToCall JIT/EE interface method

* Update superpmi

6 years agoUpdate BuildTools, CoreClr, CoreFx, PgoData to preview1-02918-02, preview1-26619...
dotnet-maestro-bot [Tue, 19 Jun 2018 11:31:55 +0000 (04:31 -0700)]
Update BuildTools, CoreClr, CoreFx, PgoData to preview1-02918-02, preview1-26619-01, preview1-26617-01, master-20180619-0054, respectively (#18518)

6 years agoRemoved dead strings from corerror.xml
Henry Sharber [Tue, 19 Jun 2018 01:41:02 +0000 (21:41 -0400)]
Removed dead strings from corerror.xml

6 years agoRemove dead strings mscorrc.rc
Henry Sharber [Mon, 18 Jun 2018 02:31:46 +0000 (22:31 -0400)]
Remove dead strings mscorrc.rc

6 years agogenPutArgStk needs to check for FIELD_LIST first (#18499)
Carol Eidt [Tue, 19 Jun 2018 00:11:56 +0000 (17:11 -0700)]
genPutArgStk needs to check for FIELD_LIST first (#18499)

When a struct is passed on the stack using `FIELD_LIST`, the type of the `FIELD_LIST` is the type of its first field. If that type was a struct type (i.e. a SIMD type), `genPutArgStk` would assume that it was the non-`FIELD_LIST` case.

Fix #18497

6 years agoDelete PinnableBufferCache (dotnet/corert#5950)
Jan Kotas [Mon, 18 Jun 2018 19:00:33 +0000 (12:00 -0700)]
Delete PinnableBufferCache (dotnet/corert#5950)

Port https://github.com/dotnet/coreclr/pull/18360 to CoreRT

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agoCorrectly return early if the test fails (#18529)
Jarret Shook [Mon, 18 Jun 2018 21:07:39 +0000 (14:07 -0700)]
Correctly return early if the test fails (#18529)

6 years agoAdd public implementation WindowsRuntime ExceptionSupport (#18494)
Luqun Lou [Mon, 18 Jun 2018 20:24:48 +0000 (13:24 -0700)]
Add public implementation WindowsRuntime ExceptionSupport (#18494)

6 years agoImprove Intel hardware intrinsic APIs (#17637)
Fei Peng [Mon, 18 Jun 2018 20:17:41 +0000 (13:17 -0700)]
Improve Intel hardware intrinsic APIs (#17637)

* Improve Intel hardware intrinsic APIs

* Simplify Avx.Extract non-const fallback

6 years agotemporarily disable pthread based named mutexes on FreeBSD (#18480)
Tomas Weinfurt [Mon, 18 Jun 2018 19:54:23 +0000 (12:54 -0700)]
temporarily disable pthread based named mutexes on FreeBSD (#18480)

6 years agoDocument span lifetime issue in CreateSpan (dotnet/corefx#30490) (#18528)
dotnet bot [Mon, 18 Jun 2018 17:45:42 +0000 (10:45 -0700)]
Document span lifetime issue in CreateSpan (dotnet/corefx#30490) (#18528)

The language rules around span safety that C# and F# adhere to assume
there is no way to create a `Span<T>` wrapper over a `ref` local /
parameter. This means `ref` inputs into a method are not considered when
calculating the allowed lifetime of a returned `Span<T>`. Hence both
CreateSpan and CreateReadOnlySpan will be assumed to have heap lifetime
even when provided stack based inputs. Example:

``` c#
Span<int> Example() {
  int i = 42;
  Span<int> span = MemoryMarshal.CreateSpan(ref i, length: 1);
  return span; // C# and F# will allow this
}
```

In this case the actual lifetime of `span` is that of `i`. Yet the
compiler doesn't consider the `ref i` input and hence believes this must
be heap based and hence safe to return out of the method.

This is okay as these methods are unsafe. But want to explicitly
document that fact.

More information on the safety rules can be found in the [span safety
proposal](https://github.com/dotnet/csharplang/blob/master/proposals/csharp-7.2/span-safety.md)

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
6 years agoTypo (#18520)
John Doe [Mon, 18 Jun 2018 17:45:13 +0000 (10:45 -0700)]
Typo (#18520)

* Acutal -> Actual

* addtional -> additional

* agressive -> aggressive

* agument -> argument

* Alignement -> Alignment

* alredy -> already

* MAnaged -> Managed

* analagous -> analogous

* aquire -> acquire

* arbitary -> arbitrary

6 years agoRe-Enable StructABI test for xplat (#18496)
Jarret Shook [Mon, 18 Jun 2018 17:32:53 +0000 (10:32 -0700)]
Re-Enable StructABI test for xplat (#18496)

6 years agomach_absolute_time as the primary clock source on macOS (corefx#30391) (#18505)
Andrey Akinshin [Mon, 18 Jun 2018 17:11:32 +0000 (13:11 -0400)]
mach_absolute_time as the primary clock source on macOS (corefx#30391) (#18505)

macOS 10.12+ supports clock_gettime (HAVE_CLOCK_MONOTONIC is defined)
However, mach_absolute_time has better resolution and should be used
as the primary clock source.

6 years ago[JIT/ARM] Fix Compiler::lvaFrameAddress
Konstantin Baladurin [Mon, 18 Jun 2018 12:49:40 +0000 (15:49 +0300)]
[JIT/ARM] Fix Compiler::lvaFrameAddress

Use sp-based offset only if r10 reserved or offset is lower than
encoding limit.

6 years agoUpdate CoreClr, CoreFx to preview1-26616-03, preview1-26616-02, respectively (#18503)
dotnet-maestro-bot [Sat, 16 Jun 2018 18:54:59 +0000 (11:54 -0700)]
Update CoreClr, CoreFx to preview1-26616-03, preview1-26616-02, respectively (#18503)

6 years agoUpdate BuildTools, CoreClr to preview1-02915-01, preview1-26616-01, respectively...
dotnet-maestro-bot [Sat, 16 Jun 2018 05:36:31 +0000 (22:36 -0700)]
Update BuildTools, CoreClr to preview1-02915-01, preview1-26616-01, respectively (#18495)

6 years agoAdd missing registers enum
Amy Yu [Sat, 16 Jun 2018 00:37:10 +0000 (17:37 -0700)]
Add missing registers enum

6 years agoInterweave gcslot liveness with disasm
Amy Yu [Sat, 16 Jun 2018 00:07:41 +0000 (17:07 -0700)]
Interweave gcslot liveness with disasm