- 08 6月, 2021 20 次提交
-
-
由 dotnet-maestro[bot] 提交于
[main] Update dependencies from dotnet/runtime dotnet/hotreload-utils dotnet/xharness
-
由 Bruce Forstall 提交于
Add more iterators compatible with range-based `for` syntax for various data structures. These iterators all assume (and some check) that the underlying data structures determining the iteration are not changed during the iteration. For example, don't use these to iterate over the predecessor edges if you are changing the order or contents of the predecessor edge list. - BasicBlock: iterate over all blocks in the function, a subset starting not at the first block, or a specified range of blocks. Removed uses of the `foreach_block` macro. E.g.: ``` for (BasicBlock* const block : Blocks()) // all blocks in function for (BasicBlock* const block : BasicBlockSimpleList(fgFirstBB->bbNext)) // all blocks starting at fgFirstBB->bbNext for (BasicBlock* const testBlock : BasicBlockRangeList(firstNonLoopBlock, lastNonLoopBlock)) // all blocks in range (inclusive) ``` - block predecessors: iterate over all predecessor edges, or all predecessor blocks, e.g.: ``` for (flowList* const edge : block->PredEdges()) for (BasicBlock* const predBlock : block->PredBlocks()) ``` - block successors: iterate over all block successors using the `NumSucc()/GetSucc()`, or `NumSucc(Compiler*)/GetSucc(Compiler*)` pairs, e.g.: ``` for (BasicBlock* const succ : Succs()) for (BasicBlock* const succ : Succs(compiler)) ``` Note that there already exists the "AllSuccessorsIter" which iterates over block successors including possible EH successors, e.g.: ``` for (BasicBlock* succ : block->GetAllSuccs(m_pCompiler)) ``` - switch targets, (namely, the successors of `BBJ_SWITCH` blocks), e.g.: ``` for (BasicBlock* const bTarget : block->SwitchTargets()) ``` - loops blocks: iterate over all the blocks in a loop, e.g.: ``` for (BasicBlock* const blk : optLoopTable[loopInd].LoopBlocks()) ``` - Statements: added an iterator shortcut for the non-phi statements, e.g.: ``` for (Statement* const stmt : block->NonPhiStatements()) ``` Note that there already exists an iterator over all statements, e.g.: ``` for (Statement* const stmt : block->Statements()) ``` - EH clauses, e.g.: ``` for (EHblkDsc* const HBtab : EHClauses(this)) ``` - GenTree in linear order (but not LIR, which already has an iterator), namely, using the `gtNext` links, e.g.: ``` for (GenTree* const call : stmt->TreeList()) ``` This is a no-diff change.
-
由 Zoltan Varga 提交于
-
由 Jose Perez Rodriguez 提交于
* Resolving ILLink warnings on Microsoft.Extensions.Options.ConfigurationManager * Fix message * Addressing messages feedback * Update src/libraries/Microsoft.Extensions.Logging.Configuration/ref/Microsoft.Extensions.Logging.Configuration.cs Co-authored-by: NEric Erhardt <eric.erhardt@microsoft.com> * Update remaining messages with suggestion. Co-authored-by: NEric Erhardt <eric.erhardt@microsoft.com>
-
由 Bruce Forstall 提交于
The Azure Storage REST API returns a maximum of 5000 results in a single query. We have more results in the JIT rolling build set, so we weren't finding queried git_hash values. Generalize the query to loop using the "marker" continuation functionality. We currently have about 800 superpmi collections results, but update the superpmi.py script similarly for future proofing. I also changed the query used by jitrollingbuild.py to specify a prefix, to avoid requiring so many results. Probably should do the same thing for SuperPMI collections. The downside is the REST api doesn't have a facility for the prefix to be case-insensitive. I think it's ok to be case-sensitive, but we'd need to verify that.
-
由 Miha Zupan 提交于
* Throw ArgumentNull instead of NullReference for null requests * Don't use Send on browser
-
由 Buyaa Namnan 提交于
-
由 dotnet-maestro[bot] 提交于
[main] Update dependencies from dnceng/internal/dotnet-optimization
-
由 Jo Shields 提交于
* Create Sdk.props in AOT compilers with a template Fixes https://github.com/dotnet/runtime/issues/53653 Example: ``` sudo cat Sdk/Sdk.props <Project> <ItemGroup> <MonoAotCrossCompilerPath Include="$(MSBuildThisFileDirectory)..\tools\mono-aot-cross" RuntimeIdentifier="iossimulator-arm64" /> </ItemGroup> </Project> ```
-
由 Andrew Au 提交于
-
由 Levi Broderick 提交于
-
由 Viktor Hofer 提交于
* Remove HarvestVersionValidation from pkg testing As packages assets aren't redistributed anymore, harvesting doesn't need to rely on exact versions and thus the task isn't necessary anymore.
-
由 Eric StJohn 提交于
* Change package testing to use RuntimeTargets rather than RID-specific restore * Upload binlogs for package testing * Address feedback Simplify outer build of package tests to just use InnerTargets extension point. Use Helix's work-item isolated packages folder Give a better name to binlogs * Cleanup old suppressions * Use ReferenceCopyLocalPaths for runtime testing This item will be conflict-resolved whereas RuntimeCopyLocalItems was not. Also fix the case where a package intentionally provides no assets (yet installs) * Don't include runtime dependencies when reference was excluded by conflict resolution * Fix import conventions in outer build * Workaround conflict resolution on .NETStandard runtime .NETStandard doesn't conflict resolve runtime assets. Workaround by feeding .NETStandard references as runtime for purposes of conflict resolution.
-
由 Zoltan Varga 提交于
-
由 Viktor Hofer 提交于
The `System.Security.Cryptography.Cng` package doesn't built live anymore.
-
由 Fan Yang 提交于
-
由 Stephen Toub 提交于
-
由 Kevin Jones 提交于
-
由 Marie Píchová 提交于
* Alt-Svc tests enabled and fixed for H/3 * Addressed feedback.
-
由 alesomas 提交于
* Set rcwrefcache related references only for feature_comwrappers Co-authored-by: NUbuntu <creditsuisse@BuildVM.hqykqmymov3ebcqudt35mscinc.ax.internal.cloudapp.net>
-
- 07 6月, 2021 13 次提交
-
-
由 Sergey Andreenko 提交于
This reverts commit 2e7e66d3.
-
由 Marie Píchová 提交于
-
由 Tomas Weinfurt 提交于
-
由 Zoltan Varga 提交于
and they take up a lot of space since these wrappers are very common.
-
由 Zoltan Varga 提交于
-
由 SingleAccretion 提交于
* Eliminate intermediate casts to double on ARM64 Enables the same optimization that has been there for a while for AArch32 for AArch64 too. * Fix a typo
-
由 dotnet-maestro[bot] 提交于
Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
由 Bruce Forstall 提交于
* Optimize constant localloc on x64 Avoid popping off the outgoing arg space just to push it back later, for constant size localloc. This typically removes two `sub rsp` instructions per case, although we don't do the `push 0` "optimization", so sometimes there are more instructions removed. * Fix clang build error
-
由 Stephen Toub 提交于
This adds an HttpHeaders.NonValidated property, which returns a type that provides a non-validating / non-parsing / non-allocating view of headers in the collection. Querying the resulting collection does not force parsing or validation on the contents of the headers, handing back exactly the raw data that it contains; if a header doesn't contain a raw value but instead contains an already parsed value, a string representation of that header value(s) is returned. When using the strongly-typed members, querying and enumeration is allocation-free, unless strings need to be created to represent already parsed values.
-
由 Tomáš Rylek 提交于
-
由 Tomáš Rylek 提交于
Manish investigated this issue and he found out that the problem is caused by the fact that in the method Newtonsoft.Json.Utilities.ReflectionUtils.GetFields Crossgen2 produces a NewObject fixup for the incorrect type System.Collections.Generic.List`1<System.Type> instead of the right type System.Collections.Generic.List`1<System.Reflection.MemberInfo> This was caused by a bug in the token harvesting logic; at some point resolveToken was asked to resolve the token 0x0A02BA, string [System.Runtime/*23000001*/]System.Type/*01000019*/::get_Name() /* 0A0002BA */ As part of the token harvesting logic we looked at the MethodReference.Parent (01000019) and stored it in the harvesting table along with the OwningType of the method. The problem is that the translation of the MemberReference to MethodDesc resolves the method on a base class, string [System.Reflection/*23000009*/]System.Reflection.MemberInfo/*01000076*/::get_Name() /* 0A0002B5 */ As a result we were storing the incorrect [token - type] pair [01000019 - System.Reflection.MemberInfo] into the type token translation table and that confused the signature encoder because 01000019 is System.Type. The trivial solution is to separately translate the memberref parent entity handle to the owning type entity instead than extracting it from the MethodDesc. I have verified using R2RDump that I now see the correct NewObject fixup getting generated in the method. Thanks Tomas
-
由 Sergey Andreenko 提交于
-
由 Nikola Milosavljevic 提交于
-
- 06 6月, 2021 6 次提交
-
-
由 Marie Píchová 提交于
Implements the 3rd option Allowing the caller to perform their own wait from #32079 (comment) Adds WaitForAvailable(Bidi|Uni)rectionalStreamsAsync: - triggered by peer announcement about new streams (QUIC_CONNECTION_EVENT_TYPE.STREAMS_AVAILABLE) - if the connection is closed/disposed, the method throws QuicConnectionAbortedException which fitted our H3 better than boolean (can be changed) Changes stream limit type to int
-
由 Johan Lorensson 提交于
-
由 Marek Safar 提交于
Cuts about 7k for invariant mode
-
由 imhameed 提交于
[mono] Check for `Vector{64,128,256}<T>` element type validity before emitting unchecked intrinsic IR for `AsByte` etc. (#53707)
-
由 dotnet-maestro[bot] 提交于
* Update dependencies from https://github.com/dotnet/arcade build 20210604.1 Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.GenFacades , Microsoft.DotNet.GenAPI , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.SharedFramework.Sdk From Version 6.0.0-beta.21303.2 -> To Version 6.0.0-beta.21304.1 * Update dependencies from https://github.com/dotnet/hotreload-utils build 20210604.1 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 1.0.1-alpha.0.21303.1 -> To Version 1.0.1-alpha.0.21304.1 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
由 Zoltan Varga 提交于
Instead of checking whenever the generated IR is empty, do the checking in the front end, and save the result into bb->flags.
-
- 05 6月, 2021 1 次提交
-
-
由 Manish Godse 提交于
* Fixing a regression compiling VT arrays * Update src/coreclr/tools/Common/TypeSystem/Interop/IL/MarshalHelpers.cs Co-authored-by: NJan Kotas <jkotas@microsoft.com>
-