Skip to content

Commit

Permalink
Merge branch 'dotnet:main' into intrinsics
Browse files Browse the repository at this point in the history
  • Loading branch information
LeVladIonescu authored Mar 23, 2023
2 parents f0209d8 + 316d286 commit c6ef7ac
Show file tree
Hide file tree
Showing 109 changed files with 3,777 additions and 2,148 deletions.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/04_known_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Known Issue Report
description: Create a known issue directly
labels: ["blocking-clean-ci","Known Build Error"]
body:
- type: markdown
attributes:
value: |
Use this template to report issues currently affecting PR stability, be it build or test failures.
- type: textarea
id: background
attributes:
label: Error Blob
description: Please identify a clear error string that can help identify future instances of this issue. For more information on how to fill this check https://github.com/dotnet/arcade/blob/main/Documentation/Projects/Build%20Analysis/KnownIssues.md#filling-out-known-issues-json-blob
placeholder: |
```json
{
"ErrorMessage": "",
"BuildRetry": false,
"ErrorPattern": "",
"ExcludeConsoleLog": true
}
```
validations:
required: true
- type: textarea
id: repro-steps
attributes:
label: Reproduction Steps
description: |
If possible describe where you observe the issue with links and any other relevant details.
validations:
required: false
File renamed without changes.
11 changes: 5 additions & 6 deletions .github/fabricbot.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@
"area-System.Transactions"
],
"mentionees": [
"roji"
"roji",
"ajcvickers"
]
},
{
Expand Down Expand Up @@ -399,9 +400,7 @@
"area-System.ComponentModel.DataAnnotations"
],
"mentionees": [
"ajcvickers",
"bricelam",
"roji"
"jeffhandley"
]
},
{
Expand Down Expand Up @@ -870,7 +869,7 @@
{
"name": "addReply",
"parameters": {
"comment": "Added `needs-breaking-change-doc-created` label because this issue has the `breaking-change` label. \n\n1. [ ] Create and link to this issue a matching issue in the dotnet/docs repo using the [breaking change documentation template](https://github.com/dotnet/docs/issues/new?assignees=gewarren&labels=breaking-change%2CPri1%2Cdoc-idea&template=breaking-change.yml&title=%5BBreaking+change%5D%3A+), then remove this `needs-breaking-change-doc-created` label.\n\nTagging @dotnet/compat for awareness of the breaking change."
"comment": "Added `needs-breaking-change-doc-created` label because this issue has the `breaking-change` label. \n\n1. [ ] Create and link to this issue a matching issue in the dotnet/docs repo using the [breaking change documentation template](https://aka.ms/dotnet/docs/new-breaking-change-issue), then remove this `needs-breaking-change-doc-created` label.\n\nTagging @dotnet/compat for awareness of the breaking change."
}
}
],
Expand Down Expand Up @@ -911,7 +910,7 @@
{
"name": "addReply",
"parameters": {
"comment": "Added `needs-breaking-change-doc-created` label because this PR has the `breaking-change` label. \n\nWhen you commit this breaking change:\n\n1. [ ] Create and link to this PR and the issue a matching issue in the dotnet/docs repo using the [breaking change documentation template](https://github.com/dotnet/docs/issues/new?assignees=gewarren&labels=breaking-change%2CPri1%2Cdoc-idea&template=breaking-change.yml&title=%5BBreaking+change%5D%3A+), then remove this `needs-breaking-change-doc-created` label.\n2. [ ] Ask a committer to mail the `.NET Breaking Change Notification` DL.\n\nTagging @dotnet/compat for awareness of the breaking change."
"comment": "Added `needs-breaking-change-doc-created` label because this PR has the `breaking-change` label. \n\nWhen you commit this breaking change:\n\n1. [ ] Create and link to this PR and the issue a matching issue in the dotnet/docs repo using the [breaking change documentation template](https://aka.ms/dotnet/docs/new-breaking-change-issue), then remove this `needs-breaking-change-doc-created` label.\n2. [ ] Ask a committer to mail the `.NET Breaking Change Notification` DL.\n\nTagging @dotnet/compat for awareness of the breaking change."
}
}
],
Expand Down
12 changes: 8 additions & 4 deletions docs/area-owners.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,21 +763,24 @@
"owners": [
"ajcvickers",
"david-engel",
"davoudeshtehari"
"davoudeshtehari",
"roji"
],
"label": "area-System.Data"
},
{
"lead": "ajcvickers",
"owners": [
"ajcvickers"
"ajcvickers",
"roji"
],
"label": "area-System.Data.Odbc"
},
{
"lead": "ajcvickers",
"owners": [
"ajcvickers"
"ajcvickers",
"roji"
],
"label": "area-System.Data.OleDB"
},
Expand Down Expand Up @@ -1513,7 +1516,8 @@
{
"lead": "ajcvickers",
"owners": [
"roji"
"roji",
"ajcvickers"
],
"label": "area-System.Transactions"
},
Expand Down
6 changes: 3 additions & 3 deletions docs/area-owners.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ Note: Editing this file doesn't update the mapping used by `@msftbot` for area-s
| area-System.Composition | @ericstj | @dotnet/area-system-composition | |
| area-System.Configuration | @ericstj | @dotnet/area-system-configuration | |
| area-System.Console | @jeffhandley | @dotnet/area-system-console | |
| area-System.Data | @ajcvickers | @ajcvickers @davoudeshtehari @david-engel | <ul><li>Odbc, OleDb - @saurabh500</li></ul> |
| area-System.Data.Odbc | @ajcvickers | @ajcvickers | |
| area-System.Data.OleDB | @ajcvickers | @ajcvickers | |
| area-System.Data | @ajcvickers | @ajcvickers @davoudeshtehari @david-engel @roji | <ul><li>Odbc, OleDb - @saurabh500</li></ul> |
| area-System.Data.Odbc | @ajcvickers | @ajcvickers @roji | |
| area-System.Data.OleDB | @ajcvickers | @ajcvickers @roji | |
| area-System.Data.SqlClient | @David-Engel | @davoudeshtehari @david-engel @jrahnama | Archived component - limited churn/contributions (see https://devblogs.microsoft.com/dotnet/introducing-the-new-microsoftdatasqlclient/) |
| area-System.DateTime | @ericstj | @dotnet/area-system-datetime | System namespace APIs related to dates and times, including DateOnly, DateTime, DateTimeKind, DateTimeOffset, DayOfWeek, TimeOnly, TimeSpan, TimeZone, and TimeZoneInfo |
| area-System.Diagnostics | @tommcdon | @tommcdon | |
Expand Down
4 changes: 2 additions & 2 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@
<Sha>f32e148d67dbf348685c3076a37e8bc68ab3a30f</Sha>
<SourceBuild RepoName="cecil" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport" Version="8.0.0-preview.3.23167.1">
<Dependency Name="Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport" Version="8.0.0-preview.4.23170.1">
<Uri>https://github.com/dotnet/emsdk</Uri>
<Sha>25d9f7a5e38a2d61b94ff341bc0d32135fcb15f9</Sha>
<Sha>a464820353b7956538b07c9b53103d793b5e15b6</Sha>
<SourceBuild RepoName="emsdk" ManagedOnly="true" />
</Dependency>
</ProductDependencies>
Expand Down
4 changes: 2 additions & 2 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PackageVersionNet7>7.0.3</PackageVersionNet7>
<PackageVersionNet6>6.0.$([MSBuild]::Add($([System.Version]::Parse('$(PackageVersionNet7)').Build),11))</PackageVersionNet6>
<PreReleaseVersionLabel>preview</PreReleaseVersionLabel>
<PreReleaseVersionIteration>3</PreReleaseVersionIteration>
<PreReleaseVersionIteration>4</PreReleaseVersionIteration>
<WorkloadVersionSuffix Condition="'$(PreReleaseVersionLabel)' != 'release'">-$(PreReleaseVersionLabel).$(PreReleaseVersionIteration)</WorkloadVersionSuffix>
<SdkBandVersionForWorkload_FromRuntimeVersions>$(SdkBandVersion)$(WorkloadVersionSuffix)</SdkBandVersionForWorkload_FromRuntimeVersions>
<!-- Set assembly version to align with major and minor version,
Expand Down Expand Up @@ -241,7 +241,7 @@
Note: when the name is updated, make sure to update dependency name in eng/pipelines/common/xplat-setup.yml
like - DarcDependenciesChanged.Microsoft_NET_Workload_Emscripten_Current_Manifest-8_0_100_Transport
-->
<MicrosoftNETWorkloadEmscriptenCurrentManifest80100TransportVersion>8.0.0-preview.3.23167.1</MicrosoftNETWorkloadEmscriptenCurrentManifest80100TransportVersion>
<MicrosoftNETWorkloadEmscriptenCurrentManifest80100TransportVersion>8.0.0-preview.4.23170.1</MicrosoftNETWorkloadEmscriptenCurrentManifest80100TransportVersion>
<MicrosoftNETRuntimeEmscriptenVersion>$(MicrosoftNETWorkloadEmscriptenCurrentManifest80100TransportVersion)</MicrosoftNETRuntimeEmscriptenVersion>
<!-- workloads -->
<SwixPackageVersion>1.1.87-gba258badda</SwixPackageVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1189,12 +1189,12 @@ public virtual void ThrowException([DynamicallyAccessedMembers(DynamicallyAccess

if (!excType.IsSubclassOf(typeof(Exception)) && excType != typeof(Exception))
{
throw new ArgumentException(SR.Argument_NotExceptionType);
throw new ArgumentException(SR.Argument_NotExceptionType, nameof(excType));
}
ConstructorInfo? con = excType.GetConstructor(Type.EmptyTypes);
if (con == null)
{
throw new ArgumentException(SR.Argument_MissingDefaultConstructor);
throw new ArgumentException(SR.Arg_NoDefCTorWithoutTypeName, nameof(excType));
}
Emit(OpCodes.Newobj, con);
Emit(OpCodes.Throw);
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/debug/ee/funceval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1708,7 +1708,7 @@ void ResolveFuncEvalGenericArgInfo(DebuggerEval *pDE)
// If this is a new object operation, then we should have a .ctor.
if ((pDE->m_evalType == DB_IPCE_FET_NEW_OBJECT) && !pDE->m_md->IsCtor())
{
COMPlusThrow(kArgumentException, W("Argument_MissingDefaultConstructor"));
COMPlusThrow(kArgumentException, W("Arg_NoDefCTorWithoutTypeName"));
}

pDE->m_md->EnsureActive();
Expand Down
8 changes: 4 additions & 4 deletions src/coreclr/inc/stresslog.h
Original file line number Diff line number Diff line change
Expand Up @@ -597,14 +597,14 @@ struct StressLogChunk

void * operator new (size_t size) throw()
{
if (IsInCantAllocStressLogRegion ())
{
return NULL;
}
#ifdef MEMORY_MAPPED_STRESSLOG
if (s_memoryMapped)
return StressLog::AllocMemoryMapped(size);
#endif //MEMORY_MAPPED_STRESSLOG
if (IsInCantAllocStressLogRegion ())
{
return NULL;
}
#ifdef HOST_WINDOWS
_ASSERTE(s_LogChunkHeap);
return HeapAlloc(s_LogChunkHeap, 0, size);
Expand Down
1 change: 1 addition & 0 deletions src/coreclr/jit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ set( JIT_SOURCES
morphblock.cpp
objectalloc.cpp
optcse.cpp
optimizebools.cpp
optimizer.cpp
patchpoint.cpp
phase.cpp
Expand Down
7 changes: 7 additions & 0 deletions src/coreclr/jit/block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1151,6 +1151,13 @@ unsigned BasicBlock::NumSucc(Compiler* comp)

case BBJ_EHFINALLYRET:
{
// We may call this method before we realize we have invalid IL. Tolerate.
//
if (!hasHndIndex())
{
return 0;
}

// The first block of the handler is labelled with the catch type.
BasicBlock* hndBeg = comp->fgFirstBlockOfHandler(this);
if (hndBeg->bbCatchTyp == BBCT_FINALLY)
Expand Down
1 change: 1 addition & 0 deletions src/coreclr/jit/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -9802,6 +9802,7 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
STRESS_MODE(MERGED_RETURNS) \
STRESS_MODE(BB_PROFILE) \
STRESS_MODE(OPT_BOOLS_GC) \
STRESS_MODE(OPT_BOOLS_COMPARE_CHAIN_COST) \
STRESS_MODE(REMORPH_TREES) \
STRESS_MODE(64RSLT_MUL) \
STRESS_MODE(DO_WHILE_LOOPS) \
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/jit/gentree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16440,7 +16440,7 @@ bool Compiler::gtSplitTree(
}

Statement* stmt = nullptr;
if (!(*use)->IsValue() || (*use)->OperIs(GT_ASG) || (user == nullptr) ||
if (!(*use)->IsValue() || (*use)->gtEffectiveVal()->OperIs(GT_ASG) || (user == nullptr) ||
(user->OperIs(GT_COMMA) && (user->gtGetOp1() == *use)))
{
GenTree* sideEffects = nullptr;
Expand Down
Loading

0 comments on commit c6ef7ac

Please sign in to comment.