Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
  •  
  •  
  •  
75 changes: 75 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Licensed to the .NET Foundation under one or more agreements.
# The .NET Foundation licenses this file to you under the MIT license.

# This file is consumed by GitHub by default and the git-blame command
# optionally to make blames ignore uninteresting commits. See docs here:
# https://docs.github.com/en/repositories/working-with-files/using-files/viewing-and-understanding-files#ignore-commits-in-the-blame-view
# To configure git-blame to use this file, run:
# git config blame.ignoreRevsFile .git-blame-ignore-revs

# These are the commits that trim gc.cpp copies to contain only
# the functions relevant to each split file. They should be ignored
# when running git blame.

# region_allocator.cpp
d49754129145a19ad7aa5a69122e58d09375f4ac

# region_free_list.cpp
83fa3f4a0493c9c57f44c7cb6e77bb5dfb05ea91

# finalization.cpp
2ab9d88c8dd2431fc7a09527dd4adb24848a4ece

# interface.cpp
b91cb52f3b3f23cdb45ac7234a7cab974cbed9af

# allocation.cpp
d682279be75df3debe5413c5fed486cfdabc3534

# mark_phase.cpp
6fbf6a2dd6b5c701119368c08276a3ba552b6683

# plan_phase.cpp
1b46271bd978040090987df603c062a715f0af65

# relocate_compact.cpp
35d6f5a8e0323294d7b9ff4bea3c4213a3db2ccb

# sweep.cpp
43fc659bc9145cab1a4a73aae73ac853bc330256

# background.cpp
81e8f3b4f28894173c6cd3a3a76c4e7f856e8a66

# regions_segments.cpp
ba70358a247a319a5e2895fde84b2579172f3d2b

# card_table.cpp
42f56409dc3c7f2443d28230e3e17c50df9d5629

# memory.cpp
7aa69f096ff5b56e3669b0fe344b85b04426a52e

# diagnostics.cpp
7932b9d8847f277d1fdfe0375a71c35c0a6969f3

# dynamic_tuning.cpp
cdc50607148e41906aafb60e2aeb6aa392d1a249

# no_gc.cpp
2f4ec5f3f7ec88320804b5cabfb8fce5088b4dbd

# dynamic_heap_count.cpp
b22c2d115c34e36fa5711caae405e8ee1292d167

# init.cpp
29123fc5becb2b883b9a335392bf8f1fa709b3e9

# collect.cpp
b5a1146dcfd341e93178530625503dd4fdff5126

# gc.cpp - trim to core infrastructure
b3e810d361b0652e4caa9476b88cb66f4ed1eed2

# Prepare: rename gc.cpp to gc_full.cpp
2fdb93ffc36e8c55b713b017e566deae4438938b
2 changes: 1 addition & 1 deletion docs/project/list-of-diagnostics.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ The diagnostic id values reserved for .NET Libraries analyzer warnings are `SYSL
| __`SYSLIB1223`__ | Attributes deriving from JsonConverterAttribute are not supported by the source generator. |
| __`SYSLIB1224`__ | Types annotated with JsonSerializableAttribute must be classes deriving from JsonSerializerContext. |
| __`SYSLIB1225`__ | Type includes ref like property, field or constructor parameter. |
| __`SYSLIB1226`__ | _`SYSLIB1220`-`SYSLIB1229` reserved for System.Text.Json.SourceGeneration._ |
| __`SYSLIB1226`__ | 'JsonIgnoreCondition.Always' is not valid on type-level 'JsonIgnoreAttribute' annotations. |
| __`SYSLIB1227`__ | _`SYSLIB1220`-`SYSLIB1229` reserved for System.Text.Json.SourceGeneration._ |
| __`SYSLIB1228`__ | _`SYSLIB1220`-`SYSLIB1229` reserved for System.Text.Json.SourceGeneration._ |
| __`SYSLIB1229`__ | _`SYSLIB1220`-`SYSLIB1229` reserved for System.Text.Json.SourceGeneration._ |
Expand Down
7 changes: 7 additions & 0 deletions eng/common/native/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ case "$os" in
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
# Skip brew update for now, see https://github.com/actions/setup-python/issues/577
# brew update --preinstall

# Remove Homebrew LLVM if present. The CI runner image may ship with a
# Homebrew LLVM whose libraries (e.g., libunwind.dylib) are the wrong
# architecture or conflict with the Apple SDK, breaking native linking.
# The build uses Apple clang from /usr/bin/clang exclusively.
brew uninstall --ignore-dependencies llvm@18 2>/dev/null || true

brew bundle --no-upgrade --file=- <<EOF
brew "cmake"
brew "icu4c"
Expand Down
50 changes: 50 additions & 0 deletions eng/pipelines/cdac/prepare-cdac-helix-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# prepare-cdac-helix-steps.yml — Shared steps for preparing cDAC dump test Helix payloads.
#
# Used by CdacDumpTests, CdacXPlatDumpGen, and CdacXPlatDumpTests stages in runtime-diagnostics.yml.
# Handles: building debuggees, preparing Helix payload, finding testhost and Helix queue.

parameters:
buildDebuggees: true
skipDebuggeeCopy: false

steps:
- ${{ if parameters.buildDebuggees }}:
- script: $(Build.SourcesDirectory)$(dir).dotnet$(dir)dotnet$(exeExt) msbuild
$(Build.SourcesDirectory)/src/native/managed/cdac/tests/DumpTests/Microsoft.Diagnostics.DataContractReader.DumpTests.csproj
/t:BuildDebuggeesOnly
/p:Configuration=$(_BuildConfig)
/p:TargetArchitecture=$(archType)
-bl:$(Build.SourcesDirectory)/artifacts/log/BuildDebuggees.binlog
displayName: 'Build Debuggees'

- script: $(Build.SourcesDirectory)$(dir).dotnet$(dir)dotnet$(exeExt) build
$(Build.SourcesDirectory)/src/native/managed/cdac/tests/DumpTests/Microsoft.Diagnostics.DataContractReader.DumpTests.csproj
/p:PrepareHelixPayload=true
/p:SkipDebuggeeCopy=${{ parameters.skipDebuggeeCopy }}
/p:Configuration=$(_BuildConfig)
/p:HelixPayloadDir=$(Build.SourcesDirectory)/artifacts/helixPayload/cdac
/p:SkipDumpVersions=net10.0
-bl:$(Build.SourcesDirectory)/artifacts/log/DumpTestPayload.binlog
displayName: 'Prepare Helix Payload'

- pwsh: |
$testhostDir = Get-ChildItem -Directory -Path "$(Build.SourcesDirectory)/artifacts/bin/testhost/net*-$(osGroup)-*-$(archType)" | Select-Object -First 1 -ExpandProperty FullName
if (-not $testhostDir) {
Write-Error "No testhost directory found matching net*-$(osGroup)-*-$(archType) under artifacts/bin/testhost/"
exit 1
}
Write-Host "TestHost directory: $testhostDir"
Write-Host "##vso[task.setvariable variable=TestHostPayloadDir]$testhostDir"

$queue = switch ("$(osGroup)_$(archType)") {
"windows_x64" { "$(helix_windows_x64)" }
"windows_arm64" { "$(helix_windows_arm64)" }
"linux_x64" { "$(helix_linux_x64_oldest)" }
"linux_arm64" { "$(helix_linux_arm64_oldest)" }
"osx_x64" { "$(helix_macos_x64)" }
"osx_arm64" { "$(helix_macos_arm64)" }
default { Write-Error "Unsupported platform: $(osGroup)_$(archType)"; exit 1 }
}
Write-Host "Helix queue: $queue"
Write-Host "##vso[task.setvariable variable=CdacHelixQueue]$queue"
displayName: 'Find TestHost Directory and Helix Queue'
30 changes: 18 additions & 12 deletions eng/pipelines/extra-platforms/runtime-extra-platforms-ioslike.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
isiOSLikeOnlyBuild: ${{ parameters.isiOSLikeOnlyBuild }}
platforms:
- ios_arm64
- tvos_arm64
# Tracking issue: https://github.com/dotnet/runtime/issues/123796
# - ios_arm64
# - tvos_arm64
variables:
# map dependencies variables to local variables
- name: librariesContainsChange
Expand Down Expand Up @@ -64,8 +65,9 @@ jobs:
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
isiOSLikeOnlyBuild: ${{ parameters.isiOSLikeOnlyBuild }}
platforms:
- ios_arm64
- tvos_arm64
# Tracking issue: https://github.com/dotnet/runtime/issues/123796
# - ios_arm64
# - tvos_arm64
variables:
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:
- name: _HelixSource
Expand Down Expand Up @@ -108,8 +110,9 @@ jobs:
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
isiOSLikeOnlyBuild: ${{ parameters.isiOSLikeOnlyBuild }}
platforms:
- ios_arm64
- tvos_arm64
# Tracking issue: https://github.com/dotnet/runtime/issues/123796
# - ios_arm64
# - tvos_arm64
variables:
# map dependencies variables to local variables
- name: librariesContainsChange
Expand Down Expand Up @@ -141,8 +144,9 @@ jobs:
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
isiOSLikeOnlyBuild: ${{ parameters.isiOSLikeOnlyBuild }}
platforms:
- ios_arm64
- tvos_arm64
# Tracking issue: https://github.com/dotnet/runtime/issues/123796
# - ios_arm64
# - tvos_arm64
variables:
- name: timeoutPerTestInMinutes
value: 60
Expand Down Expand Up @@ -179,8 +183,9 @@ jobs:
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
isiOSLikeOnlyBuild: ${{ parameters.isiOSLikeOnlyBuild }}
platforms:
- ios_arm64
- tvos_arm64
# Tracking issue: https://github.com/dotnet/runtime/issues/123796
# - ios_arm64
# - tvos_arm64
variables:
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:
- name: _HelixSource
Expand Down Expand Up @@ -222,8 +227,9 @@ jobs:
isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}
isiOSLikeOnlyBuild: ${{ parameters.isiOSLikeOnlyBuild }}
platforms:
- ios_arm64
- tvos_arm64
# Tracking issue: https://github.com/dotnet/runtime/issues/123796
# - ios_arm64
# - tvos_arm64
variables:
# map dependencies variables to local variables
- name: librariesContainsChange
Expand Down
Loading