platform/upstream/dotnet/runtime.git
5 years agoClean up build.cmd/build-test.cmd/runtest.cmd
Bruce Forstall [Sat, 4 Aug 2018 23:45:59 +0000 (16:45 -0700)]
Clean up build.cmd/build-test.cmd/runtest.cmd

Various minor cleanups:
1. Use the same naming/style for all three.
2. Make the style consistent throughout each. E.g., consistent indents,
   capitalization.
3. Add more consistent output, including the prefix tag used everywhere.
4. build.cmd: only build cross components if native build is enabled.
5. Use new __Logging variable to consolidate all logging arguments,
   to reduce large (unexpanded) command line lengths.

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

5 years agoMerge pull request dotnet/coreclr#19287 from BruceForstall/Revert19254
Bruce Forstall [Sat, 4 Aug 2018 03:38:39 +0000 (20:38 -0700)]
Merge pull request dotnet/coreclr#19287 from BruceForstall/Revert19254

Revert "Build managed tests with dotnet (dotnet/coreclr#19254)"

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

5 years agoRevert "Build managed tests with dotnet (dotnet/coreclr#19254)"
Bruce Forstall [Sat, 4 Aug 2018 00:54:30 +0000 (17:54 -0700)]
Revert "Build managed tests with dotnet (dotnet/coreclr#19254)"

This reverts commit dotnet/coreclr@101baee1010eaad47cd7afd1e041a7f422aefa78.

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

5 years agoUpdating the x86 HWIntrinsics program to print out the list of supported ISAs
Tanner Gooding [Fri, 3 Aug 2018 20:20:38 +0000 (13:20 -0700)]
Updating the x86 HWIntrinsics program to print out the list of supported ISAs

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

5 years agoMoved LocalVariableInfo to shared (dotnet/coreclr#19184)
Anirudh Agnihotry [Fri, 3 Aug 2018 20:03:35 +0000 (13:03 -0700)]
Moved LocalVariableInfo to shared (dotnet/coreclr#19184)

* File Modified

* Moved to shared

* Introducing RuntimeLocalVariableInfo

* Build Corefx change

* sealed added

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

5 years agoHandle MovRelocatableImmediate on ARM32 as a special case (IF_T2_N3) (dotnet/coreclr...
Egor Chesakov [Fri, 3 Aug 2018 19:35:33 +0000 (12:35 -0700)]
Handle MovRelocatableImmediate on ARM32 as a special case (IF_T2_N3) (dotnet/coreclr#19013)

* Add IF_T2_N3 instruction form and make this a specific case of IF_T2_N when EA_IS_RELOC(attr) is true
* Move "movw/movt reg,relocatableImm" case to function emitIns_MovRelocatableImmediate
* Introduce new instruction descriptor instrDescReloc
* Delete unused CnsVal from ARM32 and ARM64 emitters
* Introduce target_ssize_t and use this type for non-relocatable constants

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

5 years agoMerge pull request dotnet/coreclr#19274 from MattGal/remove-ubuntu-1710
Matt Galbraith [Fri, 3 Aug 2018 17:37:53 +0000 (10:37 -0700)]
Merge pull request dotnet/coreclr#19274 from MattGal/remove-ubuntu-1710

Remove EOL Ubuntu 17.10

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

5 years agoRemove EOL Ubuntu 17.10
Matt Galbraith [Fri, 3 Aug 2018 17:32:08 +0000 (10:32 -0700)]
Remove EOL Ubuntu 17.10

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

5 years agoMerge pull request dotnet/coreclr#19259 from MattGal/update-fedoras
Matt Galbraith [Fri, 3 Aug 2018 17:20:28 +0000 (10:20 -0700)]
Merge pull request dotnet/coreclr#19259 from MattGal/update-fedoras

Remove Fedora 26, add Fedora 28

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

5 years agoBuild managed tests with dotnet (dotnet/coreclr#19254)
Chris Sienkiewicz [Fri, 3 Aug 2018 17:11:32 +0000 (10:11 -0700)]
Build managed tests with dotnet (dotnet/coreclr#19254)

* Change managed projects to build with dotnet msbuild, rather than desktop msbuild

* Build sdk tests as AnyCPU

* Correct args passed through to dotnet for tests

* Remove extra backslash from baseIntermediateOutputPath that was causing individual test exe builds to fail

* Fix double import warning for sdk projects

* Add default params from config.json to build-test dotnet invocations

* Fix priority argument passing from the command line for tests

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

5 years agoMerge pull request dotnet/coreclr#18223 from mikedn/inc-codegen
Bruce Forstall [Fri, 3 Aug 2018 16:32:41 +0000 (09:32 -0700)]
Merge pull request dotnet/coreclr#18223 from mikedn/inc-codegen

Get rid of codegenlinear.h and x86_instrs.h

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

5 years agoFix interop test targets
Morgan Brown [Fri, 3 Aug 2018 02:04:45 +0000 (19:04 -0700)]
Fix interop test targets

Fix interop test targets

Remove TargetFramework from Interop.settings.targets since it already gets handled by the build environment and 2.0 doesn't work.

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

5 years agoMoved NativeCallable Attribute to shared (dotnet/coreclr#19258)
Anirudh Agnihotry [Fri, 3 Aug 2018 00:34:32 +0000 (17:34 -0700)]
Moved NativeCallable Attribute to shared (dotnet/coreclr#19258)

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

5 years agoUpdate debugging doc with symbol downloader instructions. (dotnet/coreclr#19262)
Mike McLaughlin [Fri, 3 Aug 2018 00:04:45 +0000 (17:04 -0700)]
Update debugging doc with symbol downloader instructions. (dotnet/coreclr#19262)

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

5 years agoRemove unused/nop/questionable code (dotnet/coreclr#19239)
Aaron Robinson [Thu, 2 Aug 2018 23:27:46 +0000 (16:27 -0700)]
Remove unused/nop/questionable code (dotnet/coreclr#19239)

* Remove unused holder code

* Remove NOP `IsV2RuntimeLoaded()` usage.

* Remove unused/nop/questionable code in util

* Remove unused V2Profiler message from resource

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

5 years agoRemove Fedora 26, add Fedora 28
Matt Galbraith [Thu, 2 Aug 2018 21:56:29 +0000 (14:56 -0700)]
Remove Fedora 26, add Fedora 28

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

5 years agoMake `Vector64<T>`, `Vector128<T>`, and `Vector256<T>` readonly
Tanner Gooding [Thu, 2 Aug 2018 16:16:11 +0000 (09:16 -0700)]
Make `Vector64<T>`, `Vector128<T>`, and `Vector256<T>` readonly

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

5 years agoMerge pull request dotnet/coreclr#19115 from dotnet/dev/unix_test_workflow
Bruce Forstall [Thu, 2 Aug 2018 20:30:23 +0000 (13:30 -0700)]
Merge pull request dotnet/coreclr#19115 from dotnet/dev/unix_test_workflow

Enable Windows ARM64 builds using release product tools

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

5 years agoFix VSTS build's tests on Alpine
Russ Keldorph [Thu, 2 Aug 2018 17:02:11 +0000 (10:02 -0700)]
Fix VSTS build's tests on Alpine

Earlier changes to rename alpine stuff to musl seems to have missed this change

Fixes dotnet/coreclr#19179

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

5 years agoResolving the remaining HWIntrinsics issues blocking PMI for S.P.CoreLib
Tanner Gooding [Thu, 2 Aug 2018 15:30:50 +0000 (08:30 -0700)]
Resolving the remaining HWIntrinsics issues blocking PMI for S.P.CoreLib

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

5 years agoGet rid of x86_instrs.h
Mike Danes [Thu, 31 May 2018 20:30:17 +0000 (23:30 +0300)]
Get rid of x86_instrs.h

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

5 years agoGet rid of codegenlinear.h
Mike Danes [Thu, 31 May 2018 20:19:47 +0000 (23:19 +0300)]
Get rid of codegenlinear.h

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

5 years agoMerge pull request dotnet/coreclr#19249 from BruceForstall/DisableFailingTests
Bruce Forstall [Thu, 2 Aug 2018 16:09:53 +0000 (09:09 -0700)]
Merge pull request dotnet/coreclr#19249 from BruceForstall/DisableFailingTests

Disable failing ARM tests

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

5 years agoDisable failing ARM tests
Bruce Forstall [Thu, 2 Aug 2018 16:08:46 +0000 (09:08 -0700)]
Disable failing ARM tests

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

5 years agoMerge pull request dotnet/coreclr#19234 from CarolEidt/Fix19124
Carol Eidt [Thu, 2 Aug 2018 16:03:00 +0000 (09:03 -0700)]
Merge pull request dotnet/coreclr#19234 from CarolEidt/Fix19124

Handle COMMA nodes when morphing struct args

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

5 years agoUpdate BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03101-02, preview1...
dotnet-maestro-bot [Thu, 2 Aug 2018 16:02:18 +0000 (09:02 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03101-02, preview1-26802-01, preview1-26802-01, preview1-26801-04, master-20180801-0056, respectively (master) (dotnet/coreclr#19162)

* Update BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03101-02, preview1-26802-01, preview1-26802-01, preview1-26801-04, master-20180801-0056, respectively

* Disable tests failing on active issue

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

5 years agoFix broken link (dotnet/coreclr#19244)
Alex Novgorodov [Thu, 2 Aug 2018 15:49:23 +0000 (18:49 +0300)]
Fix broken link (dotnet/coreclr#19244)

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

5 years agoAdd arm32 tp (dotnet/coreclr#19098)
Michelle McDaniel [Thu, 2 Aug 2018 14:28:01 +0000 (07:28 -0700)]
Add arm32 tp (dotnet/coreclr#19098)

* Add Arm32 support to throughput scripts

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

5 years agoEnable Windows ARM32 and ARM64 Debug builds as default PR triggered
Bruce Forstall [Wed, 25 Jul 2018 18:33:54 +0000 (11:33 -0700)]
Enable Windows ARM32 and ARM64 Debug builds as default PR triggered

These will be PR triggered for all users, not just those on the
arm64Users list. Since these are Build only, and do no testing,
with the change to use public VS2017 build tools, they can be run
by anyone.

Users on the arm64Users list will still get Checked Build and Test
jobs, which require using the private test machines.

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

5 years agoEnable ARM64 builds using release product tools
Bruce Forstall [Sat, 7 Jul 2018 00:19:32 +0000 (17:19 -0700)]
Enable ARM64 builds using release product tools

Remove support for specifying the toolset directory for arm64,
which was used to point to an internal toolset.

Building for arm64 now works just like the other platforms, e.g.
invoke `build arm64`.

The requirements:
. Visual Studio 2017 Update 4 or later, with ARM64 toolset installed
. Windows SDK 10.0.17134.0 or later
. CMake 3.10 or later

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

5 years agoMerge pull request dotnet/coreclr#19241 from BruceForstall/Revert19230
Bruce Forstall [Thu, 2 Aug 2018 05:32:24 +0000 (22:32 -0700)]
Merge pull request dotnet/coreclr#19241 from BruceForstall/Revert19230

Revert "Build managed tests with dotnet (dotnet/coreclr#19230)"

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

5 years agoRevert "Build managed tests with dotnet (dotnet/coreclr#19230)"
Bruce Forstall [Thu, 2 Aug 2018 05:27:56 +0000 (22:27 -0700)]
Revert "Build managed tests with dotnet (dotnet/coreclr#19230)"

This reverts commit dotnet/coreclr@763142a210d858289d30365dd1d4f2772e48f30d.

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

5 years agoUse 16 bytes to spill SIMD12 (dotnet/coreclr#19237)
Carol Eidt [Thu, 2 Aug 2018 04:59:18 +0000 (21:59 -0700)]
Use 16 bytes to spill SIMD12 (dotnet/coreclr#19237)

On 64-bit systems, SIMD12 locals are naturally rounded to 16 bytes, but the spill temp logic was not doing the same.

Fix dotnet/coreclr#19197

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

5 years agoformatting
Carol Eidt [Thu, 2 Aug 2018 00:41:31 +0000 (17:41 -0700)]
formatting

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

5 years agoMerge pull request dotnet/coreclr#19181 from BruceForstall/UpdateComment
Bruce Forstall [Thu, 2 Aug 2018 00:38:09 +0000 (17:38 -0700)]
Merge pull request dotnet/coreclr#19181 from BruceForstall/UpdateComment

Update arm64 comment for IsCallTargetInRange function

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

5 years agoAllow rejit on attach (dotnet/coreclr#19054)
David Mason [Wed, 1 Aug 2018 23:53:33 +0000 (16:53 -0700)]
Allow rejit on attach (dotnet/coreclr#19054)

* change profiler rejit to be enabled by default, and also change the debugger to only give up on setting a breakpoint if a method has been rejitted, rather than just whenever rejit is on

* copy corprof changes to the pal version, and change rejit so it is allowable on attach

* Change GetILFunctionBody/SetILFunctionBody to be allowed after attach

* Also make RequestRevert allowable on attach

* change lock order and switch from GC_NOTRIGGER to GC_TRIGGERS in Rejit codepath through the codeversionmanager

* make GetReJITIDs callable after attach

* change profiler rejit to be enabled by default, and also change the debugger to only give up on setting a breakpoint if a method has been rejitted, rather than just whenever rejit is on

* copy corprof changes to the pal version, and change rejit so it is allowable on attach

* Change GetILFunctionBody/SetILFunctionBody to be allowed after attach

* Also make RequestRevert allowable on attach

* change lock order and switch from GC_NOTRIGGER to GC_TRIGGERS in Rejit codepath through the codeversionmanager

* make GetReJITIDs callable after attach

* rename value to enable/disable rejit on attach, and cache values of profiler rejit and config value

* Change places where the jit checks for rejit being enabled to actually check for what it wants, which is whether jump stamps are enabled

* get rid of old value that was readded by merge somehow

* disallow detach after setting rejit event mask, and prevent it from being set if rejit on attach is turned off

* fix incorrect assert

* Take the codemanager lock in SetIP

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

5 years agoHandle COMMA nodes when morphing struct args
Carol Eidt [Wed, 1 Aug 2018 23:44:41 +0000 (16:44 -0700)]
Handle COMMA nodes when morphing struct args

Fix dotnet/coreclr#19124

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

5 years agoProvide a desktop-only implementation of RuntimeThread.CurrentOSThreadId for Microsof...
Brian Robbins [Wed, 1 Aug 2018 19:48:42 +0000 (12:48 -0700)]
Provide a desktop-only implementation of RuntimeThread.CurrentOSThreadId for Microsoft.Diagnostics.Tracing.EventSource.Redist.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/9700313f2684c784d025a638b0ae5de4ba2dcb00

5 years agoBuild managed tests with dotnet (dotnet/coreclr#19230)
Chris Sienkiewicz [Wed, 1 Aug 2018 23:13:39 +0000 (16:13 -0700)]
Build managed tests with dotnet (dotnet/coreclr#19230)

* Change managed projects to build with dotnet msbuild, rather than desktop msbuild

* Build sdk tests as AnyCPU

* Correct args passed through to dotnet for tests

* Remove extra backslash from baseIntermediateOutputPath that was causing individual test exe builds to fail

* Fix double import warning for sdk projects

* Add default params from config.json to build-test dotnet invocations

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

5 years agoFix value number update in fgMorphCast. (dotnet/coreclr#19226)
Eugene Rozenfeld [Wed, 1 Aug 2018 22:48:41 +0000 (15:48 -0700)]
Fix value number update in fgMorphCast. (dotnet/coreclr#19226)

removing GT_CAST nodes. It caused a problem for cases
where GT_CAST operand is a constant (e.g., GT_CNS_INT). In these
cases the value number shouldn't change since there is an
assumption that constant nodes have known constant value numbers.

The bug was found by ILGEN, I created a corresponding C# repro.
Without the fix this assert fires: https://github.com/dotnet/coreclr/blob/dotnet/coreclr@1f28125ad1f9975fbe68dd6839908aa6e63fc43b#gitext://gotocommit/dotnet/coreclr@1f28125ad1f9975fbe68dd6839908aa6e63fc43b/src/jit/assertionprop.cpp#L2687

The fix is to update value numbers only when we changed the operand of GT_CAST and
value number wasn't updated otherwise (e.g., in optNarrowTree).

I verified no x64 diffs in
jit-diff diff  --pmi --tests --frameworks
(with pri0 and pri1 tests).

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

5 years agoExpose OSThreadId and TimeStamp on EventWrittenEventArgs (dotnet/coreclr#19002)
Brian Robbins [Wed, 1 Aug 2018 18:38:39 +0000 (11:38 -0700)]
Expose OSThreadId and TimeStamp on EventWrittenEventArgs (dotnet/coreclr#19002)

* Add EventWrittenEventArgs public properties OSThreadId and TimeStamp and plumb through OSThreadId.

* Plumb ActivityId and RelatedActivityId to EventListener.

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

5 years agobuild-test - fix ilasm warnings caused by missing/incorrect extern assembly declarati...
Jacek Blaszczynski [Wed, 1 Aug 2018 18:10:05 +0000 (20:10 +0200)]
build-test - fix ilasm warnings caused by missing/incorrect extern assembly declarations (dotnet/coreclr#19188)

* build-test - fix ildasm warnings caused by missing or incorrect extern assembly declarations

white space was fixed in all files which were edited (tabs -> spaces, no white space at the end of line)

* Remove unnecessary assembly declaration metadata

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

5 years agoUse the identified python when building System.Private.CoreLib (dotnet/coreclr#19043)
Omair Majid [Wed, 1 Aug 2018 16:02:53 +0000 (12:02 -0400)]
Use the identified python when building System.Private.CoreLib (dotnet/coreclr#19043)

build.sh and build.cmd contain logic to identify a working version of
python to use. System.Private.CoreLib ignores that and directly invokes
'python', which may not work, or even execute a different program.

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

5 years agoCross-bitness in GcInfoEncoder::Build() (dotnet/coreclr#19206)
Egor Chesakov [Wed, 1 Aug 2018 15:54:36 +0000 (08:54 -0700)]
Cross-bitness in GcInfoEncoder::Build() (dotnet/coreclr#19206)

* Remove dead code in BitArray
* Replace size_t with uint32_t in BitArray

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

5 years agoAdd a spec for tiered compilation (dotnet/coreclr#19207)
Noah Falk [Wed, 1 Aug 2018 08:04:53 +0000 (01:04 -0700)]
Add a spec for tiered compilation (dotnet/coreclr#19207)

Add a spec for tiered compilation

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

5 years agoFix build break
Jan Kotas [Tue, 31 Jul 2018 22:37:26 +0000 (15:37 -0700)]
Fix build break

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/3a880c978489b3875a7a6b4d910a60fb977dc84c

5 years agoDelete dead code (dotnet/coreclr#19208)
Jan Kotas [Tue, 31 Jul 2018 21:47:23 +0000 (14:47 -0700)]
Delete dead code (dotnet/coreclr#19208)

- IsAppXDesignMode is always false
- Win32Res class is never used

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

5 years agoDelete FEATURE_IPCMAN (dotnet/coreclr#19212)
Jan Kotas [Tue, 31 Jul 2018 21:46:29 +0000 (14:46 -0700)]
Delete FEATURE_IPCMAN (dotnet/coreclr#19212)

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

5 years agoJIT: fast path for minopts/debug codegen in lvaMarkRefs (dotnet/coreclr#19103)
Andy Ayers [Tue, 31 Jul 2018 21:31:28 +0000 (14:31 -0700)]
JIT: fast path for minopts/debug codegen in lvaMarkRefs (dotnet/coreclr#19103)

For minopts and debug codegen, consider all locals to be implicitly
referenced.

This is set up during `lvaMarkLocalVars` and maintained after that
by having `incRefCnts` set the implicit reference bit and not doing
anything in `decRefCnts` for minopts / debug.

Likewise suppress local var sorting, as we don't have accurate counts
to go by.

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

5 years agoUpdating SetCpuInfo to be more accurate
Tanner Gooding [Sat, 28 Jul 2018 17:37:59 +0000 (10:37 -0700)]
Updating SetCpuInfo to be more accurate

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

5 years agoR2RDump - Fix and update R2RDumpTests (dotnet/coreclr#19039)
Amy [Tue, 31 Jul 2018 19:21:07 +0000 (12:21 -0700)]
R2RDump - Fix and update R2RDumpTests (dotnet/coreclr#19039)

* Fix GenericFunctions and MultipleRuntimeFunctions tests, x86 nwindInfo tests

* Fix tests

* Avoid using rva as index

* Update expected xml

* Add count as an attribute

* Clean up and move rebaseline script to r2rdump test directory

* Remove R2RDumpTest warnings

* Use original test framework instead of netcoreapp2.0

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

5 years agoAdd netcoreapp dependencies (dotnet/coreclr#19177)
Chris Sienkiewicz [Tue, 31 Jul 2018 18:23:43 +0000 (11:23 -0700)]
Add netcoreapp dependencies (dotnet/coreclr#19177)

* Add MicrosoftNETCoreAppPackageVersion to dependencies.props
- Add MicrosoftNETCoreAppPackageVersion property
- Add required coresetup dependency build infos

* Change test projects to use new MicrosoftNETCoreAppPackageVersion property

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

5 years agoExpose the x86 HWIntrinsics via a set of class hierarchies matching the underlying...
Tanner Gooding [Sat, 28 Jul 2018 15:39:08 +0000 (08:39 -0700)]
Expose the x86 HWIntrinsics via a set of class hierarchies matching the underlying ISA hierarchies

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

5 years agoMoving the ilproj sdk to be built/published under the TargetsWindows condition
Tanner Gooding [Mon, 30 Jul 2018 20:26:09 +0000 (13:26 -0700)]
Moving the ilproj sdk to be built/published under the TargetsWindows condition

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

5 years agoFix HW intrinsics test projects naming and optimization levels according to repo...
Jacek Blaszczynski [Sun, 29 Jul 2018 01:11:48 +0000 (03:11 +0200)]
Fix HW intrinsics test projects naming and optimization levels according to repo conventions

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

5 years agoTemporarily flag a SIMD test as optimization-sensitive (dotnet/coreclr#19163)
Koundinya Veluri [Mon, 30 Jul 2018 19:23:32 +0000 (12:23 -0700)]
Temporarily flag a SIMD test as optimization-sensitive (dotnet/coreclr#19163)

The test runs in several PR-triggered jobs. It fails with minopts and once tiering is enabled it would fail in every PR. See https://github.com/dotnet/coreclr/issues/19124.

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

5 years agoChange type of EnumLocaleData to struct (dotnet/coreclr#19193)
Jan Kotas [Mon, 30 Jul 2018 14:16:11 +0000 (07:16 -0700)]
Change type of EnumLocaleData to struct (dotnet/coreclr#19193)

Saves allocation and makes the code smaller. It had to be class before we had ref locals.

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

6 years agoFix invalid IntPtr == null comparisons, set strict mode for Roslyn (dotnet/coreclr...
Jacek Blaszczynski [Mon, 30 Jul 2018 00:56:32 +0000 (02:56 +0200)]
Fix invalid IntPtr == null comparisons, set strict mode for Roslyn (dotnet/coreclr#19191)

Issue reported in https://github.com/dotnet/corefx/issues/31456
Solution is to compare always against IntPtr.Zero and use Roslyn
stric mode for reporting warnings for IntPtr == null comparisons

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

6 years agoAdded version increment for TrimExcess and EnsureCapacity (dotnet/coreclr#19096)
Dávid Kaya [Sat, 28 Jul 2018 04:14:32 +0000 (06:14 +0200)]
Added version increment for TrimExcess and EnsureCapacity (dotnet/coreclr#19096)

* Added version increment for TrimExcess and EnsureCapacity

* Added old unit test to exclusion list

* Excluded missing unit tests

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

6 years agobuild-test - fix TestWrapper CS warnings (dotnet/coreclr#19180)
Jacek Blaszczynski [Sat, 28 Jul 2018 03:50:55 +0000 (05:50 +0200)]
build-test - fix TestWrapper CS warnings (dotnet/coreclr#19180)

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

6 years agospmi: exclude methods using a file with saved md5 hashes. (dotnet/coreclr#18769)
Sergey Andreenko [Sat, 28 Jul 2018 01:44:32 +0000 (18:44 -0700)]
spmi: exclude methods using a file with saved md5 hashes. (dotnet/coreclr#18769)

* read md5, linear search for each method.

* rewrite with HANDLE

* fix linux

* do not waste time dumping md5 if no methods exluded

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

6 years agoMerge pull request dotnet/coreclr#19165 from BruceForstall/FixCodeGenBringUpTestsBuilds
Bruce Forstall [Sat, 28 Jul 2018 00:21:03 +0000 (17:21 -0700)]
Merge pull request dotnet/coreclr#19165 from BruceForstall/FixCodeGenBringUpTestsBuilds

Specify specific build flavors for CodeGenBringUpTests tests

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

6 years agoAdd comment explaining the return value of ToUpper/ToLower (dotnet/coreclr#19176)
Ahson Khan [Sat, 28 Jul 2018 00:18:29 +0000 (17:18 -0700)]
Add comment explaining the return value of ToUpper/ToLower (dotnet/coreclr#19176)

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

6 years agoUpdate arm64 comment for IsCallTargetInRange function
Bruce Forstall [Fri, 27 Jul 2018 23:59:14 +0000 (16:59 -0700)]
Update arm64 comment for IsCallTargetInRange function

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

6 years agoLowering: Atomic ops can produce a value (dotnet/coreclr#19173)
Carol Eidt [Fri, 27 Jul 2018 23:19:48 +0000 (16:19 -0700)]
Lowering: Atomic ops can produce a value (dotnet/coreclr#19173)

* Lowering: Atomic ops can produce a value

dotnet/coreclr#18887 changed OperIsStore to include the atomic functions, but `Lowering::LowerArg()` and `Lowering::CheckCallArg()` assume that stores do not produce a value, so it doesn't correctly set the argument register (or build a `PUTARG_REG`) for the case where the result of an atomic op is passed to a call.
Fix this and add additional asserts.

Fix dotnet/coreclr#19171

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

6 years agoUpdating emitInsCanOnlyWriteSSE2OrAVXReg to cover some of the newer instructions.
Tanner Gooding [Thu, 26 Jul 2018 16:00:34 +0000 (09:00 -0700)]
Updating emitInsCanOnlyWriteSSE2OrAVXReg to cover some of the newer instructions.

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

6 years agoMerge pull request dotnet/coreclr#19145 from CarolEidt/Fix19081
Carol Eidt [Fri, 27 Jul 2018 20:26:30 +0000 (13:26 -0700)]
Merge pull request dotnet/coreclr#19145 from CarolEidt/Fix19081

Include long shifts in OperIsShiftOrRotate

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

6 years agoSpecify specific build flavors for CodeGenBringUpTests tests
Bruce Forstall [Fri, 27 Jul 2018 17:13:21 +0000 (10:13 -0700)]
Specify specific build flavors for CodeGenBringUpTests tests

Don't let them "float" based on the current build type.

Update the arm/arm64 tests.lst files to use the new `_ro` versions.
It is expected these files will disappear soon, so don't add all
the new versions to them.

Fixes dotnet/coreclr#9722

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

6 years agoJIT: add extra check to struct of struct of x promotion (dotnet/coreclr#19156)
Andy Ayers [Fri, 27 Jul 2018 18:09:02 +0000 (11:09 -0700)]
JIT: add extra check to struct of struct of x promotion (dotnet/coreclr#19156)

Avoid promoting structs that contain struct fields that themselves
wrap single simple fields, if those single simple fields are smaller
than their enclosing struct.

Otherwise we run the risk of losing track of the "extra" bytes in the
innner struct.

Addresses dotnet/coreclr#19149.

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

6 years agoAdd CI PR-triggered Ubuntu x64 innerloop no-tiering job (dotnet/coreclr#19123)
Koundinya Veluri [Fri, 27 Jul 2018 16:54:40 +0000 (09:54 -0700)]
Add CI PR-triggered Ubuntu x64 innerloop no-tiering job (dotnet/coreclr#19123)

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

6 years agoMerge pull request dotnet/coreclr#19154 from BruceForstall/FixArm64Localloc
Bruce Forstall [Fri, 27 Jul 2018 16:25:54 +0000 (09:25 -0700)]
Merge pull request dotnet/coreclr#19154 from BruceForstall/FixArm64Localloc

Fix overallocation of arm64 small constant localloc

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

6 years agoUpdate CoreClr, CoreFx, PgoData to preview1-26727-01, preview1-26727-01, master-20180...
dotnet-maestro-bot [Fri, 27 Jul 2018 13:29:25 +0000 (06:29 -0700)]
Update CoreClr, CoreFx, PgoData to preview1-26727-01, preview1-26727-01, master-20180727-0226, respectively (dotnet/coreclr#19102)

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

6 years agoReference in box HW intrinsics (dotnet/coreclr#19137)
Jacek Blaszczynski [Fri, 27 Jul 2018 05:35:51 +0000 (07:35 +0200)]
Reference in box HW intrinsics (dotnet/coreclr#19137)

* Update BuildTools, CoreClr, CoreFx, PgoData to preview1-03025-01, preview1-26726-01, preview1-26725-04, master-20180726-0111, respectively

* Reference System.Runtime.Intrinsics in box package

* Disable X509Certificates tests for CoreFX update

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

6 years agoMerge pull request dotnet/coreclr#19144 from BruceForstall/Fix13796
Bruce Forstall [Fri, 27 Jul 2018 04:42:30 +0000 (21:42 -0700)]
Merge pull request dotnet/coreclr#19144 from BruceForstall/Fix13796

Re-enable arm64 tests that no longer fail

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

6 years agoFixing the x86 hwintrinsics to not assert for invalid generic types.
Tanner Gooding [Thu, 26 Jul 2018 20:46:48 +0000 (13:46 -0700)]
Fixing the x86 hwintrinsics to not assert for invalid generic types.

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

6 years agoFix overallocation of arm64 small constant localloc
Bruce Forstall [Thu, 26 Jul 2018 23:18:44 +0000 (16:18 -0700)]
Fix overallocation of arm64 small constant localloc

We were dividing the number of bytes to allocate by 8 (right shift by 3)
to determine the number of loops, then allocating and zeroing 16 bytes
per loop.

Simplify this by removing the number of `STACK_ALIGN_SHIFT` cases we have.

Add a small test case that exhibits this behavior.

Fixes dotnet/coreclr#4571

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

6 years agoMerge pull request dotnet/coreclr#19153 from adityamandaleeka/fix_buildtest_help
Aditya Mandaleeka [Thu, 26 Jul 2018 23:04:13 +0000 (16:04 -0700)]
Merge pull request dotnet/coreclr#19153 from adityamandaleeka/fix_buildtest_help

Fix batch syntax error in help text

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

6 years agoFix syntax error in help text.
Aditya Mandaleeka [Thu, 26 Jul 2018 22:56:01 +0000 (15:56 -0700)]
Fix syntax error in help text.

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

6 years agoreenable corefx System.Runtime.Tests on arm32 (dotnet/coreclr#19128)
Sergey Andreenko [Thu, 26 Jul 2018 22:46:53 +0000 (15:46 -0700)]
reenable corefx System.Runtime.Tests  on arm32 (dotnet/coreclr#19128)

dotnet/coreclr#17585 the issue was fixed long time ago, but this exclusion was forgotten.

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

6 years agoAdding the Microsoft.NET.Sdk.IL pkgproj
Tanner Gooding [Fri, 20 Jul 2018 20:33:10 +0000 (13:33 -0700)]
Adding the Microsoft.NET.Sdk.IL pkgproj

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

6 years agoInclude long shifts in OperIsShiftOrRotate
Carol Eidt [Thu, 26 Jul 2018 20:44:47 +0000 (13:44 -0700)]
Include long shifts in OperIsShiftOrRotate

The register allocator uses `OperIsShiftOrRotate` as the assertion for the method that gets the kills for the class of instructions that use RCX as the shift amount register. Expand it to include `RSH_LO` and `LSH_HI`.

Fix dotnet/coreclr#19081

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

6 years agoRe-enable arm64 tests that no longer fail
Bruce Forstall [Thu, 26 Jul 2018 20:37:20 +0000 (13:37 -0700)]
Re-enable arm64 tests that no longer fail

Fixes dotnet/coreclr#13796, dotnet/coreclr#12549

Note that test GitHub_11408 is still disabled, now against issue dotnet/coreclr#11408.

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

6 years agoSwitch to using MicrosoftNETCorePlatformsPackageVersion as the RuntimeFrameworkVersio...
Chris Sienkiewicz [Thu, 26 Jul 2018 16:57:19 +0000 (09:57 -0700)]
Switch to using MicrosoftNETCorePlatformsPackageVersion as the RuntimeFrameworkVersion parameter in the test wrappers and SDK props file (dotnet/coreclr#19130)

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

6 years agoUpdate CoreFX documentation (dotnet/coreclr#19092)
Andon Andonov [Thu, 26 Jul 2018 02:10:17 +0000 (19:10 -0700)]
Update CoreFX documentation (dotnet/coreclr#19092)

* Update CoreFX documentation

* Add test binary refresh and parallelization sections

* Add test exclusion information

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

6 years agoSdk test projects (dotnet/coreclr#19044)
Chris Sienkiewicz [Wed, 25 Jul 2018 18:13:27 +0000 (11:13 -0700)]
Sdk test projects (dotnet/coreclr#19044)

Change the associated targets and props files in the test directory to allow the test csproj's to be built as SDK style projects alongside traditional style projects.

Remove CodeTaskFactory:
- Allows the projects to be built using the core version of msbuild/dotnet build
- Converted to using msbuild property expansion instead

Add directory.build.{props,targets}:
- Currently we just import the dirs.props and targets, but means SDK style projects don't need to explicitly include these files
- We probably want to move all projects over to using these in the future, but this keeps the changes smaller for now

Specific code for SDK projects:
- There are a several changes required to build an SDK project. This change guards them behind conditionals so that only the new style projects see them. When we get to the point that there are only new projects, we can remove the guards (probably at the same time as ditching the dir.props)

Reordered build targets:
- Because SDK projects implicitly import the build targets, we can no longer re-define the build targets unconditionally knowing they will likely be overwritten.
- Instead we move the overwritten targets to separate files, and include these conditionally based on properties. In this way there is always a build defined for SDK projects, which can then be overwritten to do nothing as needed.

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

6 years agoRemoving duplicate CoreCLRTestLibrary project references
Tanner Gooding [Fri, 20 Jul 2018 18:07:30 +0000 (11:07 -0700)]
Removing duplicate CoreCLRTestLibrary project references

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

6 years agoRegenerating the x86 HWIntrinsic templated tests
Tanner Gooding [Fri, 20 Jul 2018 17:52:21 +0000 (10:52 -0700)]
Regenerating the x86 HWIntrinsic templated tests

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

6 years agoRemoving `Random random = new Random()` from the HWIntrinsic templates
Tanner Gooding [Fri, 20 Jul 2018 17:50:14 +0000 (10:50 -0700)]
Removing `Random random = new Random()` from the HWIntrinsic templates

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

6 years agoRealigning the HWIntrinsic template metadata tables
Tanner Gooding [Fri, 20 Jul 2018 17:47:47 +0000 (10:47 -0700)]
Realigning the HWIntrinsic template metadata tables

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

6 years agoReplacing usages of random with TestLibrary.Generator in the HWIntrinsic template...
Tanner Gooding [Fri, 20 Jul 2018 17:32:47 +0000 (10:32 -0700)]
Replacing usages of random with TestLibrary.Generator in the HWIntrinsic template metadata

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

6 years agoAdding TestLibrary.Generator methods for unsigned types
Tanner Gooding [Fri, 20 Jul 2018 17:19:33 +0000 (10:19 -0700)]
Adding TestLibrary.Generator methods for unsigned types

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

6 years agoFix mscordbi metadata reader alignment bug on Linux. (dotnet/coreclr#19070)
Mike McLaughlin [Tue, 24 Jul 2018 19:19:59 +0000 (12:19 -0700)]
Fix mscordbi metadata reader alignment bug on Linux. (dotnet/coreclr#19070)

Works fine on Windows minidumps, but on Linux (via OpenVirtualProcess
for production breakpoints and future core dumps) the compiler's struct
alignment rules are different. On Windows, classes/structs are aligned
based on the largest field. On Linux, they are 4 byte aligned regardless
of the field sizes.

https://github.com/dotnet/coreclr/issues/17692

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

6 years agoRelease leaked ICorProfilerCallback9 in ~EEToProfInterfaceImpl (dotnet/coreclr#19106)
Ilia [Tue, 24 Jul 2018 16:49:16 +0000 (19:49 +0300)]
Release leaked ICorProfilerCallback9 in ~EEToProfInterfaceImpl (dotnet/coreclr#19106)

Bug: 19093

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

6 years agoMerge pull request dotnet/coreclr#19099 from BruceForstall/Arm64DebugBuild
Bruce Forstall [Tue, 24 Jul 2018 15:29:07 +0000 (08:29 -0700)]
Merge pull request dotnet/coreclr#19099 from BruceForstall/Arm64DebugBuild

Change Windows arm32/arm64 Debug normal/innerloop jobs to NOT run tests

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

6 years agoRevert "Revert "Fix some failures when using build-test.sh"" (dotnet/coreclr#18919)
Russ Keldorph [Tue, 24 Jul 2018 15:25:59 +0000 (08:25 -0700)]
Revert "Revert "Fix some failures when using build-test.sh"" (dotnet/coreclr#18919)

This reverts commit dotnet/coreclr@184c3504e763ea7147505a8d49cb54b43cc82d78.

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

6 years agoWork around cmd command length limit in xunit Exec task (dotnet/coreclr#19095)
Sven Boemer [Tue, 24 Jul 2018 15:22:31 +0000 (08:22 -0700)]
Work around cmd command length limit in xunit Exec task (dotnet/coreclr#19095)

On Windows, the Exec task passes the command to cmd, so long commands
run into the command length limit (see
https://github.com/Microsoft/msbuild/issues/2530). This workaround
shortens the xunit command line by replacing the path to the test
binary directory with an environment variable.

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

6 years agoAdd root MSBuild targets for Interop managed test assets (dotnet/coreclr#19069)
Aaron Robinson [Tue, 24 Jul 2018 01:40:17 +0000 (18:40 -0700)]
Add root MSBuild targets for Interop managed test assets (dotnet/coreclr#19069)

Add root CMake file for Interop native test assets

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

6 years agoChange Windows arm32/arm64 Debug normal/innerloop jobs to NOT run tests
Bruce Forstall [Mon, 23 Jul 2018 23:20:26 +0000 (16:20 -0700)]
Change Windows arm32/arm64 Debug normal/innerloop jobs to NOT run tests

We don't want these Debug jobs to run tests, because Debug testing is
slow, and we have few machine resources. It's a bit of a bug that we
are currently running tests, because the job is named with "Build", not
"Build and Test".

So make it do what the name says: Debug normal/innerloop arm32/arm64 jobs
will not run tests.

This is asymmetric, unfortunately. I might prefer that the Debug jobs get
generated as "Build and Test", but just not be triggered. (But be available
for triggering.) Or perhaps just not get generated. That might require a
separate set of just "Build" jobs that could be useful in some scenarios,
such as for what the current Debug "Build" only jobs are currently used for.

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

6 years agoAdd missing FlushInstructionCache to Thread::CommitGCStressInstructionUpdate (dotnet...
Egor Chesakov [Mon, 23 Jul 2018 21:15:07 +0000 (14:15 -0700)]
Add missing FlushInstructionCache to Thread::CommitGCStressInstructionUpdate (dotnet/coreclr#18784)

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

6 years agoDisable tests failing on ARM32 in https://github.com/dotnet/coreclr/pull/18784 (dotne...
Egor Chesakov [Mon, 23 Jul 2018 21:13:20 +0000 (14:13 -0700)]
Disable tests failing on ARM32 in https://github.com/dotnet/coreclr/pull/18784 (dotnet/coreclr#19087)

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