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