platform/upstream/coreclr.git
6 years agoAdd CrossGen Comparison scenario to netci.groovy
Egor Chesakov [Thu, 9 Aug 2018 23:36:17 +0000 (16:36 -0700)]
Add CrossGen Comparison scenario to netci.groovy

6 years agoAdd tests/scripts/crossgen_comparison.py
Egor Chesakov [Thu, 9 Aug 2018 23:37:39 +0000 (16:37 -0700)]
Add tests/scripts/crossgen_comparison.py

6 years agoRemove coreclr.*txt upload (#19524)
Jarret Shook [Fri, 17 Aug 2018 01:16:59 +0000 (18:16 -0700)]
Remove coreclr.*txt upload (#19524)

6 years agoR2RDump - Documentation (#19497)
Amy [Fri, 17 Aug 2018 00:05:23 +0000 (17:05 -0700)]
R2RDump - Documentation (#19497)

* Add comments

* Add README

* Use href links, disable disasm

6 years agoMoved registry.cs to shared (#19471)
Anirudh Agnihotry [Thu, 16 Aug 2018 20:21:55 +0000 (13:21 -0700)]
Moved registry.cs to shared (#19471)

* moved registry to shared

* using corefx version

* set value added

6 years agoDetermine memory load based on cgroup usage. (#19518)
Tom Deseyn [Thu, 16 Aug 2018 18:47:20 +0000 (20:47 +0200)]
Determine memory load based on cgroup usage. (#19518)

cgroup usage is used to trigger oom kills. It includes rss and file cache
of the cgroup.

The implementation was only using the process rss to determine memory load.
This is less than the cgroup usage and leads to oom kills due to GC not
being triggered soon enough.

6 years agoAdd an empty console application to measure startup of the runtime. (#19490)
José Rivero [Thu, 16 Aug 2018 18:25:31 +0000 (11:25 -0700)]
Add an empty console application to measure startup of the runtime. (#19490)

6 years agoDisable a regex test that is failing with minopts (#19488)
Koundinya Veluri [Thu, 16 Aug 2018 18:23:47 +0000 (11:23 -0700)]
Disable a regex test that is failing with minopts (#19488)

See dotnet/coreclr#18912. This test would always fail once tiered compilation is enabled by default in CoreFX test runs in the CoreCLR repo.

6 years agoBuild-test.sh handles native test assets (#19430)
Aaron Robinson [Thu, 16 Aug 2018 18:21:51 +0000 (11:21 -0700)]
Build-test.sh handles native test assets (#19430)

* Respect Windows script argument to skip package building.

* Bring build.sh logic closer to build.cmd with respect to passing CMAKE flags for building tests

* Make cmake gen script find override file without using script arguments

* build-test.sh can now build native test projects
Remove compileoptions.cmake and push contents into configurecompiler.cmake
 which contains compiler configuration from repo root CMakeLists.txt

6 years agoSome JitBench fixes (#19479)
Koundinya Veluri [Thu, 16 Aug 2018 18:20:55 +0000 (11:20 -0700)]
Some JitBench fixes (#19479)

Some JitBench fixes

- Fixed `dotnet run` from the `unofficial_dotnet` folder after `Directory.Build.targets` was added to `coreclr/tests/src`. This file is auto-imported and was adding dependencies and properties for targets that were not necessary. Added files to the root JitBench folder to override.
- Updated JitBench to be able to run against netcoreapp3.0. I haven't changed the default yet, could consider doing so once there are no pending perf issues being looked into.
  - Added a `RetargetProjects()` function to the setup steps to replace `TargetFramework` and `RuntimeFrameworkVersion` values in the relevant `.csproj` files to run against the expected runtime. This reduces some dependency on other repos containing the actual perf projects such that we don't have to update every repo to support environment variables to set those values.
- Disabled tiering for the `MinOpts` config

6 years agoJIT: bail out in optExtractArrIndex for constant array length (#19493)
Andy Ayers [Thu, 16 Aug 2018 16:22:05 +0000 (09:22 -0700)]
JIT: bail out in optExtractArrIndex for constant array length (#19493)

Generalize the bail out pattern to handle cases from spans where we may
see a known array length in a bounds check.

Fixes #19454

6 years agoOptimize NumberBufferToDecimal (#19072)
Pent Ploompuu [Thu, 16 Aug 2018 15:40:59 +0000 (18:40 +0300)]
Optimize NumberBufferToDecimal (#19072)

6 years agoMerge pull request #19396 from CarolEidt/Fix19288
Carol Eidt [Thu, 16 Aug 2018 15:11:00 +0000 (08:11 -0700)]
Merge pull request #19396 from CarolEidt/Fix19288

Fix non-lclVar odd-byte struct passing

6 years agoMake file handle checks accurate on Windows (#19508)
Jeremy Kuhne [Thu, 16 Aug 2018 04:16:43 +0000 (21:16 -0700)]
Make file handle checks accurate on Windows (#19508)

* Make handle checks accurate on Windows

We can actually check the async state of a handle on Windows, so check directly when we have the API available.

Also allow all filetypes through when explicitly using extended syntax `\\?\` .

* Fix nits

* Don't throw in the handle constructor overloads

* Whoops

* Removing the close handle entirely. No adverse effects from closing a bad handle- or leaving it open for that matter.

6 years agoRevert "Temporarily flag a SIMD test as optimization-sensitive (#19163)" (#19505)
Koundinya Veluri [Thu, 16 Aug 2018 02:43:15 +0000 (19:43 -0700)]
Revert "Temporarily flag a SIMD test as optimization-sensitive (#19163)" (#19505)

This reverts commit 855ddf52c7b05994cf6728b9169fa6cdc694a537. Issue https://github.com/dotnet/coreclr/issues/19124 was fixed by PR https://github.com/dotnet/coreclr/pull/19234, so re-enabling the test in minopts and with tiering.

6 years agoUpdate JapaneseLunisolarCalendar.cs (#19504)
elyoh [Thu, 16 Aug 2018 01:03:50 +0000 (02:03 +0100)]
Update JapaneseLunisolarCalendar.cs (#19504)

Corrects an issue with the conversion table for Gregorian to Japanese lunisolar dates.
See: #19450.

Issue: data discrepancy in year 1962.
Table entry for 1962 has incorrect days per month for months 6 and 7.

Notes
The DaysPerMonth flag uses the binary literal for ease of readability.

6 years agoJIT: properly handle special-case varargs params in minopts (#19489)
Andy Ayers [Thu, 16 Aug 2018 00:05:28 +0000 (17:05 -0700)]
JIT: properly handle special-case varargs params in minopts (#19489)

We were previously marking all lcl vars as implicitly referenced in minopts,
but there are some special varargs params that can't ever be marked as
referenced, either implicitly or explicitly.

Special case these when computing or checking ref counts in minopts.

Closes #19349.

6 years agoRevert "Change CoreLib native image to be R2R by default on all platforms (#19359...
Jan Kotas [Wed, 15 Aug 2018 22:55:24 +0000 (15:55 -0700)]
Revert "Change CoreLib native image to be R2R by default on all platforms (#19359)" (#19501)

This reverts commit d485659348af3528b688ac5b7e4c58dacba6de58.

6 years agoAdd Public API Marshal.IsTypeVisibleFromCom and Marshal.GetEndComSlot (#19507)
Luqun Lou [Wed, 15 Aug 2018 22:52:28 +0000 (15:52 -0700)]
Add Public API Marshal.IsTypeVisibleFromCom and Marshal.GetEndComSlot (#19507)

6 years agoR2RDump - GcInfo for x86
Amy Yu [Wed, 8 Aug 2018 23:52:53 +0000 (16:52 -0700)]
R2RDump - GcInfo for x86

x86 GcInfo headers

x86 GcSlotTable

x86 GcTransitions

Update expected xml for R2RDumpTests

Add license headers

Allow multiple GcTransitions with same codeOffset

Add index property in GcSlot, make GcSlot a class instead of struct, add missing spaces, update tests

Remove placeholder functions for parsing partially interruptible pointer tables

Implement partially interruptible GcInfo

Example GcInfo output:
    CodeLength: 22 bytes
        InfoHdr:
            PrologSize: 7
            EpilogSize: 4
            EpilogCount: 1
            EpilogAtEnd: yes
            Callee-saved regs  = EBP
            EbpFrame: yes
            Fully Interruptible: yes
            DoubleAlign: no
            Arguments Size: 0 DWORDs
            Stack Frame Size: 1 DWORDs
            UntrackedCnt: 1
            VarPtrTableSize: 0
            GenericsContext: 0
            GenericsContextIsMethodDesc: 0
            ReturnKind: RT_Scalar
            RevPInvokeOffset: 0
            Epilogs: 18

            GcSlots:
                -------------------------
                [EBP-4]
                Flags: GC_SLOT_UNTRACKED
                LowBits:
                -------------------------

    28fc: 55                    push    ebp
    28fd: 8b ec                 mov     ebp, esp
    28ff: 50                    push    eax
    2900: 89 4d fc              mov     dword ptr [ebp - 4], ecx
    2903: 8b 4d fc              mov     ecx, dword ptr [ebp - 4]
    2906: ff 15 10 10 01 10     call    dword ptr [268505104]
                                reg ECX becoming live
    290c: 90                    nop
                                reg ECX becoming dead
    290d: 90                    nop
    290e: 8b e5                 mov     esp, ebp
    2910: 5d                    pop     ebp
    2911: c3                    ret

6 years agoUpdate BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03115-01, preview1...
dotnet-maestro-bot [Wed, 15 Aug 2018 19:30:35 +0000 (12:30 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03115-01, preview1-26815-04, preview1-26815-04, preview1-26815-01, master-20180815-0120, respectively (#19494)

6 years agoMerge pull request #19487 from acmyu/disable
Bruce Forstall [Wed, 15 Aug 2018 03:56:16 +0000 (20:56 -0700)]
Merge pull request #19487 from acmyu/disable

ExcludeList for R2RDumpTests in wrong ItemGroup

6 years agoAdd TypeConverter fallback to DefaultValueAttribute (#19354)
Marco Rossignoli [Wed, 15 Aug 2018 01:56:43 +0000 (03:56 +0200)]
Add TypeConverter fallback to DefaultValueAttribute (#19354)

6 years agoUpdate debugging and createdump docs. (#19495)
Mike McLaughlin [Wed, 15 Aug 2018 01:22:23 +0000 (18:22 -0700)]
Update debugging and createdump docs. (#19495)

6 years agoExcludeList for R2RDumpTests in wrong ItemGroup
Amy Yu [Tue, 14 Aug 2018 20:19:46 +0000 (13:19 -0700)]
ExcludeList for R2RDumpTests in wrong ItemGroup

6 years agoUpdate BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03110-01, preview1...
dotnet-maestro-bot [Tue, 14 Aug 2018 15:08:16 +0000 (08:08 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03110-01, preview1-26814-06, preview1-26814-01, preview1-26814-01, master-20180814-0056, respectively (#19377)

6 years agoDisable R2RDumpTests (#19475)
Amy [Tue, 14 Aug 2018 14:02:49 +0000 (07:02 -0700)]
Disable R2RDumpTests (#19475)

6 years agoDelete dead code (#19452)
Jan Kotas [Tue, 14 Aug 2018 13:34:34 +0000 (06:34 -0700)]
Delete dead code (#19452)

Unused strong name signing paths and related code

6 years agoTranslate [rip +- offset] to absolute RVA's in R2RDump (#19219)
Tomáš Rylek [Tue, 14 Aug 2018 10:37:19 +0000 (12:37 +0200)]
Translate [rip +- offset] to absolute RVA's in R2RDump (#19219)

* Translate [rip +- offset] to absoluate RVA's in R2RDump

The existing logic for displaying rip-relative addressed on X64
make it very hard to calculate the final addresses. I have added
a horrendous hack using textual analysis of the disassembled
instruction to translate this notation to absolute RVA's.

As part of this effort I have also encapsulated the CorDisTools
helper in a new class Disassembler that also contains customizable
provisions for handling special assembly cases on the individual
architectures.

Thanks

Tomas

* Temporarily block out disassembly to make tests pass

In my initial commit I removed the line blocking out disassembly
however this ends up failing several lab tests so I'm putting the
line back.

Thanks

Tomas

6 years agoCode review feedback for the alternate stack changes (PR #19309). (#19476)
Mike McLaughlin [Tue, 14 Aug 2018 07:46:13 +0000 (00:46 -0700)]
Code review feedback for the alternate stack changes (PR #19309). (#19476)

Fixed SOS plugin for core dumps.

6 years agoUpdate URLs and exclusion list for staging (#19423)
Andon Andonov [Tue, 14 Aug 2018 03:43:10 +0000 (20:43 -0700)]
Update URLs and exclusion list for staging (#19423)

* Update URLs and exclusion list for staging

* Update Failing tests

* Fix IO test namespace

* Add 2 failing Ubuntu tests

* Exclude test under Ubuntu

* Add regressed test

* Roll-back CI URLs

* Add issue number

6 years agoMerge pull request #19463 from BruceForstall/FixArmHeapVerify
Bruce Forstall [Mon, 13 Aug 2018 23:53:22 +0000 (16:53 -0700)]
Merge pull request #19463 from BruceForstall/FixArmHeapVerify

Disable 3 tests for Windows/arm32 HeapVerify runs

6 years agodisable tests\src\JIT\Methodical\fp\exgen\10w5d_cs_do (#19465)
Sergey Andreenko [Mon, 13 Aug 2018 23:16:50 +0000 (16:16 -0700)]
disable tests\src\JIT\Methodical\fp\exgen\10w5d_cs_do (#19465)

in stress modes. The issue is #18988

6 years agoMerge pull request #19469 from BruceForstall/DisableVectorDot
Bruce Forstall [Mon, 13 Aug 2018 22:21:23 +0000 (15:21 -0700)]
Merge pull request #19469 from BruceForstall/DisableVectorDot

Disable VectorDot_ro.cmd_9267 for Windows arm64 R2R

6 years agoDisable VectorDot_ro.cmd_9267 for Windows arm64 R2R
Bruce Forstall [Mon, 13 Aug 2018 22:19:49 +0000 (15:19 -0700)]
Disable VectorDot_ro.cmd_9267 for Windows arm64 R2R

Tracked by #18991

6 years agoMerge pull request #19466 from BruceForstall/Disable163200
Bruce Forstall [Mon, 13 Aug 2018 22:04:49 +0000 (15:04 -0700)]
Merge pull request #19466 from BruceForstall/Disable163200

Disable test b163200 under GCStress

6 years agoDisable test b163200 under GCStress
Bruce Forstall [Mon, 13 Aug 2018 22:03:23 +0000 (15:03 -0700)]
Disable test b163200 under GCStress

Tracked by #19464

6 years agoDisable 3 tests for Windows/arm32 HeapVerify runs
Bruce Forstall [Mon, 13 Aug 2018 21:06:29 +0000 (14:06 -0700)]
Disable 3 tests for Windows/arm32 HeapVerify runs

They all time out.

Fixes #19462

6 years agoMerge pull request #19459 from BruceForstall/Disable437044
Bruce Forstall [Mon, 13 Aug 2018 19:42:25 +0000 (12:42 -0700)]
Merge pull request #19459 from BruceForstall/Disable437044

Exclude 437044.cmd_10304 from GCStress runs

6 years agoExclude 437044.cmd_10304 from GCStress runs
Bruce Forstall [Mon, 13 Aug 2018 19:40:23 +0000 (12:40 -0700)]
Exclude 437044.cmd_10304 from GCStress runs

This test times out on ARM Windows R2R GCStress15 runs.

6 years agoAdd a skipmanaged option to build.sh (#19111)
Omair Majid [Mon, 13 Aug 2018 19:38:37 +0000 (15:38 -0400)]
Add a skipmanaged option to build.sh (#19111)

This option is the opposite of -msbuildonunsupportedplatform, and an
managed version of of -skipnative.

This is useful for bootstrapping on new Linux/x64 distributions, where
dotnet may not work (yet) but coreclr will try and use it anyway,
failing the bootstrap scripts.

See also https://github.com/dotnet/source-build/issues/663 for
additional background information.

6 years agoMerge pull request #19458 from BruceForstall/DisableTests
Bruce Forstall [Mon, 13 Aug 2018 19:12:23 +0000 (12:12 -0700)]
Merge pull request #19458 from BruceForstall/DisableTests

Disable System.Linq.Expressions.Tests against #19457

6 years agoDisable System.Linq.Expressions.Tests against #19457
Bruce Forstall [Mon, 13 Aug 2018 19:10:50 +0000 (12:10 -0700)]
Disable System.Linq.Expressions.Tests against #19457

6 years agoRemove unused local from List<T>.RemoveRange (dotnet/corefx#31727)
Robin Sue [Mon, 13 Aug 2018 02:49:39 +0000 (04:49 +0200)]
Remove unused local from List<T>.RemoveRange (dotnet/corefx#31727)

`int i` appears to be unused so i removed it.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agonon shared changes and feedback addressed
Anipik [Sun, 12 Aug 2018 22:42:34 +0000 (15:42 -0700)]
non shared changes and feedback addressed

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agoFix a couple of apartment state issues (#19384)
Koundinya Veluri [Mon, 13 Aug 2018 01:35:48 +0000 (18:35 -0700)]
Fix a couple of apartment state issues (#19384)

* Fix a couple of apartment state issues

Fix for https://github.com/dotnet/coreclr/issues/17822
- The apartment state now defaults to MTA for the main thread along with a CoInitialize
- Calling `Thread.SetApartmentState` with STA now fails as expected (different behavior from previous netcore, same behavior as netfx)

Fix for https://github.com/dotnet/coreclr/issues/17787
- `WaitHandle.WaitAll` for multiple handles is not supported on an STA thread due to issues described in https://github.com/dotnet/coreclr/issues/17787#issuecomment-385117537
- It now throws `NotSupportedException` as expected (different behavior from previous netcore, same behavior as netfx)

Fix for https://github.com/dotnet/coreclr/issues/19225

* Temporarily exclude invalid CoreFX test

6 years agoCreate Microsoft.IO.Redist (dotnet/corefx#31679)
Jeremy Kuhne [Sat, 11 Aug 2018 00:06:39 +0000 (17:06 -0700)]
Create Microsoft.IO.Redist (dotnet/corefx#31679)

* Create Microsoft.Internal.IO

Includes all of Path, Directory, *Info, etc. from System.IO with targets of NetFX 4.6.1 and NetCore 2.1.

* Tweaks / minor fixes

* Remove netstandard build.

* Add package

Update to build for 4.7.2 only

* Rename folder to prepare for project rename

* Change the name to Microsoft.IO.Redist

* Namespace tweaks

* Use open key, tweak references

* More tweaks on feedback

Also grab latest build tools for 4.7.x RIDs

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agoSilence WinRT type assert in crossgen (#19442)
Simon Nattress [Mon, 13 Aug 2018 00:09:55 +0000 (17:09 -0700)]
Silence WinRT type assert in crossgen (#19442)

Disable type loader assert that fires when resolving a type from a WinMD. Instead, compilation should fail gracefully, or at runtime a type load exception will be thrown.

6 years ago[local gc] disable feature redhawk (#17769)
David Mason [Sat, 11 Aug 2018 17:11:49 +0000 (10:11 -0700)]
[local gc] disable feature redhawk  (#17769)

6 years agoMake RuntimeType sealed and deleted support for introspection only loads (#19427)
Jan Kotas [Sat, 11 Aug 2018 14:43:16 +0000 (07:43 -0700)]
Make RuntimeType sealed and deleted support for introspection only loads (#19427)

- Sealed Runtime makes `is RuntimeType` and similar checks faster. These checks are fairly common in reflection.
- Delete support for introspection only loads from the runtime. We do not plan to use in .NET Core. The support for introspection loads inherited from RuntimeType and thus it is incompatible with sealed RuntimeType.

6 years agomoved to shared (#19419)
Anirudh Agnihotry [Sat, 11 Aug 2018 07:31:01 +0000 (00:31 -0700)]
moved to shared (#19419)

6 years agoMoved SpinLock.cs to shared (#19391)
Anirudh Agnihotry [Sat, 11 Aug 2018 06:19:28 +0000 (23:19 -0700)]
Moved SpinLock.cs to shared (#19391)

* m removed from names, spaces after \\ and braces added

* Moved to shared

6 years agoDon't early terminate on null for 64bit NR HashCode (#19331)
Ben Adams [Sat, 11 Aug 2018 05:44:19 +0000 (06:44 +0100)]
Don't early terminate on null for 64bit NR HashCode (#19331)

* Don't early terminate on null for 64bit NR HashCode

* Improved GetNonRandomizedHashCode

* Update message on GetNonRandomizedHashCode

* Consume null terminator rather than special case odd lengths

6 years agoMerge pull request #19434 from BruceForstall/DisableR2rDumpTest2
Bruce Forstall [Sat, 11 Aug 2018 03:00:44 +0000 (20:00 -0700)]
Merge pull request #19434 from BruceForstall/DisableR2rDumpTest2

Disable R2RDumpTest for JIT stress modes

6 years agoDisable R2RDumpTest for JIT stress modes
Bruce Forstall [Sat, 11 Aug 2018 00:41:17 +0000 (17:41 -0700)]
Disable R2RDumpTest for JIT stress modes

6 years agoMerge pull request #19433 from BruceForstall/UpdateTriggerPhrases
Bruce Forstall [Sat, 11 Aug 2018 00:32:02 +0000 (17:32 -0700)]
Merge pull request #19433 from BruceForstall/UpdateTriggerPhrases

Update existing trigger phrases documentation

6 years agoUpdate existing trigger phrases documentation
Bruce Forstall [Sat, 11 Aug 2018 00:29:59 +0000 (17:29 -0700)]
Update existing trigger phrases documentation

6 years agoCORDbgSetInstruction: clear thumb bit of the address before flushing icache (#19409)
Konstantin Baladurin [Fri, 10 Aug 2018 23:10:53 +0000 (02:10 +0300)]
CORDbgSetInstruction: clear thumb bit of the address before flushing icache (#19409)

We should clear thumb bit of the address before flushing icache otherwise
we may not flush the cache for the first byte of the instruction.

6 years agoMoved to shared (#19399)
Anirudh Agnihotry [Fri, 10 Aug 2018 23:09:48 +0000 (16:09 -0700)]
Moved to shared (#19399)

6 years agoupdate order of locks so jitstress is unblocked (#19401)
David Mason [Fri, 10 Aug 2018 22:40:39 +0000 (15:40 -0700)]
update order of locks so jitstress is unblocked (#19401)

6 years agoFix non-lclVar odd-byte struct passing
Carol Eidt [Thu, 9 Aug 2018 23:31:11 +0000 (16:31 -0700)]
Fix non-lclVar odd-byte struct passing

When a non-power-of-2 struct is passed, we can only use an IND if the arg is a local.

Fix #19288

6 years agoMerge pull request #19344 from adityamandaleeka/aa64_vm_callconv_changes
Aditya Mandaleeka [Fri, 10 Aug 2018 20:38:09 +0000 (13:38 -0700)]
Merge pull request #19344 from adityamandaleeka/aa64_vm_callconv_changes

CallDescr/TransitionBlock changes for ARM64 calling convention

6 years agoAdd SoA raytracer as a CQ test for Intel hardware intrinsic
Fei Peng [Mon, 6 Aug 2018 22:10:50 +0000 (15:10 -0700)]
Add SoA raytracer as a CQ test for Intel hardware intrinsic

6 years agoMerge pull request #19414 from BruceForstall/ReduceCorefxInnerloopTesting
Bruce Forstall [Fri, 10 Aug 2018 18:43:05 +0000 (11:43 -0700)]
Merge pull request #19414 from BruceForstall/ReduceCorefxInnerloopTesting

Reduce the number of innerloop CoreFX jobs

6 years agoReduce the number of innerloop CoreFX jobs
Bruce Forstall [Fri, 10 Aug 2018 18:30:04 +0000 (11:30 -0700)]
Reduce the number of innerloop CoreFX jobs

1. Stop doing any OSX CoreFX jobs; they're too unreliable.
2. Stop running Debug jobs.

6 years agoMerge pull request #19387 from dotnetrt/parallel-test-build
Bruce Forstall [Fri, 10 Aug 2018 18:10:21 +0000 (11:10 -0700)]
Merge pull request #19387 from dotnetrt/parallel-test-build

Reenable parallel msbuild execution - 2x faster test build

6 years agoAlign the Contents of EventPipeBuffers (#19375)
Brian Robbins [Fri, 10 Aug 2018 17:22:40 +0000 (10:22 -0700)]
Align the Contents of EventPipeBuffers (#19375)

6 years agoUpdating the ilproj-sdk to also copy native dependencies from Microsoft.NETCore.JIT
Tanner Gooding [Thu, 9 Aug 2018 19:33:21 +0000 (12:33 -0700)]
Updating the ilproj-sdk to also copy native dependencies from Microsoft.NETCore.JIT

6 years agoUpdate DynamicHelper for Unix to match Win.
Aditya Mandaleeka [Thu, 9 Aug 2018 22:43:35 +0000 (15:43 -0700)]
Update DynamicHelper for Unix to match Win.

6 years agoMerge pull request #19385 from BruceForstall/WhichCoreFxCommit
Bruce Forstall [Thu, 9 Aug 2018 21:01:34 +0000 (14:01 -0700)]
Merge pull request #19385 from BruceForstall/WhichCoreFxCommit

Print out the checked out commit hash

6 years agoAdding the Avx.MaskStore tests
Tanner Gooding [Wed, 8 Aug 2018 18:03:53 +0000 (11:03 -0700)]
Adding the Avx.MaskStore tests

6 years agoImplementing the Avx.MaskStore intrinsics
Tanner Gooding [Tue, 7 Aug 2018 20:31:30 +0000 (13:31 -0700)]
Implementing the Avx.MaskStore intrinsics

6 years agoReenable parallel msbuild execution - 2x faster test build
Jacek Blaszczynski [Thu, 9 Aug 2018 18:04:43 +0000 (20:04 +0200)]
Reenable parallel msbuild execution - 2x faster test build

6 years agoPrint out the checked out commit hash
Bruce Forstall [Thu, 9 Aug 2018 18:52:56 +0000 (11:52 -0700)]
Print out the checked out commit hash

This is useful to see exactly which version of CoreFX you are testing against.

6 years agoUpdating init-tools to be inline with the CoreFX copy
Tanner Gooding [Thu, 9 Aug 2018 15:02:43 +0000 (08:02 -0700)]
Updating init-tools to be inline with the CoreFX copy

6 years agoUpdate CheckProjects to support `DebugType=Embedded` for RelType projects
Tanner Gooding [Thu, 9 Aug 2018 14:56:22 +0000 (07:56 -0700)]
Update CheckProjects to support `DebugType=Embedded` for RelType projects

6 years agoUpdating the x86 HWIntrinsic tests to include embedded pdbs
Tanner Gooding [Wed, 8 Aug 2018 19:52:23 +0000 (12:52 -0700)]
Updating the x86 HWIntrinsic tests to include embedded pdbs

6 years agoMerge pull request #19350 from dotnet/dev/unix_test_workflow
Bruce Forstall [Thu, 9 Aug 2018 18:06:21 +0000 (11:06 -0700)]
Merge pull request #19350 from dotnet/dev/unix_test_workflow

Simplify PR trigger creation; fix related bugs

6 years agoMerge pull request #19382 from BruceForstall/FixSwitch
Bruce Forstall [Thu, 9 Aug 2018 17:38:09 +0000 (10:38 -0700)]
Merge pull request #19382 from BruceForstall/FixSwitch

Fix `--` application to managed tests build command-line

6 years agoFix `--` application to managed tests build comamnd-line
Bruce Forstall [Thu, 9 Aug 2018 17:20:25 +0000 (10:20 -0700)]
Fix `--` application to managed tests build comamnd-line

6 years agoChange CoreLib native image to be R2R by default on all platforms (#19359)
Jan Kotas [Thu, 9 Aug 2018 06:29:32 +0000 (23:29 -0700)]
Change CoreLib native image to be R2R by default on all platforms (#19359)

* Change CoreLib native image to be R2R by default on all platforms

* Delete unused argument

6 years agoUpdating init-tools.cmd to pass through PACKAGES_DIR
Tanner Gooding [Wed, 8 Aug 2018 22:04:07 +0000 (15:04 -0700)]
Updating init-tools.cmd to pass through PACKAGES_DIR

6 years agoUpdate BuildTools, CoreSetup to preview1-03108-01, preview1-26808-05, respectively
dotnet-maestro-bot [Wed, 8 Aug 2018 20:53:23 +0000 (13:53 -0700)]
Update BuildTools, CoreSetup to preview1-03108-01, preview1-26808-05, respectively

6 years agoMove methodbody and exceptionHandlingClause to shared (#19364)
Anirudh Agnihotry [Thu, 9 Aug 2018 03:08:38 +0000 (20:08 -0700)]
Move methodbody and exceptionHandlingClause to shared  (#19364)

* Changing names and making runtime files

* Movel methodbody and exceptionHandlingClause to shared

* Fixing build error

6 years agoMerge pull request #19363 from nattress/crossgen_skip_windowsruntime
Bruce Forstall [Thu, 9 Aug 2018 03:03:13 +0000 (20:03 -0700)]
Merge pull request #19363 from nattress/crossgen_skip_windowsruntime

Skip Crossgen of S.R.WindowsRuntime.dll

6 years agoMerge pull request #19367 from BruceForstall/RestorePassThroughArg
Bruce Forstall [Thu, 9 Aug 2018 02:53:41 +0000 (19:53 -0700)]
Merge pull request #19367 from BruceForstall/RestorePassThroughArg

Restore handling of __PassThroughArg for `--`

6 years agoFix R2R DynamicHelper to use the correct offset to x0 reg.
Aditya Mandaleeka [Thu, 9 Aug 2018 02:30:48 +0000 (19:30 -0700)]
Fix R2R DynamicHelper to use the correct offset to x0 reg.

6 years agoReNaming and rearranging the variables to reduce the diff (#19338)
Anirudh Agnihotry [Wed, 8 Aug 2018 22:54:13 +0000 (15:54 -0700)]
ReNaming and rearranging the variables to reduce the diff (#19338)

* Names changes in managed side and native side

* name changes in native side

* Removing serialization field

* lower case corrected

6 years agoRestore handling of __PassThroughArg for `--`
Bruce Forstall [Wed, 8 Aug 2018 21:27:22 +0000 (14:27 -0700)]
Restore handling of __PassThroughArg for `--`

6 years agoMerge pull request #19275 from dotnetrt/test-warnings-msbuild
Bruce Forstall [Wed, 8 Aug 2018 20:38:23 +0000 (13:38 -0700)]
Merge pull request #19275 from dotnetrt/test-warnings-msbuild

build-test - fix ~ 2.1k MSBuild warnings due to bad framework and bad project references

6 years agoJIT: update lvaGrabTemp for new minopts/debug ref counting approach (#19351)
Andy Ayers [Wed, 8 Aug 2018 20:05:47 +0000 (13:05 -0700)]
JIT: update lvaGrabTemp for new minopts/debug ref counting approach (#19351)

If the jit has started normal ref counting and is in minopts or debug,
set all new temps to be implicitly referenced by default.

Closes #19346.

6 years agoSkip Crossgen of S.R.WindowsRuntime.dll
Simon Nattress [Wed, 8 Aug 2018 18:44:33 +0000 (11:44 -0700)]
Skip Crossgen of S.R.WindowsRuntime.dll

System.Runtime.WindowsRuntime contains assembly refs to Windows platform WinMD types which are not available on Unix and required to crossgen the assembly.

6 years agoUpdate BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03107-02, preview1...
dotnet-maestro-bot [Wed, 8 Aug 2018 17:02:46 +0000 (10:02 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03107-02, preview1-26808-04, preview1-26807-04, preview1-26807-04, master-20180808-0056, respectively (#19329)

6 years agoMerge pull request #19343 from BruceForstall/SimplifyPrTriggers
Bruce Forstall [Wed, 8 Aug 2018 05:56:56 +0000 (22:56 -0700)]
Merge pull request #19343 from BruceForstall/SimplifyPrTriggers

Simplify the code to create PR triggers

6 years agoSimplify the code to create PR triggers
Bruce Forstall [Wed, 8 Aug 2018 00:46:43 +0000 (17:46 -0700)]
Simplify the code to create PR triggers

Also, create PR triggers for jobs that currently don't have them
(which is a bug), such as Debug and Release Windows x64 jobs.

6 years agoFix non-Windows assembly code to match Windows calldescr/arg reg changes.
Aditya Mandaleeka [Wed, 8 Aug 2018 00:47:43 +0000 (17:47 -0700)]
Fix non-Windows assembly code to match Windows calldescr/arg reg changes.

6 years agoUse dotnet MSBuild for tests (#19324)
Aaron Robinson [Wed, 8 Aug 2018 00:42:15 +0000 (17:42 -0700)]
Use dotnet MSBuild for tests (#19324)

* Revert "Revert "Build managed tests with dotnet (#19254)""
* Reenable MSBuild support through dotnet instead of global MSBuild

6 years agoFillRegDisplay: initialize volatileCurrContextPointers for ARM and ARM64 (#19332)
Konstantin Baladurin [Tue, 7 Aug 2018 23:25:07 +0000 (02:25 +0300)]
FillRegDisplay: initialize volatileCurrContextPointers for ARM and ARM64 (#19332)

We need to initialize volatileCurrContextPointers because they could be
used by GC in the case of the leaf frame. This patch fixes crashes during
GC when we are single stepping using managed debugger.

6 years agoMake VM-side changes for ARM64 Windows calling convention.
Aditya Mandaleeka [Tue, 7 Aug 2018 22:17:52 +0000 (15:17 -0700)]
Make VM-side changes for ARM64 Windows calling convention.

6 years agoR2RDump - Tests for Debug, avoid copying expected xml files (#19321)
Amy [Tue, 7 Aug 2018 22:06:01 +0000 (15:06 -0700)]
R2RDump - Tests for Debug, avoid copying expected xml files (#19321)

* Add Debug expected xml, pass xml path to R2RDumpTest

* Pass expected xml path as argument

* Remove copy expected xml, clean up