Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add managed Mac signing implementation #107378

Draft
wants to merge 339 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
339 commits
Select commit Hold shift + click to select a range
33ea7e2
Split identifier calculation from code context and bind marshallers t…
jkoritzinsky Aug 30, 2024
8749dc4
[WASI] Add missing .npmrc (#107159)
lewing Aug 30, 2024
25c1055
[WASI] fix response header conversion and event loop (#107162)
dicej Aug 30, 2024
6bcb57b
Fix Shake on Windows performing a double reset
vcsjones Aug 30, 2024
26dc69a
JIT: fix some asserts that arise when debugging with checked build (#…
AndyAyersMS Aug 30, 2024
a66b683
SPMI: Always enable venv for coreclr_tests.run collection (#107133)
jakobbotsch Aug 30, 2024
93049b7
Make AssemblyBaseObject store Assembly instead of DomainAssembly (#10…
elinor-fung Aug 30, 2024
08d662e
Correct lengths of Chinese lunisolar calendar months 8 and 9 in 2057.…
elyoh Aug 30, 2024
5286f8c
[LoongArch64] Add 'loongarch64' display in Crossgen2 and ILC cli. (#1…
LuckyXu-HF Aug 30, 2024
d0dc12e
Fix hardware exception context extraction on Rosetta (#107188)
janvorli Aug 30, 2024
5599a1d
Enable xUnit verbose logging (#107149)
jozkee Aug 30, 2024
67c300e
JIT: Delete dead `fgIsFirstBlockOfFilterOrHandler` (#107187)
jakobbotsch Aug 30, 2024
9c3af14
NativeAOT the XUnitLogChecker (#103795)
agocke Aug 30, 2024
84773f9
Make host tests enable test-only behaviour for nethost before first u…
elinor-fung Aug 30, 2024
faacc45
JIT: Give `Compiler` a proper constructor (#107098)
jakobbotsch Aug 30, 2024
448343d
JIT: Remove lexicality assert in `fgCreateGCPoll` (#107190)
jakobbotsch Aug 30, 2024
556477e
ARM-SVE: Fix validation logic for GatherVectorByteOffsetFirstFaultin…
amanasifkhalid Aug 30, 2024
fc6a88c
AssemblyNameInfo fuzzer (#107195)
adamsitnik Aug 30, 2024
129528e
Pass $(crossArg) to src/tests/build.sh in Antigen/Fuzzlyn pipelines (…
jakobbotsch Aug 31, 2024
08bd42c
Remove O(N) List<T>.RemoveAt from RegexCache.Add (#106581)
stephentoub Sep 1, 2024
22e49ab
[mono][tvos] Do not treat assembly.pdb/xml files as native files to b…
ivanpovazan Sep 2, 2024
3f650fc
Fix encoding for certain k-mask instructions (#107210)
EgorBo Sep 2, 2024
091c664
Revert Revert "Copy published crossgen2 in artifacts/tests (#80154)" …
am11 Sep 2, 2024
e18453f
BinaryFormatter tests should be skipped only on AOT, WASM and Mobile …
adamsitnik Sep 2, 2024
19b2441
Fix chrome update action is failing (#107131)
ilonatommy Sep 2, 2024
c95fc8a
Fix sbyte overflow in TypeName parsing (#107261)
adamsitnik Sep 2, 2024
a4b3a1c
Add TypeNameFuzzer (#107206)
buyaa-n Sep 2, 2024
a33315f
[wasi][Windows] SingleFilebundle project with long path results in li…
ilonatommy Sep 3, 2024
166bc8b
[TypeName] Nested types should respect MaxNode count (#106334)
adamsitnik Sep 3, 2024
9073e02
Update dependencies from https://github.com/dotnet/xharness build 202…
dotnet-maestro[bot] Sep 3, 2024
3e5d134
Fix LDR/STR->LDP/STP peephole with SP-based addressing (#107255)
filipnavara Sep 3, 2024
e718bfc
Improve AssemblyNameInfo Fuzzer (#107257)
adamsitnik Sep 3, 2024
0954828
Fix Windows HttpStress runs on pipelines (#107178)
rzikm Sep 3, 2024
583d5e0
Update size of LDAP `BerVal.bv_len` struct on unix (#107142)
steveharter Sep 3, 2024
bf6cc33
[mono][infra] Increase timeout for fullAOT jobs (#106955)
matouskozak Sep 3, 2024
0c9fb53
JIT ARM64-SVE: Avoid combining conditional select for reduction intri…
SwapnilGaikwad Sep 3, 2024
ed47b25
Fix IntelliSense for gc.cpp (#105768)
hez2010 Sep 3, 2024
a3498b6
Fix string case-insensitive comparisons in Globalization invariant mo…
tarekgh Sep 3, 2024
bdb9d3a
Avoid crash if klass is null (#107177)
giritrivedi Sep 3, 2024
c1279ce
[RISC-V] Disable `PublishAot` for RISC-V (#107274)
clamp03 Sep 3, 2024
cb3af2b
Move handle store and remaining crsts from `BaseDomain` to `AppDomain…
elinor-fung Sep 3, 2024
c8df0c3
Fix bug in validating unused bits (#106771)
buyaa-n Sep 3, 2024
79bb1cc
Add documentation for VBS in CngKeyCreationOptions
vcsjones Sep 3, 2024
de9a3f0
Fix runtime-wasm-perf pipeline runs that are failing due to an apt pa…
LoopedBard3 Sep 3, 2024
53f0e95
Convert ilasm unit tests to use one "merged" runner (#107167)
jkoritzinsky Sep 3, 2024
02b1f37
Define a merged runner for the profiler tests (#107200)
jkoritzinsky Sep 3, 2024
017ef35
Fix calling property setter In in the Configuration source generator …
tarekgh Sep 4, 2024
dc79d70
Provide System.Composition.Convention package readme (#106782)
eNeRGy164 Sep 4, 2024
01b0651
Provide System.Composition.Hosting package readme (#106783)
eNeRGy164 Sep 4, 2024
9815bb5
Provide System.Composition.Runtime package readme (#106784)
eNeRGy164 Sep 4, 2024
82f5d1e
Provide System.Composition.TypedParts package readme (#106785)
eNeRGy164 Sep 4, 2024
590a0f1
[wasm] Make jiterpreter module size limit configurable + clean up tec…
kg Sep 4, 2024
d6c415b
[WASI] platform specific assemblies and fixes for testing (#107196)
pavelsavara Sep 4, 2024
d1a9078
Put handling of sized ref handles under FEATURE_SIZED_REF_HANDLES (#1…
elinor-fung Sep 4, 2024
1143bfe
Run stress pipelines on release/9.0 (#107355)
rzikm Sep 4, 2024
500c101
Fix docs file names and add validation (#107334)
ericstj Sep 4, 2024
d3b467b
Revert XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS (#107349)
pavelsavara Sep 4, 2024
5385a40
Generate an unconditional bailout for MINT_SWITCH in jiterpreter trac…
kg Sep 4, 2024
6f2a381
Fix getting SSP for threadabort in funceval (#107320)
janvorli Sep 4, 2024
b976dfc
Stop referencing S.R.Metadata directly (#107343)
MichalStrehovsky Sep 4, 2024
68f6ed0
Fix meter/instrument filtering in MetricsEventSource (#107267)
tarekgh Sep 4, 2024
75b693a
Fix CrossGen2SynthesizePgo on Windows (#107362)
davidwrighton Sep 4, 2024
0ae29ed
JIT: Skip more covariance checks (#107116)
EgorBo Sep 4, 2024
bb5c65d
Make `DomainAssembly` create its `Assembly` in its constructor and re…
elinor-fung Sep 4, 2024
0fa4888
Provide System.Composition.AttributedModel package readme (#106781)
eNeRGy164 Sep 4, 2024
ff3bbb2
Remove PointerNativeTypeAssignmentRewriter by introducing a separate …
jkoritzinsky Sep 4, 2024
38033e2
Include system environment variables when resolving ASPNETCORE_URLS (…
maraf Sep 5, 2024
492d51d
[RISC-V] Increase timeouts in CacheTests (#107278)
yurai007 Sep 5, 2024
c813470
[mono][ci] Include PDBs from runtime pack when building on Helix if r…
ivanpovazan Sep 5, 2024
059e2cf
[browser] Fix processing of satellite assemblies from referenced asse…
maraf Sep 5, 2024
d600a24
JIT: Remove implicit fallthrough assumption in `fgExpandRarelyRunBloc…
amanasifkhalid Sep 5, 2024
d0dca95
ARM64-SVE: Delay free all ops within conditional select (#107036)
a74nh Sep 5, 2024
a865ba6
Update to zlib-ng 2.2.1, excluding the folders:
carlossanlop Sep 5, 2024
a41a7ac
Apply slide_hash and deflate patch with casts and asserts.
carlossanlop Jul 25, 2024
474aa28
Remove custom allocator.
carlossanlop Sep 5, 2024
9836a5e
Update Compression unit tests.
carlossanlop Sep 5, 2024
6e49f42
cgmanifest.json, zlib-ng-version.txt, THIRD-PARTY-NOTICES.TXT updates.
carlossanlop Sep 5, 2024
3499558
[wasi] fix WasmTestRunnerDir (#107389)
pavelsavara Sep 5, 2024
e6ed111
Check CancellationToken before TimeSpan in TimeProviderTaskExtensions…
brantburnett Sep 5, 2024
c5306a2
Fix a case in MethodImpl overriding which wasn't handled as expected …
davidwrighton Sep 5, 2024
f443566
docs: fix a typo (#106234)
WeihanLi Sep 5, 2024
d09c7da
Fix some NRT on StringCollections (#106116)
lilinus Sep 5, 2024
6f7fe24
Build NativeAOT-iOS runtime tests as standalone to restore test runs …
jkoritzinsky Sep 5, 2024
69d6f8b
Disable subset of the stack overflow tests on ARM (#107186)
janvorli Sep 5, 2024
611fcce
Fix stack overflow reporting with multiple PALs (#107264)
janvorli Sep 5, 2024
54921a2
Fix incorrect handle type count when FEATURE_SIZED_REF_HANDLES is not…
elinor-fung Sep 6, 2024
48a5216
Track that kmov instructions may write to GPR register (#107428)
kunalspathak Sep 6, 2024
3bbbef5
Run native aot runtime tests on cet compatible machines (#105288)
eduardo-vp Sep 6, 2024
a1e5bcb
don't call GetHeap to get the heap in wait_for_gc_done (#107073)
Maoni0 Sep 6, 2024
5a18cfe
check in configurations (#107012)
WangyangZhou90 Sep 6, 2024
37af89a
Disable ilasm tests for nativeaot test runs (#107432)
jkoritzinsky Sep 6, 2024
13a7f55
codeql fixes (#107422)
mangod9 Sep 6, 2024
3b04cbb
Enable more BinaryFormatter tests (#107408)
adamsitnik Sep 6, 2024
b6023a5
Add NrbfDecoder Fuzzer (#107385)
buyaa-n Sep 6, 2024
cc641a6
Make ComponentActivator.[LoadAssemblyAnd]GetFunctionPointer set initi…
elinor-fung Sep 6, 2024
0a140fb
Make Module::LoadAssembly return Assembly instead of DomainAssembly (…
elinor-fung Sep 6, 2024
6dbc747
JIT: Simplify block insertion logic during loop compaction (#107403)
amanasifkhalid Sep 6, 2024
b0abcdc
Fix leaking EVP_MAC_CTX in one shot
vcsjones Sep 6, 2024
c01f48b
Remove thread contention from Activity Start/Stop (#107333)
AlgorithmsAreCool Sep 6, 2024
4854ffe
Move pinned heap handle table from `BaseDomain` to `AppDomain` and ma…
elinor-fung Sep 6, 2024
7b2ec0f
Fix swizzle_mask type (#107460)
radekdoulik Sep 6, 2024
1fbfdcf
[NRBF] Fix bugs discovered by the fuzzer (#107368)
adamsitnik Sep 6, 2024
0c36a02
Bind the code alignment condition with the loop alignment condition (…
filipnavara Sep 6, 2024
16494ec
Fix SegmentResortChains synchronization (#107468)
ChrisAhna Sep 6, 2024
70518f4
JIT ARM64: Don't emit `mov` for zero case in jump tables for shift in…
amanasifkhalid Sep 6, 2024
ee68e0c
Remove Helper Method Frames for Exception, GC and Thread methods (#10…
AaronRobinsonMSFT Sep 6, 2024
222f307
[wasm] Implement MONO_MEMORY_BARRIER in jiterpreter & enable MT jiter…
kg Sep 6, 2024
6d12094
[wasm] Implement MINT_SWITCH opcode in jiterpreter (#107423)
kg Sep 7, 2024
fc4c2a9
JIT: don't create vector constants from relocatable constants (#107491)
AndyAyersMS Sep 7, 2024
12bbe10
JIT: Simplify block insertion logic during loop canonicalization (#10…
amanasifkhalid Sep 8, 2024
aab1e2f
Convert WaitHandle FCalls to QCalls (#107488)
AaronRobinsonMSFT Sep 8, 2024
1e00696
Fix corner-case accounting bug in new codeheap allocation (#107492)
jkotas Sep 8, 2024
2fd7962
Implement getClassAssemblyName (#106959)
hez2010 Sep 8, 2024
c15426f
Remove unused declarations from clsload.hpp (#107509)
preeyan Sep 8, 2024
0167b11
[browser][MT] fix feature detection on webworker (#107452)
pavelsavara Sep 9, 2024
27fc395
[mono][infra] decrease CPU count for fullAOT CI build (#107531)
matouskozak Sep 9, 2024
a200330
[wasm] Implement MINT_NEWARR in jiterpreter (#107430)
kg Sep 9, 2024
954c083
Fix passing assemblies using relative path (#107536)
jkurdek Sep 9, 2024
7516140
[main] Update dependencies from dotnet/xharness (#107291)
dotnet-maestro[bot] Sep 9, 2024
b53693b
Remove `BaseDomain` use in `LoaderAllocator` and event tracing helper…
elinor-fung Sep 9, 2024
6953a9e
Fix module being set as tenured too early (#107489)
elinor-fung Sep 9, 2024
19c14ab
Remove ActiveIssue for solved issues in Vector tests (#107127)
lilinus Sep 9, 2024
9008615
Fix thread static cleanup paths (#107438)
davidwrighton Sep 9, 2024
1a2e96b
Convert some handle APIs to QCalls (#107513)
AaronRobinsonMSFT Sep 9, 2024
edcf76c
Disable TensorExtensionsTwoSpanInFloatOut due to https://github.com/d…
tannergooding Sep 9, 2024
745ab4e
Avoid using OpenThread for out of process SetThreadContext debugging …
tommcdon Sep 9, 2024
bef23be
Fix reflection-calling `Set` method on arrays (#107529)
MichalStrehovsky Sep 9, 2024
908492f
Convert Thread FCalls to QCalls (#107495)
AaronRobinsonMSFT Sep 9, 2024
87dabf1
Arm: Consider the fact that targetReg can be second half during resol…
kunalspathak Sep 9, 2024
22d2f6b
ARM64-SVE: Allow op inside conditionalselect to be non HWintrinsic (#…
a74nh Sep 9, 2024
791c574
Make missing framework error message list other architectures that we…
elinor-fung Sep 9, 2024
a2fbb6a
Arm: Fix the base register used for restoring register from stack (#1…
kunalspathak Sep 9, 2024
94201a4
Extend the list of recognized SearchValues<char> field names in Regex…
MihaZupan Sep 9, 2024
5c18c34
Use SearchValues in Uri.CheckForUnicodeOrEscapedUnreserved (#107357)
stephentoub Sep 9, 2024
1f4def9
Make DAC and ProfToEEInterfaceImpl stop using BaseDomain (#107570)
elinor-fung Sep 10, 2024
ada150b
[WASI] improve single-threaded threadpool (#107395)
pavelsavara Sep 10, 2024
73dd2bd
[wasm] Clean up some FIXMEs in the jiterpreter (#107562)
kg Sep 10, 2024
ac2353f
Add [DebuggerDisplay] to CancellationTokenSource (#105764)
martincostello Sep 10, 2024
a329fbc
JIT: Add simple late layout pass (#107483)
amanasifkhalid Sep 10, 2024
06e771e
Remove FCThrowRes from AssemblyNative::IsDynamic (#107574)
elinor-fung Sep 10, 2024
1be0042
[wasm] more cases when looking up unmanaged delegates (#107113)
lewing Sep 10, 2024
6519ef6
Localized file check-in by OneLocBuild Task: Build definition ID 679:…
dotnet-bot Sep 10, 2024
cdca873
Consider existence of EETypes and metadata for typeof checks (#107347)
MichalStrehovsky Sep 10, 2024
5832f68
[NRBF] throw SerializationException when a surrogate character is rea…
adamsitnik Sep 10, 2024
cc729b0
Disable binary formatter tests when DotNetBuildSourceOnly. (#107549)
tmds Sep 10, 2024
d210175
Fix heap corruption issue in PriorityQueue.Remove (#107550)
eiriktsarpalis Sep 10, 2024
f9402d7
Fix JsonSchemaExporter support for global UnmappedMemberHandling sett…
eiriktsarpalis Sep 10, 2024
4924fc2
[iOS] [HybridGlobalization] Throw PNSE when methods with matchLength …
mkhamoyan Sep 10, 2024
057be76
Add a SearchValues implementation for values with unique low nibbles …
MihaZupan Sep 10, 2024
f48a510
Fix ISA check in Runtime_107146 test (#107539)
EgorBo Sep 10, 2024
c274d6e
Make Half max precision test culture-invariant (#105685)
lilinus Sep 10, 2024
4efc066
Stop explicitly adding assembly passed on command line to TPA - shoul…
elinor-fung Sep 10, 2024
a509d9f
[wasm] Include .NET version in templates package id (#107182)
maraf Sep 10, 2024
ed8e00a
[mono][infra] Disable UnitTest_GVM_TypeLoadException on fullAOT (#107…
matouskozak Sep 10, 2024
77d77a4
All mobile platforms go down the RunTests.sh path, not just browser. …
jkoritzinsky Sep 10, 2024
16a9340
[mono] Fix crash in emit_llvmonly_handler_start (#107461)
radekdoulik Sep 10, 2024
01f1883
Add missing `[RequiresDynamicCode]` attributes to System.Linq.Express…
cston Sep 10, 2024
ca31312
JIT: disable scev analysis for non-integral types (#107618)
AndyAyersMS Sep 10, 2024
6963df4
[mono] Update more C code gen (#107593)
lewing Sep 10, 2024
593f108
Fix SuperPMI collections (#107588)
BruceForstall Sep 10, 2024
482a6b1
JIT: Fix placement of loop exit blocks in handler regions (#107582)
amanasifkhalid Sep 10, 2024
78ac1bf
Always pass LoaderAllocator when creating Assembly (#107643)
elinor-fung Sep 10, 2024
9d727af
[NRBF] Fuzzing non-seekable stream input (#107605)
adamsitnik Sep 11, 2024
e89eaf3
Remove helper method frame from Profiler hooks (#107152)
davidwrighton Sep 11, 2024
eca6cf3
Remove vestigial ReadOnlySequence.SequenceType.Empty (#107630)
halter73 Sep 11, 2024
910881a
Fix config source gen binding value types to null configuration value…
tarekgh Sep 11, 2024
05cbb1a
[LoongArch64] Fix the clr build error on Alpine. (#107669)
LuckyXu-HF Sep 11, 2024
142e938
add _requiresAlign8 to company and mangled name (#107650)
yowl Sep 11, 2024
d7106f0
[mono] Revert "don't define HAS_CUSTOM_BLOCKS on mono (#106764)" (#10…
matouskozak Sep 11, 2024
0a7b02c
Fix SSP issue with HW exceptions from JIT helpers (#107665)
janvorli Sep 11, 2024
bc56e83
[wasm] Increase jiterpreter limits (#107557)
kg Sep 11, 2024
a9eef52
Fix HashSet copy constructor handling of instances that have fallen b…
eiriktsarpalis Sep 11, 2024
215fd4f
[main] Update dependencies from 7 repositories (#106873)
dotnet-maestro[bot] Sep 11, 2024
556faf1
Fix alloca builder creation (#107464)
radekdoulik Sep 11, 2024
3c6c5f7
Make hostfxr_get_runtime_property_value initialize out pointer to nul…
elinor-fung Sep 11, 2024
e499848
Consolidate log for reliability framework (#107517)
VincentBu Sep 11, 2024
bbaf418
Fix IL reference tokens to another generated assembly members (#107661)
buyaa-n Sep 11, 2024
7427eb9
Remove `BaseDomain` (#107652)
elinor-fung Sep 11, 2024
63de3e2
Disallow types with property names conflicting with metadata. (#106460)
eiriktsarpalis Sep 11, 2024
bb6c95e
Clarify XML comments for Utf8Parser.TryParse to reflect case insensit…
joegoldman2 Sep 11, 2024
0525cc6
Fix config source gen binding with SslClientAuthenticationOptions (#1…
tarekgh Sep 11, 2024
7be3b86
Provide System.CodeDom package readme (#107372)
eNeRGy164 Sep 11, 2024
7d8c33f
Use system brotli on Unix non-portable builds (#107225)
agocke Sep 11, 2024
b3855e7
Revert "Avoid taking lock for empty bucket in ConcurrentDictionary.Tr…
stephentoub Sep 11, 2024
4d0de7c
Fix SVE ExtendWidening ConditionalSelect tests (#107601)
SwapnilGaikwad Sep 11, 2024
b8081b7
Remove unused freebsd elf32/elf64 header references (#107657)
omajid Sep 11, 2024
588616e
fix slag instruction (#107559)
saitama951 Sep 11, 2024
bf08464
[NRBF] More bug fixes (#107682)
adamsitnik Sep 12, 2024
559fb00
[main] Update dependencies from dotnet/arcade (#107027)
dotnet-maestro[bot] Sep 12, 2024
cff13cc
[WASI] System.Net.NameResolution (#107351)
pavelsavara Sep 12, 2024
81c7b58
Remove ILCompiler package reference (#107583)
agocke Sep 12, 2024
9477944
Move load level tracking and checks from `DomainAssembly` to `Assembl…
elinor-fung Sep 12, 2024
6e53e36
Work around F# ildasm/ilasm round-trip test failure (#107692)
BruceForstall Sep 12, 2024
1d2d654
[DiagnosticSource] Add version event to EventSources used for out-of-…
CodeBlanch Sep 12, 2024
25ccab2
[main] Update dependencies from dotnet/emsdk (#107028)
dotnet-maestro[bot] Sep 12, 2024
f0cb3eb
Remove unused predicate instructions from API comments (#107739)
SwapnilGaikwad Sep 12, 2024
d5c8068
Fixes hang in WinUI apps published to AOT (#104583)
manodasanW Sep 12, 2024
bd6af7a
[wasm] Enable the log profiler (#107434)
jeromelaban Sep 12, 2024
caee60b
Remove redundant !fgIsCommaThrow(morphedTree) assert (#107624)
EgorBo Sep 12, 2024
96e06df
Fix few SP-based instruction encoding issues (#107732)
filipnavara Sep 12, 2024
9926d63
Fix test bug in FileSystem.Tests (#107696)
jozkee Sep 12, 2024
622cda2
[ppc64le] Fixed BinaryFormatter and Tensors tests (#107678)
alhad-deshpande Sep 12, 2024
25a2a43
Move UseSystemZlib into SetupOSSpecificProps (#107666)
hwoodiwiss Sep 12, 2024
679d436
[main] Update dependencies from dotnet/xharness (#107606)
dotnet-maestro[bot] Sep 13, 2024
f5ae710
[main] Update dependencies from dotnet/arcade (#107746)
dotnet-maestro[bot] Sep 13, 2024
b421431
Fix memory corruption bug in virtual static method dispatch (#107763)
davidwrighton Sep 13, 2024
6071fe1
Remove DebuggerModule::Get/SetPrimaryModule - always itself (#107767)
elinor-fung Sep 13, 2024
83cb4d6
Arm64/Sve: Remove entries of SVE APIs take 32-bit address (#107758)
kunalspathak Sep 13, 2024
0cd2472
Update WebAssembly nuget package references to RC1 SDK (#107673)
MichalStrehovsky Sep 13, 2024
c9f5fdf
Add Perf Improvements in .NET 9 to deep dive blog posts list (#107793)
stephentoub Sep 13, 2024
ef02cd1
Fix lowering support for inline arrays (#107744)
jkurdek Sep 13, 2024
c0cafd7
Make AppDomain::AssemblyIterator iterate over Assembly instead of Dom…
elinor-fung Sep 13, 2024
46d341b
Remove `DebuggerModule::m_pAppDomain` - always the one and only (#107…
elinor-fung Sep 13, 2024
9276efe
Propagate flags properly in indirectCallTransformer (#107790)
EgorBo Sep 13, 2024
7c070d3
ARM64-SVE: Fix hwintrinsics flags (#107791)
a74nh Sep 13, 2024
3ec917f
Add feature switch to disable DataSet XML serialization (#107713)
sbomer Sep 13, 2024
ecf6115
Store `Assembly` instead of `DomainAssembly` in `AssemblySpecBindingC…
elinor-fung Sep 13, 2024
ab6dfa8
Doc updates for source-of-truth assemblies (#107773)
gewarren Sep 13, 2024
c039377
ARM64-SVE: Allow SVE ops to re-use the same registers (#107084)
a74nh Sep 13, 2024
0376349
JIT: random partial compilation stress mode (#107561)
AndyAyersMS Sep 13, 2024
f200d84
Fix perf problems found in investigation of issue #107728 (#107806)
davidwrighton Sep 13, 2024
af3093e
Arm: Free up upper-half register that was not ready because of its as…
kunalspathak Sep 14, 2024
e17192d
Add Linker arg to browser and wasm app targets (#107194)
lewing Sep 15, 2024
ab50b77
Fixing System.Array constructor (#107266)
michaelgsharp Sep 16, 2024
cb05916
Allow preinitializing spans created from arrays (#107575)
MichalStrehovsky Sep 16, 2024
0ffdb10
Switch a couple properties to new VMR properties (#107805)
mmitche Sep 16, 2024
c7719ca
[NRBF] Comments and bug fixes from internal code review (#107735)
adamsitnik Sep 16, 2024
222e1a7
[mono][mini] Prefer calling llvmaot compiled method instead of inlini…
BrzVlad Sep 16, 2024
8feaa66
Fix constraint on FrozenSet.{Try}GetAlternateLookup (#107846)
stephentoub Sep 16, 2024
d2cfd58
[NRBF] Address issues discovered by Threat Model (#106629)
adamsitnik Sep 16, 2024
2bde8aa
Disable ICU package for Apple mobile builds (#107855)
akoeplinger Sep 16, 2024
8582cb1
Fix typo in comment of SAVE_ARGUMENT_REGISTERS (#106011)
gbalykov Sep 16, 2024
f090bbe
Ensure we create new RemoteInvokeOptions for every call (#107820)
ericstj Sep 16, 2024
05327bf
Remove redundant unsafe from SVE APIs (#107854)
SwapnilGaikwad Sep 16, 2024
894fe57
Mark Encoding as nullable in StreamWriter's constructor (#106658)
stefannikolei Sep 16, 2024
6c7530f
Overhaul Main Workflow Docs (#107415)
ivdiazsa Sep 16, 2024
d3569ed
Fix the operands of NI_AVX512F_TernaryLogic during lowering (#107813)
kunalspathak Sep 16, 2024
3a8c982
Empty slice fix (#107316)
michaelgsharp Sep 16, 2024
42abdf3
Fixing 0 length issue with constructor (#107427)
michaelgsharp Sep 16, 2024
8fd6d39
[RISC-V] Update ABI doc (#107286)
tomeksowi Sep 16, 2024
b86bccb
[PERF] Move performance testing logic into python scripts (#101143)
caaavik-msft Sep 16, 2024
a6f0e24
instrumentation (mostly) for DATAS (#107853)
Maoni0 Sep 16, 2024
4805f42
Add missing documentation for new 9.0 APIs in System.IO (#107376)
jozkee Sep 17, 2024
1cbc086
Update internal macOS image in xplat-setup.yml (#107871)
akoeplinger Sep 17, 2024
1e5a0a0
Introducing new event for failed http requests #106284 (#106964)
OlzhabaevSh Sep 17, 2024
45ff40f
[main] Update dependencies from dotnet/xharness (#107827)
dotnet-maestro[bot] Sep 17, 2024
4c3b174
[mono] Remove .la fallback code in mono_dl_open_full (#107907)
akoeplinger Sep 17, 2024
a2c15a2
JIT: use explicit cast away GC when passing byref to unmanaged callee…
AndyAyersMS Sep 17, 2024
3a8f6f8
Fix RegexOptions.Compiled|IgnoreCase perf when dynamic code isn't sup…
stephentoub Sep 17, 2024
ac1fc63
Set Position instead of Seeking, expect 0 exit code for signed Mach
jtschuster Sep 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Empty slice fix (#107316)
* empty slice fix

* PR comments and more testing

* fixing check

* fixing array rent init

* fixes from PR comments
  • Loading branch information
michaelgsharp authored and jtschuster committed Sep 17, 2024
commit 3a8c982d40175e45caa9d6fca6ea95c97c025df9
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using static System.Runtime.InteropServices.JavaScript.JSType;
using EditorBrowsableAttribute = System.ComponentModel.EditorBrowsableAttribute;
using EditorBrowsableState = System.ComponentModel.EditorBrowsableState;

Expand Down Expand Up @@ -528,14 +527,14 @@ public void CopyTo(scoped TensorSpan<T> destination)
if (Rank > TensorShape.MaxInlineRank)
{
curIndexesArray = ArrayPool<nint>.Shared.Rent(Rank);
curIndexes = curIndexesArray;
curIndexes = curIndexes.Slice(0, Rank);
curIndexes = curIndexesArray.AsSpan(0, Rank);
}
else
{
curIndexesArray = null;
curIndexes = stackalloc nint[Rank];
}
curIndexes.Clear();

nint copiedValues = 0;
TensorSpan<T> slice = destination.Slice(_shape.Lengths);
Expand Down Expand Up @@ -576,14 +575,14 @@ public bool TryCopyTo(scoped TensorSpan<T> destination)
if (Rank > TensorShape.MaxInlineRank)
{
curIndexesArray = ArrayPool<nint>.Shared.Rent(Rank);
curIndexes = curIndexesArray;
curIndexes = curIndexes.Slice(0, Rank);
curIndexes = curIndexesArray.AsSpan(0, Rank);
}
else
{
curIndexesArray = null;
curIndexes = stackalloc nint[Rank];
}
curIndexes.Clear();

nint copiedValues = 0;
TensorSpan<T> slice = destination.Slice(_shape.Lengths);
Expand Down Expand Up @@ -656,34 +655,58 @@ public ReadOnlyTensorSpan<T> Slice(params scoped ReadOnlySpan<NRange> ranges)
if (ranges.Length != Lengths.Length)
throw new ArgumentOutOfRangeException(nameof(ranges), "Number of dimensions to slice does not equal the number of dimensions in the span");

ReadOnlyTensorSpan<T> toReturn;
scoped Span<nint> lengths;
scoped Span<nint> offsets;
nint[]? lengthsArray;
nint[]? offsetsArray;
if (Rank > TensorShape.MaxInlineRank)
{
lengths = stackalloc nint[Rank];
offsets = stackalloc nint[Rank];
lengthsArray = ArrayPool<nint>.Shared.Rent(Rank);
lengths = lengthsArray.AsSpan(0, Rank);

offsetsArray = ArrayPool<nint>.Shared.Rent(Rank);
offsets = offsetsArray.AsSpan(0, Rank);
}
else
{
lengths = new nint[Rank];
offsets = new nint[Rank];
lengths = stackalloc nint[Rank];
offsets = stackalloc nint[Rank];

lengthsArray = null;
offsetsArray = null;
}
lengths.Clear();
offsets.Clear();

for (int i = 0; i < ranges.Length; i++)
{
(offsets[i], lengths[i]) = ranges[i].GetOffsetAndLength(Lengths[i]);
}

// FlattenedLength is computed everytime so using a local to cache the value.
nint flattenedLength = FlattenedLength;
nint index = 0;
for (int i = 0; i < offsets.Length; i++)

if (flattenedLength != 0)
{
index += Strides[i] * (offsets[i]);
for (int i = 0; i < offsets.Length; i++)
{
index += Strides[i] * (offsets[i]);
}
}

if (index >= _shape._memoryLength || index < 0)
if ((index >= _shape._memoryLength || index < 0) && flattenedLength != 0)
ThrowHelper.ThrowIndexOutOfRangeException();

return new ReadOnlyTensorSpan<T>(ref Unsafe.Add(ref _reference, index), lengths, _shape.Strides, _shape._memoryLength - index);
toReturn = new ReadOnlyTensorSpan<T>(ref Unsafe.Add(ref _reference, index), lengths, _shape.Strides, _shape._memoryLength - index);

if (offsetsArray != null)
ArrayPool<nint>.Shared.Return(offsetsArray);
if (lengthsArray != null)
ArrayPool<nint>.Shared.Return(lengthsArray);

return toReturn;
}

/// <summary>
Expand All @@ -700,14 +723,14 @@ public bool TryFlattenTo(scoped Span<T> destination)
if (Rank > TensorShape.MaxInlineRank)
{
curIndexesArray = ArrayPool<nint>.Shared.Rent(Rank);
curIndexes = curIndexesArray;
curIndexes = curIndexes.Slice(0, Rank);
curIndexes = curIndexesArray.AsSpan(0, Rank);
}
else
{
curIndexesArray = null;
curIndexes = stackalloc nint[Rank];
}
curIndexes.Clear();

nint copiedValues = 0;
while (copiedValues < _shape.FlattenedLength)
Expand Down Expand Up @@ -741,14 +764,14 @@ public void FlattenTo(scoped Span<T> destination)
if (Rank > TensorShape.MaxInlineRank)
{
curIndexesArray = ArrayPool<nint>.Shared.Rent(Rank);
curIndexes = curIndexesArray;
curIndexes = curIndexes.Slice(0, Rank);
curIndexes = curIndexesArray.AsSpan(0, Rank);
}
else
{
curIndexesArray = null;
curIndexes = stackalloc nint[Rank];
}
curIndexes.Clear();

nint copiedValues = 0;
while (copiedValues < _shape.FlattenedLength)
Expand Down
Loading