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

[NativeAOT-LLVM] Merge to Sep 24 #2688

Merged
merged 666 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
666 commits
Select commit Hold shift + click to select a range
c7227c0
Revert XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS (#107349)
pavelsavara Sep 4, 2024
959c10e
Generate an unconditional bailout for MINT_SWITCH in jiterpreter trac…
kg Sep 4, 2024
b0771d7
Fix getting SSP for threadabort in funceval (#107320)
janvorli Sep 4, 2024
19942d9
Stop referencing S.R.Metadata directly (#107343)
MichalStrehovsky Sep 4, 2024
97f92a3
Fix meter/instrument filtering in MetricsEventSource (#107267)
tarekgh Sep 4, 2024
eec40f1
Fix CrossGen2SynthesizePgo on Windows (#107362)
davidwrighton Sep 4, 2024
f8e9dd1
JIT: Skip more covariance checks (#107116)
EgorBo Sep 4, 2024
ec2f534
Make `DomainAssembly` create its `Assembly` in its constructor and re…
elinor-fung Sep 4, 2024
8b1db37
Provide System.Composition.AttributedModel package readme (#106781)
eNeRGy164 Sep 4, 2024
4ebb841
Remove PointerNativeTypeAssignmentRewriter by introducing a separate …
jkoritzinsky Sep 4, 2024
dcd113e
Update to zlib-ng 2.2.1, excluding the folders:
carlossanlop Sep 5, 2024
12bc7ed
Apply slide_hash and deflate patch with casts and asserts.
carlossanlop Jul 25, 2024
c62bc5b
Remove custom allocator.
carlossanlop Sep 5, 2024
e61a10e
Update Compression unit tests.
carlossanlop Sep 5, 2024
e060e83
cgmanifest.json, zlib-ng-version.txt, THIRD-PARTY-NOTICES.TXT updates.
carlossanlop Sep 5, 2024
5b25f67
Include system environment variables when resolving ASPNETCORE_URLS (…
maraf Sep 5, 2024
88f9aba
[RISC-V] Increase timeouts in CacheTests (#107278)
yurai007 Sep 5, 2024
e5b9dbb
[mono][ci] Include PDBs from runtime pack when building on Helix if r…
ivanpovazan Sep 5, 2024
40cafd7
[browser] Fix processing of satellite assemblies from referenced asse…
maraf Sep 5, 2024
0961328
JIT: Remove implicit fallthrough assumption in `fgExpandRarelyRunBloc…
amanasifkhalid Sep 5, 2024
2dd517e
ARM64-SVE: Delay free all ops within conditional select (#107036)
a74nh Sep 5, 2024
468362f
Merge pull request #105771 from carlossanlop/UpgradeZlibNg
carlossanlop Sep 5, 2024
dece778
[wasi] fix WasmTestRunnerDir (#107389)
pavelsavara Sep 5, 2024
36e6b42
Check CancellationToken before TimeSpan in TimeProviderTaskExtensions…
brantburnett Sep 5, 2024
4a17f04
Fix a case in MethodImpl overriding which wasn't handled as expected …
davidwrighton Sep 5, 2024
0148ed5
docs: fix a typo (#106234)
WeihanLi Sep 5, 2024
66e45ef
Fix some NRT on StringCollections (#106116)
lilinus Sep 5, 2024
64e2421
Build NativeAOT-iOS runtime tests as standalone to restore test runs …
jkoritzinsky Sep 5, 2024
ca74d03
Disable subset of the stack overflow tests on ARM (#107186)
janvorli Sep 5, 2024
e166eb6
Fix stack overflow reporting with multiple PALs (#107264)
janvorli Sep 5, 2024
ee1a9ee
Fix incorrect handle type count when FEATURE_SIZED_REF_HANDLES is not…
elinor-fung Sep 6, 2024
3b04bbe
Track that kmov instructions may write to GPR register (#107428)
kunalspathak Sep 6, 2024
66b9b68
Run native aot runtime tests on cet compatible machines (#105288)
eduardo-vp Sep 6, 2024
ce8f49e
don't call GetHeap to get the heap in wait_for_gc_done (#107073)
Maoni0 Sep 6, 2024
7331fb0
check in configurations (#107012)
WangyangZhou90 Sep 6, 2024
b10f5c9
Disable ilasm tests for nativeaot test runs (#107432)
jkoritzinsky Sep 6, 2024
1bad124
codeql fixes (#107422)
mangod9 Sep 6, 2024
8685859
Enable more BinaryFormatter tests (#107408)
adamsitnik Sep 6, 2024
1f6a0d4
Add NrbfDecoder Fuzzer (#107385)
buyaa-n Sep 6, 2024
d4601d3
Make ComponentActivator.[LoadAssemblyAnd]GetFunctionPointer set initi…
elinor-fung Sep 6, 2024
42f3dce
Make Module::LoadAssembly return Assembly instead of DomainAssembly (…
elinor-fung Sep 6, 2024
cf8cbe9
JIT: Simplify block insertion logic during loop compaction (#107403)
amanasifkhalid Sep 6, 2024
5a6d100
Fix leaking EVP_MAC_CTX in one shot
vcsjones Sep 6, 2024
ad430a1
Remove thread contention from Activity Start/Stop (#107333)
AlgorithmsAreCool Sep 6, 2024
6092b21
Move pinned heap handle table from `BaseDomain` to `AppDomain` and ma…
elinor-fung Sep 6, 2024
dc5dbab
Fix swizzle_mask type (#107460)
radekdoulik Sep 6, 2024
e79426e
[NRBF] Fix bugs discovered by the fuzzer (#107368)
adamsitnik Sep 6, 2024
d1ecd63
Bind the code alignment condition with the loop alignment condition (…
filipnavara Sep 6, 2024
1c4755d
Fix SegmentResortChains synchronization (#107468)
ChrisAhna Sep 6, 2024
0fa7321
JIT ARM64: Don't emit `mov` for zero case in jump tables for shift in…
amanasifkhalid Sep 6, 2024
5428078
Remove Helper Method Frames for Exception, GC and Thread methods (#10…
AaronRobinsonMSFT Sep 6, 2024
a349912
[wasm] Implement MONO_MEMORY_BARRIER in jiterpreter & enable MT jiter…
kg Sep 6, 2024
5c4686f
[wasm] Implement MINT_SWITCH opcode in jiterpreter (#107423)
kg Sep 7, 2024
c4792a2
JIT: don't create vector constants from relocatable constants (#107491)
AndyAyersMS Sep 7, 2024
b523ec5
JIT: Simplify block insertion logic during loop canonicalization (#10…
amanasifkhalid Sep 8, 2024
10f6c4c
Convert WaitHandle FCalls to QCalls (#107488)
AaronRobinsonMSFT Sep 8, 2024
39c84a3
Fix corner-case accounting bug in new codeheap allocation (#107492)
jkotas Sep 8, 2024
7d68c7f
Implement getClassAssemblyName (#106959)
hez2010 Sep 8, 2024
aa418fc
Remove unused declarations from clsload.hpp (#107509)
preeyan Sep 8, 2024
49bf719
[browser][MT] fix feature detection on webworker (#107452)
pavelsavara Sep 9, 2024
176754d
[mono][infra] decrease CPU count for fullAOT CI build (#107531)
matouskozak Sep 9, 2024
67e5768
[wasm] Implement MINT_NEWARR in jiterpreter (#107430)
kg Sep 9, 2024
4c0973e
Fix passing assemblies using relative path (#107536)
jkurdek Sep 9, 2024
62133e0
[main] Update dependencies from dotnet/xharness (#107291)
dotnet-maestro[bot] Sep 9, 2024
2fb3629
Remove `BaseDomain` use in `LoaderAllocator` and event tracing helper…
elinor-fung Sep 9, 2024
0c33c6f
Fix module being set as tenured too early (#107489)
elinor-fung Sep 9, 2024
fe7a52d
Remove ActiveIssue for solved issues in Vector tests (#107127)
lilinus Sep 9, 2024
600f6bd
Fix thread static cleanup paths (#107438)
davidwrighton Sep 9, 2024
b7b91cb
Convert some handle APIs to QCalls (#107513)
AaronRobinsonMSFT Sep 9, 2024
d2c7db0
Disable TensorExtensionsTwoSpanInFloatOut due to https://github.com/d…
tannergooding Sep 9, 2024
c534080
Avoid using OpenThread for out of process SetThreadContext debugging …
tommcdon Sep 9, 2024
d45ccfd
Fix reflection-calling `Set` method on arrays (#107529)
MichalStrehovsky Sep 9, 2024
18eedbe
Convert Thread FCalls to QCalls (#107495)
AaronRobinsonMSFT Sep 9, 2024
ac4b7c6
Arm: Consider the fact that targetReg can be second half during resol…
kunalspathak Sep 9, 2024
2ed43b6
ARM64-SVE: Allow op inside conditionalselect to be non HWintrinsic (#…
a74nh Sep 9, 2024
51c350c
Make missing framework error message list other architectures that we…
elinor-fung Sep 9, 2024
e591fbf
Arm: Fix the base register used for restoring register from stack (#1…
kunalspathak Sep 9, 2024
149d4bb
Extend the list of recognized SearchValues<char> field names in Regex…
MihaZupan Sep 9, 2024
76dbb27
Use SearchValues in Uri.CheckForUnicodeOrEscapedUnreserved (#107357)
stephentoub Sep 9, 2024
61de5df
Make DAC and ProfToEEInterfaceImpl stop using BaseDomain (#107570)
elinor-fung Sep 10, 2024
c21d90e
[WASI] improve single-threaded threadpool (#107395)
pavelsavara Sep 10, 2024
b77b71e
[wasm] Clean up some FIXMEs in the jiterpreter (#107562)
kg Sep 10, 2024
c762b75
Add [DebuggerDisplay] to CancellationTokenSource (#105764)
martincostello Sep 10, 2024
5cb6a06
JIT: Add simple late layout pass (#107483)
amanasifkhalid Sep 10, 2024
1808129
Remove FCThrowRes from AssemblyNative::IsDynamic (#107574)
elinor-fung Sep 10, 2024
7ae87de
[wasm] more cases when looking up unmanaged delegates (#107113)
lewing Sep 10, 2024
4ee9789
Localized file check-in by OneLocBuild Task: Build definition ID 679:…
dotnet-bot Sep 10, 2024
a817006
Consider existence of EETypes and metadata for typeof checks (#107347)
MichalStrehovsky Sep 10, 2024
1705cb2
[NRBF] throw SerializationException when a surrogate character is rea…
adamsitnik Sep 10, 2024
ccdcf90
Disable binary formatter tests when DotNetBuildSourceOnly. (#107549)
tmds Sep 10, 2024
4878fb3
Fix heap corruption issue in PriorityQueue.Remove (#107550)
eiriktsarpalis Sep 10, 2024
a709d73
Fix JsonSchemaExporter support for global UnmappedMemberHandling sett…
eiriktsarpalis Sep 10, 2024
ad6c18f
[iOS] [HybridGlobalization] Throw PNSE when methods with matchLength …
mkhamoyan Sep 10, 2024
b06d5e2
Add a SearchValues implementation for values with unique low nibbles …
MihaZupan Sep 10, 2024
ad4607b
Fix ISA check in Runtime_107146 test (#107539)
EgorBo Sep 10, 2024
fe8e785
Make Half max precision test culture-invariant (#105685)
lilinus Sep 10, 2024
56de829
Stop explicitly adding assembly passed on command line to TPA - shoul…
elinor-fung Sep 10, 2024
8981969
[wasm] Include .NET version in templates package id (#107182)
maraf Sep 10, 2024
9e4878a
[mono][infra] Disable UnitTest_GVM_TypeLoadException on fullAOT (#107…
matouskozak Sep 10, 2024
7fbba5c
All mobile platforms go down the RunTests.sh path, not just browser. …
jkoritzinsky Sep 10, 2024
fd1a125
[mono] Fix crash in emit_llvmonly_handler_start (#107461)
radekdoulik Sep 10, 2024
699bf83
Add missing `[RequiresDynamicCode]` attributes to System.Linq.Express…
cston Sep 10, 2024
636c863
JIT: disable scev analysis for non-integral types (#107618)
AndyAyersMS Sep 10, 2024
4a055bd
[mono] Update more C code gen (#107593)
lewing Sep 10, 2024
e4f93db
Fix SuperPMI collections (#107588)
BruceForstall Sep 10, 2024
d41aadd
JIT: Fix placement of loop exit blocks in handler regions (#107582)
amanasifkhalid Sep 10, 2024
43f22c6
Always pass LoaderAllocator when creating Assembly (#107643)
elinor-fung Sep 10, 2024
f26c239
[NRBF] Fuzzing non-seekable stream input (#107605)
adamsitnik Sep 11, 2024
5e560d9
Remove helper method frame from Profiler hooks (#107152)
davidwrighton Sep 11, 2024
786148a
Remove vestigial ReadOnlySequence.SequenceType.Empty (#107630)
halter73 Sep 11, 2024
f0f2119
Fix config source gen binding value types to null configuration value…
tarekgh Sep 11, 2024
102f28e
[LoongArch64] Fix the clr build error on Alpine. (#107669)
LuckyXu-HF Sep 11, 2024
de8e66d
add _requiresAlign8 to company and mangled name (#107650)
yowl Sep 11, 2024
b8d7ec0
[mono] Revert "don't define HAS_CUSTOM_BLOCKS on mono (#106764)" (#10…
matouskozak Sep 11, 2024
6219d18
Fix SSP issue with HW exceptions from JIT helpers (#107665)
janvorli Sep 11, 2024
8351e5f
[wasm] Increase jiterpreter limits (#107557)
kg Sep 11, 2024
4f18509
Fix HashSet copy constructor handling of instances that have fallen b…
eiriktsarpalis Sep 11, 2024
605c6fd
[main] Update dependencies from 7 repositories (#106873)
dotnet-maestro[bot] Sep 11, 2024
0b4cb7f
Fix alloca builder creation (#107464)
radekdoulik Sep 11, 2024
4267ab8
Make hostfxr_get_runtime_property_value initialize out pointer to nul…
elinor-fung Sep 11, 2024
352ac69
Consolidate log for reliability framework (#107517)
VincentBu Sep 11, 2024
ea269f9
Fix IL reference tokens to another generated assembly members (#107661)
buyaa-n Sep 11, 2024
dc40032
Remove `BaseDomain` (#107652)
elinor-fung Sep 11, 2024
60fc78e
Disallow types with property names conflicting with metadata. (#106460)
eiriktsarpalis Sep 11, 2024
a3365e4
Clarify XML comments for Utf8Parser.TryParse to reflect case insensit…
joegoldman2 Sep 11, 2024
c4cc794
Fix config source gen binding with SslClientAuthenticationOptions (#1…
tarekgh Sep 11, 2024
c381595
Provide System.CodeDom package readme (#107372)
eNeRGy164 Sep 11, 2024
3979ef8
Use system brotli on Unix non-portable builds (#107225)
agocke Sep 11, 2024
1231a9a
Revert "Avoid taking lock for empty bucket in ConcurrentDictionary.Tr…
stephentoub Sep 11, 2024
8e8e7f7
Fix SVE ExtendWidening ConditionalSelect tests (#107601)
SwapnilGaikwad Sep 11, 2024
171f1a7
Remove unused freebsd elf32/elf64 header references (#107657)
omajid Sep 11, 2024
4930e1b
fix slag instruction (#107559)
saitama951 Sep 11, 2024
4cdbfdc
[NRBF] More bug fixes (#107682)
adamsitnik Sep 12, 2024
122eb75
[main] Update dependencies from dotnet/arcade (#107027)
dotnet-maestro[bot] Sep 12, 2024
a833cfb
[WASI] System.Net.NameResolution (#107351)
pavelsavara Sep 12, 2024
d62199d
Remove ILCompiler package reference (#107583)
agocke Sep 12, 2024
07d525e
Move load level tracking and checks from `DomainAssembly` to `Assembl…
elinor-fung Sep 12, 2024
ca00ae3
Work around F# ildasm/ilasm round-trip test failure (#107692)
BruceForstall Sep 12, 2024
d05110c
[DiagnosticSource] Add version event to EventSources used for out-of-…
CodeBlanch Sep 12, 2024
71724d8
[main] Update dependencies from dotnet/emsdk (#107028)
dotnet-maestro[bot] Sep 12, 2024
7e3543d
Remove unused predicate instructions from API comments (#107739)
SwapnilGaikwad Sep 12, 2024
d7948dc
Fixes hang in WinUI apps published to AOT (#104583)
manodasanW Sep 12, 2024
34ba8c7
[wasm] Enable the log profiler (#107434)
jeromelaban Sep 12, 2024
5f7ccb4
Remove redundant !fgIsCommaThrow(morphedTree) assert (#107624)
EgorBo Sep 12, 2024
a922043
Fix few SP-based instruction encoding issues (#107732)
filipnavara Sep 12, 2024
01ac168
Fix test bug in FileSystem.Tests (#107696)
jozkee Sep 12, 2024
076957d
[ppc64le] Fixed BinaryFormatter and Tensors tests (#107678)
alhad-deshpande Sep 12, 2024
3948052
Move UseSystemZlib into SetupOSSpecificProps (#107666)
hwoodiwiss Sep 12, 2024
87ed184
[main] Update dependencies from dotnet/xharness (#107606)
dotnet-maestro[bot] Sep 13, 2024
9bf9224
[main] Update dependencies from dotnet/arcade (#107746)
dotnet-maestro[bot] Sep 13, 2024
170b42c
Fix memory corruption bug in virtual static method dispatch (#107763)
davidwrighton Sep 13, 2024
5ca3f79
Remove DebuggerModule::Get/SetPrimaryModule - always itself (#107767)
elinor-fung Sep 13, 2024
c8ae841
Arm64/Sve: Remove entries of SVE APIs take 32-bit address (#107758)
kunalspathak Sep 13, 2024
82cb4f1
Update WebAssembly nuget package references to RC1 SDK (#107673)
MichalStrehovsky Sep 13, 2024
74698cd
Add Perf Improvements in .NET 9 to deep dive blog posts list (#107793)
stephentoub Sep 13, 2024
143c2fd
Fix lowering support for inline arrays (#107744)
jkurdek Sep 13, 2024
e1c3f02
Make AppDomain::AssemblyIterator iterate over Assembly instead of Dom…
elinor-fung Sep 13, 2024
edf1c66
Remove `DebuggerModule::m_pAppDomain` - always the one and only (#107…
elinor-fung Sep 13, 2024
2267228
Propagate flags properly in indirectCallTransformer (#107790)
EgorBo Sep 13, 2024
924fc2a
ARM64-SVE: Fix hwintrinsics flags (#107791)
a74nh Sep 13, 2024
3e5d080
Add feature switch to disable DataSet XML serialization (#107713)
sbomer Sep 13, 2024
d6d2d79
Store `Assembly` instead of `DomainAssembly` in `AssemblySpecBindingC…
elinor-fung Sep 13, 2024
fd9b86e
Doc updates for source-of-truth assemblies (#107773)
gewarren Sep 13, 2024
cf9c995
ARM64-SVE: Allow SVE ops to re-use the same registers (#107084)
a74nh Sep 13, 2024
f722e5c
JIT: random partial compilation stress mode (#107561)
AndyAyersMS Sep 13, 2024
d58b1ca
Fix perf problems found in investigation of issue #107728 (#107806)
davidwrighton Sep 13, 2024
f1bcbeb
Arm: Free up upper-half register that was not ready because of its as…
kunalspathak Sep 14, 2024
4c10eff
Add Linker arg to browser and wasm app targets (#107194)
lewing Sep 15, 2024
16506b7
Fixing System.Array constructor (#107266)
michaelgsharp Sep 16, 2024
bb9cd26
Allow preinitializing spans created from arrays (#107575)
MichalStrehovsky Sep 16, 2024
e18a7f0
Switch a couple properties to new VMR properties (#107805)
mmitche Sep 16, 2024
ad7b02a
[NRBF] Comments and bug fixes from internal code review (#107735)
adamsitnik Sep 16, 2024
cdc8418
[mono][mini] Prefer calling llvmaot compiled method instead of inlini…
BrzVlad Sep 16, 2024
550d381
Fix constraint on FrozenSet.{Try}GetAlternateLookup (#107846)
stephentoub Sep 16, 2024
0154a2f
[NRBF] Address issues discovered by Threat Model (#106629)
adamsitnik Sep 16, 2024
a8fa985
Disable ICU package for Apple mobile builds (#107855)
akoeplinger Sep 16, 2024
70445c8
Fix typo in comment of SAVE_ARGUMENT_REGISTERS (#106011)
gbalykov Sep 16, 2024
17c83a6
Ensure we create new RemoteInvokeOptions for every call (#107820)
ericstj Sep 16, 2024
1bde882
Remove redundant unsafe from SVE APIs (#107854)
SwapnilGaikwad Sep 16, 2024
eac892a
Mark Encoding as nullable in StreamWriter's constructor (#106658)
stefannikolei Sep 16, 2024
b3d440f
Overhaul Main Workflow Docs (#107415)
ivdiazsa Sep 16, 2024
76f10f9
Fix the operands of NI_AVX512F_TernaryLogic during lowering (#107813)
kunalspathak Sep 16, 2024
253e4f1
Empty slice fix (#107316)
michaelgsharp Sep 16, 2024
9eef776
Fixing 0 length issue with constructor (#107427)
michaelgsharp Sep 16, 2024
657f18d
[RISC-V] Update ABI doc (#107286)
tomeksowi Sep 16, 2024
b14e2f5
[PERF] Move performance testing logic into python scripts (#101143)
caaavik-msft Sep 16, 2024
d2c4587
instrumentation (mostly) for DATAS (#107853)
Maoni0 Sep 16, 2024
81a4d96
Add missing documentation for new 9.0 APIs in System.IO (#107376)
jozkee Sep 17, 2024
06f0b37
Update internal macOS image in xplat-setup.yml (#107871)
akoeplinger Sep 17, 2024
74b3518
Introducing new event for failed http requests #106284 (#106964)
OlzhabaevSh Sep 17, 2024
fc66a78
[main] Update dependencies from dotnet/xharness (#107827)
dotnet-maestro[bot] Sep 17, 2024
3992788
[mono] Remove .la fallback code in mono_dl_open_full (#107907)
akoeplinger Sep 17, 2024
f5acabe
JIT: use explicit cast away GC when passing byref to unmanaged callee…
AndyAyersMS Sep 17, 2024
8ae3796
Fix RegexOptions.Compiled|IgnoreCase perf when dynamic code isn't sup…
stephentoub Sep 17, 2024
b08181b
Mark the System.Formats.Nrbf assembly as [Experimental] with SYSLIB50…
jeffhandley Sep 17, 2024
06ebfc2
Remove invalid assert in RSAOpenSsl
vcsjones Sep 17, 2024
594f2a6
JIT: Always use edge weights to assign block weight in `Compiler::fgS…
amanasifkhalid Sep 17, 2024
0589914
Merge remote-tracking branch 'runtime/main' into merge-sep-24
yowl Sep 17, 2024
128837d
Update configure.h.in (#107954)
jkoritzinsky Sep 18, 2024
24e7d1b
Replace VectorXx.Exp's edge case fallback with scalar processing (#10…
stephentoub Sep 18, 2024
b6b0fb1
WebSocket Feedback Follow-up (#107662)
CarnaViire Sep 18, 2024
69851f2
[RISC-V] Fixed bug in debug stub (#107972)
Bajtazar Sep 18, 2024
14c80b0
[LoongArch64] Fixed DBG_DebugBreak stub for missing return instructio…
shushanhf Sep 18, 2024
7b5f7d4
Cleanup delegate-related code (#107966)
jkotas Sep 18, 2024
362d498
[main] Update dependencies from dotnet/arcade (#107789)
dotnet-maestro[bot] Sep 18, 2024
bef6d5a
Support class target in RUC/RDC code fixers (#107956)
sbomer Sep 18, 2024
5d8d04e
JIT: Update lexical pointers after compacting blocks in `fgUpdateFlo…
amanasifkhalid Sep 18, 2024
546f921
Add missing docs for Task API (#107951)
ericstj Sep 18, 2024
f748f06
Fix spelling error (#107994)
gewarren Sep 18, 2024
9eb48cd
Remove InternalsVisibleTo from System.Collections.Immutable. (#107872)
eiriktsarpalis Sep 18, 2024
59a096e
[WASI] ownsPollable parameter to RegisterWasiPollable, downgrade depe…
pavelsavara Sep 18, 2024
1665f66
resolve conflicts, dont look for icu libs for Browser.
yowl Sep 19, 2024
5fe5d14
make acdHelper public for llvm jit
yowl Sep 19, 2024
e662bc7
remove ThrowMisalign, update ICU make for wasi
yowl Sep 22, 2024
f2b55d0
Merge remote-tracking branch 'origin/feature/NativeAOT-LLVM' into mer…
yowl Sep 28, 2024
bd8c16c
add back ThrowMisalign, update ICU make for wasi
yowl Sep 29, 2024
e5e344c
for XUnitLogChecker set the linked to lld when nativeaot on linux, bu…
yowl Sep 30, 2024
97fcf1e
dont CompressSymbols because -gz=zlib fails
yowl Oct 1, 2024
3726ccf
try to remove -lz
yowl Oct 1, 2024
558be53
BuildAllTestsAsStandalone for wasm/coreclr
yowl Oct 2, 2024
fd8ae3a
Add back noThrow
yowl Oct 3, 2024
6dbfd25
revert libz workarounds, pass crossArg
yowl Oct 3, 2024
f51c9c9
Reset XUnitLogChecker
yowl Oct 4, 2024
70452d0
revert nativeaoat proj changes as we are not using it.
yowl Oct 4, 2024
44f8329
try removing the exit code
yowl Oct 4, 2024
e196335
revert wasm dirs.proj
yowl Oct 4, 2024
8cd08dd
use a DisabledProjects group
yowl Oct 4, 2024
9b40d21
disable projects for wasm
yowl Oct 4, 2024
432311b
disable projects for wasm
yowl Oct 4, 2024
7241d2e
disable projects for wasm
yowl Oct 4, 2024
a07bc2b
revert StartupHook change
yowl Oct 4, 2024
18abaaf
remove some 2614 temp workarounds
yowl Oct 5, 2024
b0c9afb
remove some 2614 temp workarounds
yowl Oct 5, 2024
6f81769
Revert merge mistake
yowl Oct 5, 2024
68972c7
remove COreCLR condition
yowl Oct 5, 2024
053aa1b
Merge commit '59a096e8c25a7bec37bc1e9f716a9794d130b7d5' into merge-se…
yowl Oct 5, 2024
6f92016
try updating wasmtime
yowl Oct 5, 2024
c43b4d4
add htto suppoer for linux
yowl Oct 6, 2024
d42a130
quote
yowl Oct 6, 2024
b84130d
correct option
yowl Oct 6, 2024
01d62c7
remove unwanted --
yowl Oct 6, 2024
6c20cce
revert wasmtime bump
yowl Oct 6, 2024
b6b7136
Update src/tests/Directory.Build.targets
yowl Oct 7, 2024
b3379d0
Update src/coreclr/inc/jithelpers.h
yowl Oct 7, 2024
b1888a9
revert ws change
yowl Oct 7, 2024
4b94322
revert ws change
yowl Oct 7, 2024
813fb77
Merge branch 'merge-sep-24' of https://github.com/yowl/runtimelab int…
yowl Oct 7, 2024
10faa68
revert ws change
yowl Oct 7, 2024
2df2857
use crossArg directly, no need for parameter
yowl Oct 7, 2024
7c51ab4
dont pessimize other helpres
yowl Oct 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"microsoft.dotnet.xharness.cli": {
"version": "9.0.0-prerelease.24405.1",
"version": "10.0.0-prerelease.24466.1",
"commands": [
"xharness"
]
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/inter-branch-merge-flow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Inter-branch merge workflow
on:
push:
branches:
- release/**

permissions:
contents: write
pull-requests: write

jobs:
Merge:
uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@main
2 changes: 1 addition & 1 deletion .github/workflows/jit-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
os:
- name: linux
image: ubuntu-latest
container: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-cross-amd64-net9.0
container: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net9.0-cross-amd64
extension: '.sh'
cross: '--cross'
rootfs: '/crossrootfs/x64'
Expand Down
2 changes: 2 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,8 @@
<PropertyGroup Condition="'$(IsTestProject)' == 'true' or '$(IsTestSupportProject)' == 'true' or '$(IsTrimmingTestProject)' == 'true'">
<!-- we need to re-enable BinaryFormatter within test projects since some tests exercise these code paths to ensure compat -->
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
<!-- For DotNetBuildSourceOnly, only the bundled BinaryFormatter is built which does not support serialization. -->
<EnableUnsafeBinaryFormatterSerialization Condition="'$(DotNetBuildSourceOnly)' == 'true'">false</EnableUnsafeBinaryFormatterSerialization>
<!-- don't warn on usage of BinaryFormatter or legacy serialization infrastructure from test projects -->
<NoWarn>$(NoWarn);SYSLIB0011;SYSLIB0050;SYSLIB0051</NoWarn>
<!-- don't warn about unnecessary trim warning suppressions. can be removed with preview 6. -->
Expand Down
6 changes: 3 additions & 3 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
AfterTargets="ResolveTargetingPackAssets">
<ItemGroup>
<_targetingPackReferenceExclusion Include="$(TargetName)" />
<_targetingPackReferenceExclusion Include="@(_ResolvedProjectReferencePaths->Metadata('Filename'))" />
<_targetingPackReferenceExclusionProjects Include="@(_ResolvedProjectReferencePaths->Metadata('Filename'))" />
<_targetingPackReferenceExclusion Include="@(DefaultReferenceExclusion)" />
</ItemGroup>

Expand All @@ -177,7 +177,7 @@
<_targetingPackReferenceWithProjectName Include="@(Reference->WithMetadataValue('ExternallyResolved', 'true')->Metadata('Filename'))"
OriginalIdentity="%(Identity)" />
<_targetingPackIncludedReferenceWithProjectName Include="@(_targetingPackReferenceWithProjectName)"
Exclude="@(_targetingPackReferenceExclusion)" />
Exclude="@(_targetingPackReferenceExclusion);@(_targetingPackReferenceExclusionProjects->WithMetadataValue('ReferenceOutputAssembly', 'true'))" />
<_targetingPackExcludedReferenceWithProjectName Include="@(_targetingPackReferenceWithProjectName)"
Exclude="@(_targetingPackIncludedReferenceWithProjectName)" />
<Reference Remove="@(_targetingPackExcludedReferenceWithProjectName->Metadata('OriginalIdentity'))" />
Expand All @@ -187,7 +187,7 @@
<_targetingPackAnalyzerReferenceWithProjectName Include="@(Analyzer->WithMetadataValue('ExternallyResolved', 'true')->Metadata('Filename'))"
OriginalIdentity="%(Identity)" />
<_targetingPackIncludedAnalyzerReferenceWithProjectName Include="@(_targetingPackAnalyzerReferenceWithProjectName)"
Exclude="@(_targetingPackReferenceExclusion)" />
Exclude="@(_targetingPackReferenceExclusion);@(_targetingPackReferenceExclusionProjects->WithMetadataValue('OutputItemType', 'Analyzer'))" />
<_targetingPackExcludedAnalyzerReferenceWithProjectName Include="@(_targetingPackAnalyzerReferenceWithProjectName)"
Exclude="@(_targetingPackIncludedAnalyzerReferenceWithProjectName)" />
<Analyzer Remove="@(_targetingPackExcludedAnalyzerReferenceWithProjectName->Metadata('OriginalIdentity'))" />
Expand Down
2 changes: 2 additions & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
<add key="dotnet-libraries-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries-transport/nuget/v3/index.json" />
<add key="dotnet9" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json" />
<add key="dotnet9-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9-transport/nuget/v3/index.json" />
<add key="dotnet10" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10/nuget/v3/index.json" />
<add key="dotnet10-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10-transport/nuget/v3/index.json" />
</packageSources>
<disabledPackageSources>
<clear />
Expand Down
20 changes: 14 additions & 6 deletions THIRD-PARTY-NOTICES.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,27 @@ written authorization of the copyright holder.
License notice for zlib-ng
-----------------------

https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md
https://github.com/zlib-ng/zlib-ng/blob/d54e3769be0c522015b784eca2af258b1c026107/LICENSE.md

(C) 1995-2024 Jean-loup Gailly and Mark Adler

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.

Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.

This notice may not be removed or altered from any source distribution.
3. This notice may not be removed or altered from any source distribution.

License notice for LinuxTracepoints
-----------------------------------
Expand Down
1 change: 1 addition & 0 deletions docs/area-owners.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Note: Editing this file doesn't update the mapping used by `@msftbot` for area-s
| area-Single-File | @agocke | @vitek-karas @vsadov | |
| area-Snap | @MichaelSimons | @NikolaMilosavljevic @leecow @MichaelSimons | |
| area-System.Buffers | @jeffhandley | @dotnet/area-system-buffers | |
| area-System.ClientModel | @terrajobst | @dotnet/fxdc | Bugs and feature requests should go to https://github.com/Azure/azure-sdk-for-net/issues. We don't own the code, but FXDC reviews changes to determine overlap with other `System` concepts. The Azure SDK team will post API updates in this repo for us to review. |
| area-System.CodeDom | @ericstj | @dotnet/area-system-codedom | |
| area-System.Collections | @jeffhandley | @dotnet/area-system-collections | Excluded:<ul><li>System.Array -> System.Runtime</li></ul> |
| area-System.ComponentModel | @ericstj | @dotnet/area-system-componentmodel | Consultants: @dotnet/dotnet-winforms |
Expand Down
8 changes: 8 additions & 0 deletions docs/coding-guidelines/libraries-packaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ Source generators and analyzers can be included in the shared framework by addin

Removing a library from the shared framework is a breaking change and should be avoided.

### References to libraries in the shared framework that produce packages

It's beneficial to avoid project references to libraries that are in the shared framework because it makes the package graph smaller which reduces the number of packages that require servicing and the number of libraries that end up being copied into the application directory.

If a dependency is part of the shared framework a project/package reference is never required on the latest version (`NetCoreAppCurrent`). A reference is required for previous .NET versions even if the dependency is part of the shared framework if the project you are building targets .NETStandard and references the project there. You may completely avoid a package dependency on .NETStandard and .NET if it's not needed for .NETStandard (for example - if it is an implementation only dependency and you're building a PNSE assembly for .NETStandard).

Warning NETPKG0001 is emitted when you have an unnecessary reference to a library that is part of the shared framework. To avoid this warning, make sure your ProjectReference is conditioned so that it doesn't apply on `NetCoreAppCurrent`.

## Transport package

Transport packages are non-shipping packages that dotnet/runtime produces in order to share binaries with other repositories.
Expand Down
1 change: 1 addition & 0 deletions docs/deep-dive-blog-posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- [Performance Improvements in .NET 6](https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-6/)
- [Performance Improvements in .NET 7](https://devblogs.microsoft.com/dotnet/performance_improvements_in_net_7/)
- [Performance Improvements in .NET 8](https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-8/)
- [Performance Improvements in .NET 9](https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-9/)

### Posts that take a high-level look at the entire source:

Expand Down
17 changes: 16 additions & 1 deletion docs/design/coreclr/botr/clr-abi.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@ ARM64: See [Overview of ARM64 ABI conventions](https://learn.microsoft.com/cpp/b
## Non-Windows ABI documentation

Arm corporation ABI documentation (for ARM32 and ARM64) is [here](https://developer.arm.com/architectures/system-architectures/software-standards/abi) and [here](https://github.com/ARM-software/abi-aa).
Apple's ARM64 calling convention differences can be found [here](https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms).

The Linux System V x86_64 ABI is documented in [System V Application Binary Interface / AMD64 Architecture Processor Supplement](https://github.com/hjl-tools/x86-psABI/wiki/x86-64-psABI-1.0.pdf), with document source material [here](https://gitlab.com/x86-psABIs/x86-64-ABI).

The LoongArch64 ABI documentation is [here](https://github.com/loongson/LoongArch-Documentation/blob/main/docs/LoongArch-ELF-ABI-EN.adoc)

The RISC-V ABIs Specification: [latest release](https://github.com/riscv-non-isa/riscv-elf-psabi-doc/releases/latest), [latest draft](https://github.com/riscv-non-isa/riscv-elf-psabi-doc/releases), [document source repo](https://github.com/riscv-non-isa/riscv-elf-psabi-doc).

# General Unwind/Frame Layout

For all non-x86 platforms, all methods must have unwind information so the garbage collector (GC) can unwind them (unlike native code in which a leaf method may be omitted).
Expand Down Expand Up @@ -76,7 +79,9 @@ On ARM and ARM64, just like native, nothing is put in the floating point registe

However, unlike native varargs, all floating point arguments are not promoted to double (`R8`), and instead retain their original type (`R4` or `R8`) (although this does not preclude an IL generator like managed C++ from explicitly injecting an upcast at the call-site and adjusting the call-site-sig appropriately). This leads to unexpected behavior when native C++ is ported to C# or even just managed via the different flavors of managed C++.

Managed varargs are not supported in .NET Core.
Managed varargs are supported on Windows only.

Managed/native varargs are supported on Windows only. Support for managed/native varargs on non-Windows platforms is tracked by [this issue](https://github.com/dotnet/runtime/issues/82081).

## Generics

Expand All @@ -97,6 +102,10 @@ Just like native, AMD64 has implicit-byrefs. Any structure (value type in IL par

The AMD64 native calling conventions (Windows 64 and System V) require return buffer address to be returned by callee in RAX. JIT also follows this rule.

## RISC-V only: structs passed/returned according to hardware floating-point calling convention

Passing/returning structs according to hardware floating-point calling convention like native is currently [supported only up to 16 bytes](https://github.com/dotnet/runtime/issues/107386), ones larger than that differ from the standard ABI and are passed/returned according to integer calling convention (by implicit reference).

## Return buffers

The same applies to some return buffers. See `MethodTable::IsStructRequiringStackAllocRetBuf()`. When that returns `false`, the return buffer might be on the heap, either due to reflection/remoting code paths mentioned previously or due to a JIT optimization where a call with a return buffer that then assigns to a field (on the GC heap) are changed into passing the field reference as the return buffer. Conversely, when it returns true, the JIT does not need to use a write barrier when storing to the return buffer, but it is still not guaranteed to be a compiler temp, and as such the JIT should not introduce spurious writes to the return buffer.
Expand All @@ -117,6 +126,12 @@ ARM64-only: When a method returns a structure that is larger than 16 bytes the c

Primitive value types smaller than 32-bits are widened to 32-bits: signed small types are sign extended and unsigned small types are zero extended. This can be different from the standard calling conventions that may leave the state of unused bits in the return register undefined.

## Small primitive arguments

Small primitive arguments have undefined upper bits. This can be different from the standard calling conventions that may require normalization (e.g. on ARM32 and Apple ARM64).

On RISC-V small primitive arguments are extended according to standard calling conventions.

# PInvokes

The convention is that any method with an InlinedCallFrame (either an IL stub or a normal method with an inlined PInvoke) saves/restores all non-volatile integer registers in its prolog/epilog respectively. This is done so that the InlinedCallFrame can just contain a return address, a stack pointer and a frame pointer. Then using just those three it can start a full stack walk using the normal RtlVirtualUnwind.
Expand Down
Loading