platform/upstream/coreclr.git
6 years agofix COMPlus_JitHalt for arm32. (#15761)
Sergey Andreenko [Fri, 5 Jan 2018 22:41:40 +0000 (14:41 -0800)]
fix COMPlus_JitHalt for arm32. (#15761)

6 years agoUpdate BuildTools, CoreClr, CoreFx to prerelease-02404-02, preview1-26105-01, preview...
dotnet-maestro-bot [Fri, 5 Jan 2018 19:53:37 +0000 (13:53 -0600)]
Update BuildTools, CoreClr, CoreFx to prerelease-02404-02, preview1-26105-01, preview1-26105-01, respectively (#15736)

6 years agoAggregateException: Use StringBuilder.AppendFormat (#15747)
Justin Van Patten [Fri, 5 Jan 2018 06:10:46 +0000 (22:10 -0800)]
AggregateException: Use StringBuilder.AppendFormat (#15747)

Use `AppendFormat(...)` instead of `Append(string.Format(...))` and
`AppendLine()` instead of `Append(Environment.NewLine)`.

6 years agoUnix: Specify Ordinal comparison in TimeZoneInfo (#15739)
Justin Van Patten [Fri, 5 Jan 2018 04:43:20 +0000 (20:43 -0800)]
Unix: Specify Ordinal comparison in TimeZoneInfo (#15739)

The default behavior for StartsWith uses the current culture for
comparisons. These should be ordinal.

6 years agoAddress ReflectionTypeLoadException feedback (#15738)
Justin Van Patten [Fri, 5 Jan 2018 04:42:58 +0000 (20:42 -0800)]
Address ReflectionTypeLoadException feedback (#15738)

* Address ReflectionTypeLoadException feedback

Address additional minor feedback from #15711:

 - Share the code for `Message` and `ToString`
 - Remove trailing `NewLine` from resulting string
 - Pass initial base string to `StringBuilder..ctor`
 - Cache the exceptions array in a local (passed-in as a parameter)
 - Move methods below properties
 - Remove trailing whitespace

6 years agoUse string.Contains(char) instead of Contains(string) (#15740)
Justin Van Patten [Fri, 5 Jan 2018 04:42:28 +0000 (20:42 -0800)]
Use string.Contains(char) instead of Contains(string) (#15740)

Now that string.Contains(char) exists, use it in corelib.

6 years agoAdding EnsureCapacity implementation for Dictionary (#15729)
Maryam Ariyan [Fri, 5 Jan 2018 04:23:39 +0000 (23:23 -0500)]
Adding EnsureCapacity implementation for Dictionary (#15729)

Adding EnsureCapacity implementation for Dictionary

6 years agoUpdate profiling API status (#15659)
Sung Yoon Whang [Fri, 5 Jan 2018 02:04:07 +0000 (18:04 -0800)]
Update profiling API status (#15659)

* Update profiling API status

* Fix wording for ARM ReJIT issue

6 years agoRemove duplicate callback to AppDomainCreationFinished in profiler (#15691)
Sung Yoon Whang [Fri, 5 Jan 2018 01:54:29 +0000 (17:54 -0800)]
Remove duplicate callback to AppDomainCreationFinished in profiler (#15691)

6 years agoChange monitor test (#15727)
Koundinya Veluri [Fri, 5 Jan 2018 01:34:35 +0000 (17:34 -0800)]
Change monitor test (#15727)

Relevant to https://github.com/dotnet/coreclr/issues/15592:
- Not sure what is actually happening, guessing there is an exception during TryEnter() and the exception from Exit() from the finally block is hiding the actual exception
- Moved TryEnter() to before the try block
- Fixed pass/fail condition for some similar monitor tests

6 years agoFix waitone test (#15728)
Koundinya Veluri [Fri, 5 Jan 2018 01:34:09 +0000 (17:34 -0800)]
Fix waitone test (#15728)

Fixes https://github.com/dotnet/coreclr/issues/15098:
- Probably a timing issue, changed to use Thread.Join() instead of sleeps

6 years agoReset lvIsStructField when removing promoted struct vars (#15721)
mikedn [Thu, 4 Jan 2018 23:40:59 +0000 (01:40 +0200)]
Reset lvIsStructField when removing promoted struct vars (#15721)

6 years agoMerge pull request #15726 from CarolEidt/Fix15237
Carol Eidt [Thu, 4 Jan 2018 23:35:03 +0000 (15:35 -0800)]
Merge pull request #15726 from CarolEidt/Fix15237

Keep OBJ on mismatched struct assignment

6 years agoRemove bad assert in Mutex & update error messages (#15734)
William Godbe [Thu, 4 Jan 2018 23:04:46 +0000 (15:04 -0800)]
Remove bad assert in Mutex & update error messages (#15734)

* Remove bad assert in Mutex & update error messages

* Redo error message

6 years agoMerge changes from TFS (#15732)
dotnet bot [Thu, 4 Jan 2018 21:59:50 +0000 (13:59 -0800)]
Merge changes from TFS (#15732)

* Remove unused CORJIT_FLAG_USE_SSE3_4

This changes the JIT-EE interface GUID.

This is the desktop side of https://github.com/dotnet/coreclr/pull/14825.

[tfs-changeset: 1685154]

* Pick up rest of desktop side changes

6 years agoMark all CoreCLR packages as non-shipping (#15725)
Davis Goodin [Thu, 4 Jan 2018 20:54:25 +0000 (14:54 -0600)]
Mark all CoreCLR packages as non-shipping (#15725)

This indicates the packages shouldn't be shipped to the NuGet gallery.

6 years agoUpdate BuildTools, CoreClr, CoreFx to prerelease-02403-01, preview1-26103-02, preview...
dotnet-maestro-bot [Thu, 4 Jan 2018 15:41:17 +0000 (09:41 -0600)]
Update BuildTools, CoreClr, CoreFx to prerelease-02403-01, preview1-26103-02, preview1-26104-02, respectively (#15684)

6 years agoFix link to IdnMapping.cs (#15717)
Jan Kotas [Thu, 4 Jan 2018 06:22:09 +0000 (22:22 -0800)]
Fix link to IdnMapping.cs (#15717)

6 years agoLink to THIRD-PARTY-NOTICES is fixed (#15665)
Atanu [Thu, 4 Jan 2018 06:14:55 +0000 (11:44 +0530)]
Link to THIRD-PARTY-NOTICES is fixed (#15665)

The link to the THIRD-PARTY-NOTICES page is broken in contributing.md [https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/contributing.md]

The current link is [https://github.com/dotnet/coreclr/blob/master/THIRD-PARTY-NOTICES]

Seems it is missing a '.TXT' at the end of the URL. The correct link should be [https://github.com/dotnet/coreclr/blob/master/THIRD-PARTY-NOTICES.TXT] which is working fine.

Issue #15664

6 years agoCheck for null in ReflectionTypeLoadException Message/ToString (#15711)
William Godbe [Thu, 4 Jan 2018 04:35:55 +0000 (20:35 -0800)]
Check for null in ReflectionTypeLoadException Message/ToString (#15711)

6 years agoFix typo in docstring (#15714)
Russell Cohen [Thu, 4 Jan 2018 04:15:12 +0000 (20:15 -0800)]
Fix typo in docstring (#15714)

6 years agoKeep OBJ on mismatched struct assignment
Carol Eidt [Thu, 4 Jan 2018 01:45:07 +0000 (17:45 -0800)]
Keep OBJ on mismatched struct assignment

In a mismatched struct assignment, e.g. using Unsafe.As, we need to retain the OBJ(ADDR(lcl)) on the rhs of the assignment.

Fix #15237

6 years agoMerge pull request #15706 from dotnet-bot/from-tfs
Bruce Forstall [Thu, 4 Jan 2018 00:57:13 +0000 (16:57 -0800)]
Merge pull request #15706 from dotnet-bot/from-tfs

Merge changes from TFS

6 years agoUse the message that the ReflectionTypeLoadException exception was initialized with...
dotnet bot [Thu, 4 Jan 2018 00:46:05 +0000 (16:46 -0800)]
Use the message that the ReflectionTypeLoadException exception was initialized with (#15708)

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agoUpdating the build script to work when python is installed to a path containing a...
Tanner Gooding [Thu, 4 Jan 2018 00:45:10 +0000 (16:45 -0800)]
Updating the build script to work when python is installed to a path containing a space. (#15707)

6 years agoMerge pull request #15614 from BruceForstall/AddPushPeriodicViews
Bruce Forstall [Thu, 4 Jan 2018 00:26:47 +0000 (16:26 -0800)]
Merge pull request #15614 from BruceForstall/AddPushPeriodicViews

Add more Views to Jenkins UI

6 years agoFix size-on-disk benchmark to handle new CLI behavior (#15689)
Victor "Nate" Graf [Wed, 3 Jan 2018 22:55:35 +0000 (14:55 -0800)]
Fix size-on-disk benchmark to handle new CLI behavior (#15689)

Add flag to ensure ensure the compiler server is not used so that the installation can be deleted successfully after the test. Additionally use a more robust deletion strategy to ensure files are deleted and the test does not fail spuriously due to random IO errors.

6 years agoFix formatting
Andy Ayers [Wed, 3 Jan 2018 22:46:20 +0000 (14:46 -0800)]
Fix formatting

6 years agoMerge pull request #15602 from sdmaclea/PR-HWINT-XARCH-DEP
Bruce Forstall [Wed, 3 Jan 2018 22:24:34 +0000 (14:24 -0800)]
Merge pull request #15602 from sdmaclea/PR-HWINT-XARCH-DEP

[Arm64] getBaseTypeAndSizeOfSIMDType

6 years agoSpill the eval stack when storing to a pinned local.
Andy Ayers [Wed, 3 Jan 2018 22:11:18 +0000 (14:11 -0800)]
Spill the eval stack when storing to a pinned local.

The jit may not see direct interference between a pinned local and expressions that use the pinned value. So worst case it should assume that such interference exists and spill the stack when storing to a pinned local. Otherwise the jit may reorder unpins and calls that refer to pinned storage.

Fixes DevDiv 545749

[tfs-changeset: 1685045]

6 years agoPass manifest details to PushToBlobFeed (#15705)
Davis Goodin [Wed, 3 Jan 2018 21:47:58 +0000 (15:47 -0600)]
Pass manifest details to PushToBlobFeed (#15705)

6 years agoMerge pull request #15702 from sdmaclea/PR-EOL
Carol Eidt [Wed, 3 Jan 2018 19:23:24 +0000 (11:23 -0800)]
Merge pull request #15702 from sdmaclea/PR-EOL

Normalize lsra.h line endings

6 years agoNormalize lsra.h line endings
Steve MacLean [Wed, 3 Jan 2018 18:45:52 +0000 (13:45 -0500)]
Normalize lsra.h line endings

6 years agoPrint Inner Exceptions in ReflectionTypeLoadException ToString (#15688)
William Godbe [Wed, 3 Jan 2018 18:42:37 +0000 (10:42 -0800)]
Print Inner Exceptions in ReflectionTypeLoadException ToString (#15688)

* Print Inner Exceptions in ReflectionTypeLoadException ToString

* Simplify formatting

* Remove tab

* Fix newlines

* Use AppendLine

* Use foreach

* Remove ToString

* Update string & message

* Modify Message

* Remove parens

6 years ago[Arm64] getBaseTypeAndSizeOfSIMDType
Steve MacLean [Tue, 19 Dec 2017 22:53:17 +0000 (17:53 -0500)]
[Arm64] getBaseTypeAndSizeOfSIMDType

Remove XARCH platform dependencies
Disable Vector256 support on Arm64 until needed

6 years agoMerge pull request #15698 from mikedn/patch-1
Bruce Forstall [Wed, 3 Jan 2018 17:24:35 +0000 (09:24 -0800)]
Merge pull request #15698 from mikedn/patch-1

Fix minor formatting issue in jit-call-morphing.md

6 years agoMerge pull request #15699 from CarolEidt/FixFeatureSIMDDesc
Carol Eidt [Wed, 3 Jan 2018 16:59:41 +0000 (08:59 -0800)]
Merge pull request #15699 from CarolEidt/FixFeatureSIMDDesc

Fix description of FeatureSIMD

6 years agoUse Span to drop byte[1] allocations (#15680)
Ben Adams [Wed, 3 Jan 2018 16:40:03 +0000 (16:40 +0000)]
Use Span to drop byte[1] allocations (#15680)

6 years agoFix description of FeatureSIMD
Carol Eidt [Wed, 3 Jan 2018 16:15:23 +0000 (08:15 -0800)]
Fix description of FeatureSIMD

The associated dll is actually System.Numerics.Vectors.dll,
plus System.Numerics.dll on desktop.

6 years agoFix minor formatting issue in jit-call-morphing.md
mikedn [Wed, 3 Jan 2018 14:39:26 +0000 (16:39 +0200)]
Fix minor formatting issue in jit-call-morphing.md

6 years agoMerge pull request #15692 from BruceForstall/DisableJitdiffJobs
Bruce Forstall [Tue, 2 Jan 2018 23:44:08 +0000 (15:44 -0800)]
Merge pull request #15692 from BruceForstall/DisableJitdiffJobs

Disable jitdiff jobs

6 years agoDisable jitdiff jobs
Bruce Forstall [Tue, 2 Jan 2018 23:30:48 +0000 (15:30 -0800)]
Disable jitdiff jobs

They are failing now. Disable them until someone puts the effort
in to make them fully work.

6 years agoMerge pull request #15640 from tannergooding/hwintrin-lower
Carol Eidt [Tue, 2 Jan 2018 21:29:28 +0000 (13:29 -0800)]
Merge pull request #15640 from tannergooding/hwintrin-lower

Adding basic containment analysis support for hardware intrinsics.

6 years agoMerge pull request #15596 from CarolEidt/RemoveMap
Carol Eidt [Tue, 2 Jan 2018 19:58:33 +0000 (11:58 -0800)]
Merge pull request #15596 from CarolEidt/RemoveMap

LSRA: Replace operandToLocationInfoMap with a list

6 years agoRetry: Enable EventPipe across Unix and Windows (#15611)
Victor "Nate" Graf [Tue, 2 Jan 2018 17:47:20 +0000 (09:47 -0800)]
Retry: Enable EventPipe across Unix and Windows (#15611)

* Revert "Revert "Enable EventPipe across Unix and Windows (#14772)" (#15609)"

This reverts commit 302005ca8ae14eade37ddf4ac6e900617c1c166a.

* Fix ARM build break

* Use more explicit references to resolve build failures

* Fix compat with python3

* Disable FeaturePerfTracing on Windows as it is not ready

* Disable test for incomplete functionality

* Fix test diabled patterns

* Add license header

* Use keyword types for managed code

* Add message prefix

* More precisly condition generation of eventing sources

* Remove erroneously added changes

6 years agoUpdate BuildTools, CoreClr, CoreFx to prerelease-02402-01, preview1-26102-02, preview...
dotnet-maestro-bot [Tue, 2 Jan 2018 16:56:55 +0000 (10:56 -0600)]
Update BuildTools, CoreClr, CoreFx to prerelease-02402-01, preview1-26102-02, preview1-26102-01, respectively (#15678)

6 years agoGive a proper VN to GT_BOX (#15666)
mikedn [Tue, 2 Jan 2018 16:01:08 +0000 (18:01 +0200)]
Give a proper VN to GT_BOX (#15666)

GT_BOX doesn't do anything so it should just get the VN of its sole operand. This allows assertion prop to see that the result of BOX is not null (since the BOX operand is the result of an object allocation which is never null).

6 years agoEncoding: Don't alloc for zero length array (#13794)
Ben Adams [Tue, 2 Jan 2018 02:24:42 +0000 (02:24 +0000)]
Encoding: Don't alloc for zero length array (#13794)

6 years agoRemove some unnecessary boxing (#15676)
mikedn [Tue, 2 Jan 2018 02:24:03 +0000 (04:24 +0200)]
Remove some unnecessary boxing (#15676)

6 years agoReturn StringBuilder back to cache when not making any replacements (#15677)
Bruce Bowyer-Smyth [Mon, 1 Jan 2018 16:48:47 +0000 (02:48 +1000)]
Return StringBuilder back to cache when not making any replacements (#15677)

6 years agoUpdate CoreClr, CoreFx to preview1-26101-01, preview1-26101-01, respectively (#15672)
dotnet-maestro-bot [Mon, 1 Jan 2018 11:54:46 +0000 (05:54 -0600)]
Update CoreClr, CoreFx to preview1-26101-01, preview1-26101-01, respectively (#15672)

6 years agoReplace a few for loops with foreach to avoid loop cloning (#15668)
mikedn [Fri, 29 Dec 2017 23:07:47 +0000 (01:07 +0200)]
Replace a few for loops with foreach to avoid loop cloning (#15668)

A pattern like
int len = a.Length;
for (int i = 0; i < len; i++) { ... a[i] ... }
may result in unnecessary loop cloning.

Anyway, there's no real reason to use a for loop in any of these case. Avois the need for a cast too.

Also remove duplicated code related to AppDomain.OnXResolveEvent method.

6 years agoRemove lib prefix for System.Globalization.Native.a to match all other libraries...
Jan Kotas [Fri, 29 Dec 2017 17:34:18 +0000 (09:34 -0800)]
Remove lib prefix for System.Globalization.Native.a to match all other libraries (#15667)

6 years agoUpdate CoreClr, CoreFx to preview1-26029-02, preview1-26029-02, respectively (#15636)
dotnet-maestro-bot [Fri, 29 Dec 2017 15:50:32 +0000 (09:50 -0600)]
Update CoreClr, CoreFx to preview1-26029-02, preview1-26029-02, respectively (#15636)

6 years agoRemove reflection block on methods with MethodAttributes.RequireSecObject flag (...
Jan Kotas [Fri, 29 Dec 2017 13:17:57 +0000 (05:17 -0800)]
Remove reflection block on methods with MethodAttributes.RequireSecObject flag (#15663)

This is not applicable for CoreCLR since CoreCLR does not have CAS, and this flag was overloaded for other purpose.

Fixes #15662

6 years agoMake HandleRef fields private
Jan Kotas [Fri, 29 Dec 2017 00:26:46 +0000 (16:26 -0800)]
Make HandleRef fields private

6 years agoMerge pull request dotnet/corert#5148 from dotnet/nmirror
Jan Kotas [Sat, 23 Dec 2017 05:42:41 +0000 (21:42 -0800)]
Merge pull request dotnet/corert#5148 from dotnet/nmirror

Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
6 years agoMerge pull request #15341 from tannergooding/simd-scalar
Tanner Gooding [Fri, 29 Dec 2017 00:54:20 +0000 (16:54 -0800)]
Merge pull request #15341 from tannergooding/simd-scalar

Adding scalar hardware intrinsics for x86.

6 years agoRecognize STA\MTA Attribute For Main Function (#15652)
Anirudh Agnihotry [Fri, 29 Dec 2017 00:35:12 +0000 (16:35 -0800)]
Recognize STA\MTA Attribute For Main Function (#15652)

* Apartment state set for main method

* g_fWeownprocess removed and CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_FinalizeOnShutdown) set

6 years agoRemoved redundant null tests when sorting a secondary values array. (#14277)
Colin Green [Fri, 29 Dec 2017 00:15:24 +0000 (00:15 +0000)]
Removed redundant null tests when sorting a secondary values array. (#14277)

6 years agoMerge pull request #15658 from BruceForstall/FixBuildWarnings
Bruce Forstall [Thu, 28 Dec 2017 22:28:38 +0000 (14:28 -0800)]
Merge pull request #15658 from BruceForstall/FixBuildWarnings

Fix desktop build warnings

6 years agoFix desktop build warnings
Bruce Forstall [Thu, 28 Dec 2017 18:11:47 +0000 (10:11 -0800)]
Fix desktop build warnings

6 years agoExtending FormatException's message with datetime/format (#15635)
Szabolcs Dézsi [Thu, 28 Dec 2017 18:11:30 +0000 (13:11 -0500)]
Extending FormatException's message with datetime/format (#15635)

* Extending FormatException's message with datetime/format

* Applying feedback from review

6 years agoLink to the File Header Example for C# was broken. (#15655)
Atanu [Thu, 28 Dec 2017 17:21:33 +0000 (22:51 +0530)]
Link to the File Header Example for C# was broken. (#15655)

The File Header example for C# was redirecting to (../../src/mscorlib/src/System/Collections/Generic/List.cs) which was missing in the master repository. The example file has been changed to Comparer.cs which is another file in the same repo path.

6 years agoUpdated CreateMethodDesc to pass along the `IsJitIntrinsic` flag for generic methods...
Tanner Gooding [Thu, 28 Dec 2017 04:23:26 +0000 (20:23 -0800)]
Updated CreateMethodDesc to pass along the `IsJitIntrinsic` flag for generic methods. (#15653)

6 years agoUpdated links to ABI conventions (#15651)
Alfred Myers [Wed, 27 Dec 2017 20:31:09 +0000 (17:31 -0300)]
Updated links to ABI conventions (#15651)

6 years agoUpdate the version of the xUnit Performance Api (#15620)
José Rivero [Wed, 27 Dec 2017 17:48:34 +0000 (09:48 -0800)]
Update the version of the xUnit Performance Api (#15620)

- This version fail broken benchmarks, so we can catch bad codegen and bug earlier.
- Changed the harness to exit with non-zero code when an exception is thrown.

6 years agoAdding basic containment analysis support for hardware intrinsics.
Tanner Gooding [Wed, 27 Dec 2017 01:15:37 +0000 (17:15 -0800)]
Adding basic containment analysis support for hardware intrinsics.

6 years agoResolve race in ShimProxyCallback::AddRef (#15643)
Ben Adams [Wed, 27 Dec 2017 16:12:14 +0000 (16:12 +0000)]
Resolve race in ShimProxyCallback::AddRef (#15643)

6 years agoUpdate CoreClr, CoreFx to preview1-26026-01, preview1-26026-01, respectively (#15630)
dotnet-maestro-bot [Tue, 26 Dec 2017 08:40:15 +0000 (02:40 -0600)]
Update CoreClr, CoreFx to preview1-26026-01, preview1-26026-01, respectively (#15630)

6 years agoUpdate CoreClr, CoreFx to preview1-26024-02, preview1-26024-01, respectively (#15628)
dotnet-maestro-bot [Sun, 24 Dec 2017 08:02:03 +0000 (02:02 -0600)]
Update CoreClr, CoreFx to preview1-26024-02, preview1-26024-01, respectively (#15628)

6 years agoMake DangerousGetPinnableReference internal and remove DangerousTryGetArray (#15557)
Ahson Khan [Sun, 24 Dec 2017 01:43:26 +0000 (17:43 -0800)]
Make DangerousGetPinnableReference internal and remove DangerousTryGetArray (#15557)

* Make DangerousGetPinnableReference internal and remove DangerousTryGetArray

* Change DangerousGetPinnableReference to return ref readonly

6 years agoUpdate CoreClr, CoreFx to preview1-26023-03, preview1-26023-03, respectively (#15624)
dotnet-maestro-bot [Sat, 23 Dec 2017 22:41:05 +0000 (16:41 -0600)]
Update CoreClr, CoreFx to preview1-26023-03, preview1-26023-03, respectively (#15624)

6 years agoUpdate CoreClr, CoreFx to preview1-26023-01, preview1-26023-01, respectively (#15622)
dotnet-maestro-bot [Sat, 23 Dec 2017 07:37:43 +0000 (01:37 -0600)]
Update CoreClr, CoreFx to preview1-26023-01, preview1-26023-01, respectively (#15622)

6 years ago[Arm64] Disable HW Intrinsic NGEN (#15603)
Steve MacLean [Sat, 23 Dec 2017 00:54:35 +0000 (19:54 -0500)]
[Arm64] Disable HW Intrinsic NGEN (#15603)

6 years agoUpdate BuildTools, CoreClr, CoreFx to prerelease-02322-02, preview1-26022-02, preview...
dotnet-maestro-bot [Fri, 22 Dec 2017 22:00:09 +0000 (16:00 -0600)]
Update BuildTools, CoreClr, CoreFx to prerelease-02322-02, preview1-26022-02, preview1-26022-02, respectively (#15612)

6 years agoFix manual GC_PROTECTs around StackTraceArray (#15621)
Jan Kotas [Fri, 22 Dec 2017 21:57:20 +0000 (13:57 -0800)]
Fix manual GC_PROTECTs around StackTraceArray (#15621)

StackTraceArray wraps GC reference that needs to be GC_PROTECTED exactly once accross all GC triggering points. The calls from copy constructor and assignment operator were violating this invariant. I have fixed this by deleting the copy constructor and assignment operator, and replaced their use by explicit CopyFrom method.

Fixes #15537

6 years agoSmall changes around stack levels. (#15616)
Sergey Andreenko [Fri, 22 Dec 2017 21:15:41 +0000 (13:15 -0800)]
Small changes around stack levels. (#15616)

* add ifdef for fgThrowHlpBlkStkLevel

* fgFindExcptnTarget should not be called fof dbg code compilation mode.

6 years agoMake views recursive
Bruce Forstall [Fri, 22 Dec 2017 19:54:08 +0000 (11:54 -0800)]
Make views recursive

6 years agoMinor tweaks (#15590)
Alfred Myers [Fri, 22 Dec 2017 19:50:16 +0000 (16:50 -0300)]
Minor tweaks (#15590)

6 years agoOrganizing the tests/src/JIT/HardwareIntrinsics/X86 folder by ISA to make it more...
Tanner Gooding [Fri, 22 Dec 2017 19:11:08 +0000 (11:11 -0800)]
Organizing the tests/src/JIT/HardwareIntrinsics/X86 folder by ISA to make it more manageable. (#15617)

6 years agoTry Views class
Bruce Forstall [Fri, 22 Dec 2017 18:47:59 +0000 (10:47 -0800)]
Try Views class

6 years agoMark view variables static
Bruce Forstall [Fri, 22 Dec 2017 18:13:43 +0000 (10:13 -0800)]
Mark view variables static

6 years agomark call->fgArgInfo with hasStackArgs for arm32 split args (#15615)
Sergey Andreenko [Fri, 22 Dec 2017 17:58:21 +0000 (09:58 -0800)]
mark call->fgArgInfo with hasStackArgs for arm32 split args (#15615)

6 years agoAdd more Views to Jenkins UI
Bruce Forstall [Thu, 21 Dec 2017 23:26:31 +0000 (15:26 -0800)]
Add more Views to Jenkins UI

Add specific views for:
1. All push jobs (view named "Merge")
2. All periodic jobs
3. A view per architecture
4. A view per OS

This allows looking at a much smaller subset of the entire set of jobs.

None of the specific views include PR jobs.

6 years agoicushim: try using the build-time libicu version (#15562)
Tom Deseyn [Fri, 22 Dec 2017 12:25:43 +0000 (13:25 +0100)]
icushim: try using the build-time libicu version (#15562)

* icushim: try using the build-time libicu version

* Based on ICU packaging doc, use major instead of (major, minor)

* Verify we can look-up symbols on the build version

* First find Major; add FEATURE_FIXED_ICU_VERSION

* Move FindSymbolVersion check in OpenICULibraries

* Remove FEATURE_FIXED_ICU_VERSION

6 years agoMerge pull request #15610 from BruceForstall/UpBuildOnlyTimeout
Bruce Forstall [Thu, 21 Dec 2017 20:35:10 +0000 (12:35 -0800)]
Merge pull request #15610 from BruceForstall/UpBuildOnlyTimeout

Increase build only job timeouts

6 years agoIncrease build only job timeouts
Bruce Forstall [Thu, 21 Dec 2017 20:20:52 +0000 (12:20 -0800)]
Increase build only job timeouts

Jobs such as checked_windows_nt_bld that now build Pri-1 tests
are timing out. Increase BuildOnly timeouts to compensate.

6 years agoRevert "Enable EventPipe across Unix and Windows (#14772)" (#15609)
Victor "Nate" Graf [Thu, 21 Dec 2017 19:48:14 +0000 (11:48 -0800)]
Revert "Enable EventPipe across Unix and Windows (#14772)" (#15609)

This reverts commit 7524d72d4f0f634fe5407280b83c25181dc8c556.

6 years agoUpdate BuildTools, CoreClr, CoreFx to prerelease-02320-01, preview1-26020-03, preview...
dotnet-maestro-bot [Thu, 21 Dec 2017 16:23:48 +0000 (10:23 -0600)]
Update BuildTools, CoreClr, CoreFx to prerelease-02320-01, preview1-26020-03, preview1-26021-02, respectively (#15558)

6 years agoMerge pull request #15600 from BruceForstall/FixPri0Builds
Bruce Forstall [Thu, 21 Dec 2017 04:40:08 +0000 (20:40 -0800)]
Merge pull request #15600 from BruceForstall/FixPri0Builds

Fix build-only test priority

6 years agoFix build-only test priority
Bruce Forstall [Thu, 21 Dec 2017 04:30:14 +0000 (20:30 -0800)]
Fix build-only test priority

Build-only jobs used to create non-Windows test assets were changed
undesirably to build only pri-0 tests.

Addresses #15569

6 years agoMerge pull request #15599 from BruceForstall/IncreaseDebugTimeout
Bruce Forstall [Thu, 21 Dec 2017 04:27:53 +0000 (20:27 -0800)]
Merge pull request #15599 from BruceForstall/IncreaseDebugTimeout

Add an hour to test job timeouts to account for their slowness

6 years agoAdd an hour to test job timeouts to account for their slowness
Bruce Forstall [Thu, 21 Dec 2017 04:07:14 +0000 (20:07 -0800)]
Add an hour to test job timeouts to account for their slowness

6 years agoFix build error when using VS2015. (#15598)
Brian Robbins [Thu, 21 Dec 2017 03:56:58 +0000 (19:56 -0800)]
Fix build error when using VS2015. (#15598)

6 years agoEnable EventPipe across Unix and Windows (#14772)
Victor "Nate" Graf [Thu, 21 Dec 2017 02:07:52 +0000 (18:07 -0800)]
Enable EventPipe across Unix and Windows (#14772)

* [squashed] most work complete to enable EventPipe on Windows

* Eventpipe now builds on Windows

* Ensure evevntpipe is intialized on Windows

* Resolve the location of python from build.cmd

* Ensure eventing files are generated when needed

* moving linkage declaration to cmake

* create new event from constructor

* enable FEATURE_EVENT_TRACE and FEATURE_PERF_TRACE everywhere

* [WIP] checkpoint in fixing contarct errors

* add another possible python location

* Fix double delete bug in EventPipeConfiguration destructor

* Fix typo in function name

* Revert changes to .gitgnore

* bump to netstandard1.6 in preperation for new version of TraceEvent

* Revert changes to groovy files

* revert changes to perf-prep scripts

* add common.h and use nothrow

* Fix issue which was causing double delete of configprovider

* Add new test utilizing TraceEvent

* Remove accidentally added local directory reference

* Add comment to explain the addition of misc/tracepointprovider.cpp

* Add back sys.exit(0) and refactor

* Change conditional to be more direct

* Better handle NULL config

* Initialize m_deleteDefered

* Eliminate obsolete field

* Fix spelling error

* Fix nits

* Make smaple progiler timing functions easier to read

* Move projects back to netstandard1.4

* Incomplete improvements to EventPipeTrace test

* Add event integrity checks to test

* Clean up some left over code

* Add EventSource based test

* Remove unused PAL tests on Windows

* Fix Linux build breaks

* Minor changes to CMake files

* Remove //HACK for hack that was previously removed

* Fix formatting and negate a #ifdef

* Add conditional to ensure PERFTRACING is not enabled without EVENT_TRACE

* Take lock on EventPipeProvider and EventPipeConfiguration destruction

* Load winmm.dll at runtime

* Change function name and compile conditions

* Move typedef into #ifndef

* Use the correct config in setup

* Change lifecycle managment of EventPipeConfiguration's configuration provider

* Enable EventPipe tests pri0 and disable broken tests

* Replace python3 only error with python2 compatable one

* Make common.csproj build pri0

* Change TraceEvent version to 2.0.2 to match published verison

* Address cross build failure

* Remove use of undefined variable

* Add crossgen fix to .cmd

* Use more specific types to avoid marshalling errors

* Use Assert-style statements and remove one check

* Fix cross arch build

* Fix flipped branch

* Bring build.cmd changes to build.sh

* Fix cmake writing

* Revert "Bring build.cmd changes to build.sh"

This reverts commit 893c6492548d8bc9859ebba5b1b810aa630fac63.

* remove stdlib.h

* Fix out of order null check

6 years agoMerge pull request #15514 from fiigii/14930
Bruce Forstall [Thu, 21 Dec 2017 01:36:54 +0000 (17:36 -0800)]
Merge pull request #15514 from fiigii/14930

IsSupported returns false for not-fully-implemented ISA classes

6 years agoLSRA: Replace operandToLocationInfoMap with a list
Carol Eidt [Wed, 20 Dec 2017 19:09:12 +0000 (11:09 -0800)]
LSRA: Replace operandToLocationInfoMap with a list

formatting

6 years agofix template method that nobody calls. (#15584)
Sergey Andreenko [Wed, 20 Dec 2017 23:09:22 +0000 (15:09 -0800)]
fix template method that nobody calls. (#15584)

6 years agoBlock diamondshape and sharedgenerics tests on #15591 (#15593)
Michal Strehovský [Wed, 20 Dec 2017 22:45:14 +0000 (23:45 +0100)]
Block diamondshape and sharedgenerics tests on #15591 (#15593)