52 references to RuntimeInfoArchitecture
Microsoft.Diagnostics.DataContractReader.Abstractions (1)
Contracts\IRuntimeInfo.cs (1)
36
RuntimeInfoArchitecture
GetTargetArchitecture() => throw new NotImplementedException();
Microsoft.Diagnostics.DataContractReader.Contracts (36)
Contracts\DebugInfo\DebugInfo_2.cs (1)
145
bool isX86 = _target.Contracts.RuntimeInfo.GetTargetArchitecture() ==
RuntimeInfoArchitecture
.X86;
Contracts\ExecutionManager\Helpers\UnwindDataSize.cs (8)
12
public static uint GetUnwindDataSize(Target target, TargetPointer unwindInfo,
RuntimeInfoArchitecture
arch)
16
case
RuntimeInfoArchitecture
.X86:
18
case
RuntimeInfoArchitecture
.X64:
30
case
RuntimeInfoArchitecture
.Arm:
31
case
RuntimeInfoArchitecture
.Arm64:
38
if (arch ==
RuntimeInfoArchitecture
.Arm)
66
case
RuntimeInfoArchitecture
.LoongArch64:
67
case
RuntimeInfoArchitecture
.RiscV64:
Contracts\GCInfo\GCInfoDecoder.cs (2)
104
private readonly
RuntimeInfoArchitecture
_arch;
464
if (_arch ==
RuntimeInfoArchitecture
.Arm64)
Contracts\RuntimeInfo_1.cs (3)
17
readonly
RuntimeInfoArchitecture
IRuntimeInfo.GetTargetArchitecture()
21
if (Enum.TryParse(arch, ignoreCase: true, out
RuntimeInfoArchitecture
parsedArch))
27
return
RuntimeInfoArchitecture
.Unknown;
Contracts\Signature\Signature_1.cs (1)
63
if (_target.Contracts.RuntimeInfo.GetTargetArchitecture() ==
RuntimeInfoArchitecture
.X86)
Contracts\StackWalk\Context\IPlatformAgnosticContext.cs (7)
38
RuntimeInfoArchitecture
.X86 => new ContextHolder<X86Context>(),
39
RuntimeInfoArchitecture
.X64 => new ContextHolder<AMD64Context>(),
40
RuntimeInfoArchitecture
.Arm => new ContextHolder<ARMContext>(),
41
RuntimeInfoArchitecture
.Arm64 => new ContextHolder<ARM64Context>(),
42
RuntimeInfoArchitecture
.LoongArch64 => new ContextHolder<LoongArch64Context>(),
43
RuntimeInfoArchitecture
.RiscV64 => new ContextHolder<RISCV64Context>(),
44
RuntimeInfoArchitecture
.Unknown => throw new InvalidOperationException($"Processor architecture is required for creating a platform specific context and is not provided by the target"),
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (6)
558
RuntimeInfoArchitecture
.X64 =>
560
RuntimeInfoArchitecture
.Arm64 => "x0",
561
RuntimeInfoArchitecture
.Arm => "r0",
562
RuntimeInfoArchitecture
.X86 => "ecx",
563
RuntimeInfoArchitecture
.LoongArch64 => "a0",
564
RuntimeInfoArchitecture
.RiscV64 => "a0",
Contracts\StackWalk\GC\GcScanner.cs (2)
182
if (_target.Contracts.RuntimeInfo.GetTargetArchitecture() is
RuntimeInfoArchitecture
.X86)
469
return _target.Contracts.RuntimeInfo.GetTargetArchitecture() is
RuntimeInfoArchitecture
.Arm64;
CoreCLRContracts.cs (6)
58
RuntimeInfoArchitecture
arch = t.Contracts.RuntimeInfo.GetTargetArchitecture();
61
RuntimeInfoArchitecture
.X64 => new GCInfo_1<AMD64GCInfoTraits>(t),
62
RuntimeInfoArchitecture
.Arm64 => new GCInfo_1<ARM64GCInfoTraits>(t),
63
RuntimeInfoArchitecture
.Arm => new GCInfo_1<ARMGCInfoTraits>(t),
64
RuntimeInfoArchitecture
.LoongArch64 => new GCInfo_1<LoongArch64GCInfoTraits>(t),
65
RuntimeInfoArchitecture
.RiscV64 => new GCInfo_1<RISCV64GCInfoTraits>(t),
Microsoft.Diagnostics.DataContractReader.Legacy (15)
ClrDataFrame.cs (5)
967
RuntimeInfoArchitecture
arch = target.Contracts.RuntimeInfo.GetTargetArchitecture();
970
RuntimeInfoArchitecture
.X64 => 4, // RSP
971
RuntimeInfoArchitecture
.X86 => 4, // ESP
972
RuntimeInfoArchitecture
.Arm64 => 31, // SP
973
RuntimeInfoArchitecture
.Arm => 13, // SP
Dbi\DacDbiImpl.cs (3)
1485
RuntimeInfoArchitecture
arch = _target.Contracts.RuntimeInfo.GetTargetArchitecture();
1489
if (arch ==
RuntimeInfoArchitecture
.Arm || arch ==
RuntimeInfoArchitecture
.Wasm)
SOSDacImpl.cs (7)
2224
if (_target.Contracts.RuntimeInfo.GetTargetArchitecture() !=
RuntimeInfoArchitecture
.X64)
3833
RuntimeInfoArchitecture
.X64 => s_amd64Registers,
3834
RuntimeInfoArchitecture
.Arm => s_armRegisters,
3835
RuntimeInfoArchitecture
.Arm64 => s_arm64Registers,
3836
RuntimeInfoArchitecture
.X86 => s_x86Registers,
3837
RuntimeInfoArchitecture
.LoongArch64 => s_loongArch64Registers,
3838
RuntimeInfoArchitecture
.RiscV64 => s_riscV64Registers,