2 instantiations of CodeBlockHandle
Microsoft.Diagnostics.DataContractReader.Contracts (2)
Contracts\ExecutionManager\ExecutionManagerCore.cs (2)
341
return new
CodeBlockHandle
(key);
349
return new
CodeBlockHandle
(key);
93 references to CodeBlockHandle
Microsoft.Diagnostics.DataContractReader.Abstractions (14)
Contracts\IExecutionManager.cs (14)
107
CodeBlockHandle
? GetCodeBlockHandle(TargetCodePointer ip) => throw new NotImplementedException();
108
TargetPointer GetMethodDesc(
CodeBlockHandle
codeInfoHandle) => throw new NotImplementedException();
109
TargetPointer GetStartAddress(
CodeBlockHandle
codeInfoHandle) => throw new NotImplementedException();
110
TargetPointer GetFuncletStartAddress(
CodeBlockHandle
codeInfoHandle) => throw new NotImplementedException();
111
void GetMethodRegionInfo(
CodeBlockHandle
codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize) => throw new NotImplementedException();
118
bool IsFunclet(
CodeBlockHandle
codeInfoHandle) => throw new NotImplementedException();
119
bool IsFilterFunclet(
CodeBlockHandle
codeInfoHandle) => throw new NotImplementedException();
120
TargetPointer GetUnwindInfo(
CodeBlockHandle
codeInfoHandle) => throw new NotImplementedException();
121
TargetPointer GetUnwindInfoBaseAddress(
CodeBlockHandle
codeInfoHandle) => throw new NotImplementedException();
122
TargetPointer GetDebugInfo(
CodeBlockHandle
codeInfoHandle, out bool hasFlagByte) => throw new NotImplementedException();
123
void GetGCInfo(
CodeBlockHandle
codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion) => throw new NotImplementedException();
124
TargetNUInt GetRelativeOffset(
CodeBlockHandle
codeInfoHandle) => throw new NotImplementedException();
126
List<ExceptionClauseInfo> GetExceptionClauses(
CodeBlockHandle
codeInfoHandle) => throw new NotImplementedException();
127
uint GetStackParameterSize(
CodeBlockHandle
codeInfoHandle) => throw new NotImplementedException();
Microsoft.Diagnostics.DataContractReader.Contracts (62)
Contracts\CodeVersions_1.cs (1)
126
CodeBlockHandle
? info = executionManager.GetCodeBlockHandle(ip);
Contracts\DebugInfo\DebugInfo_1.cs (4)
36
if (_eman.GetCodeBlockHandle(pCode) is not
CodeBlockHandle
cbh)
45
if (_eman.GetCodeBlockHandle(pCode) is not
CodeBlockHandle
cbh)
122
if (_eman.GetCodeBlockHandle(pCode) is not
CodeBlockHandle
cbh)
153
if (_eman.GetCodeBlockHandle(pCode) is not
CodeBlockHandle
cbh)
Contracts\ExecutionManager\ExecutionManager_1.cs (14)
19
public
CodeBlockHandle
? GetCodeBlockHandle(TargetCodePointer ip) => _executionManagerCore.GetCodeBlockHandle(ip);
20
public TargetPointer GetMethodDesc(
CodeBlockHandle
codeInfoHandle) => _executionManagerCore.GetMethodDesc(codeInfoHandle);
21
public TargetPointer GetStartAddress(
CodeBlockHandle
codeInfoHandle) => _executionManagerCore.GetStartAddress(codeInfoHandle);
22
public TargetPointer GetFuncletStartAddress(
CodeBlockHandle
codeInfoHandle) => _executionManagerCore.GetFuncletStartAddress(codeInfoHandle);
23
public void GetMethodRegionInfo(
CodeBlockHandle
codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize) => _executionManagerCore.GetMethodRegionInfo(codeInfoHandle, out hotSize, out coldStart, out coldSize);
26
public bool IsFunclet(
CodeBlockHandle
codeInfoHandle) => _executionManagerCore.IsFunclet(codeInfoHandle);
27
public bool IsFilterFunclet(
CodeBlockHandle
codeInfoHandle) => _executionManagerCore.IsFilterFunclet(codeInfoHandle);
28
public TargetPointer GetUnwindInfo(
CodeBlockHandle
codeInfoHandle) => _executionManagerCore.GetUnwindInfo(codeInfoHandle);
29
public TargetPointer GetUnwindInfoBaseAddress(
CodeBlockHandle
codeInfoHandle) => _executionManagerCore.GetUnwindInfoBaseAddress(codeInfoHandle);
30
public TargetPointer GetDebugInfo(
CodeBlockHandle
codeInfoHandle, out bool hasFlagByte) => _executionManagerCore.GetDebugInfo(codeInfoHandle, out hasFlagByte);
31
public void GetGCInfo(
CodeBlockHandle
codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion) => _executionManagerCore.GetGCInfo(codeInfoHandle, out gcInfo, out gcVersion);
32
public TargetNUInt GetRelativeOffset(
CodeBlockHandle
codeInfoHandle) => _executionManagerCore.GetRelativeOffset(codeInfoHandle);
34
public uint GetStackParameterSize(
CodeBlockHandle
codeInfoHandle) => _executionManagerCore.GetStackParameterSize(codeInfoHandle);
35
public List<ExceptionClauseInfo> GetExceptionClauses(
CodeBlockHandle
codeInfoHandle) => _executionManagerCore.GetExceptionClauses(codeInfoHandle);
Contracts\ExecutionManager\ExecutionManagerCore.cs (18)
142
public abstract void GetExceptionClauses(RangeSection rangeSection,
CodeBlockHandle
codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr);
336
CodeBlockHandle
? IExecutionManager.GetCodeBlockHandle(TargetCodePointer ip)
352
TargetPointer IExecutionManager.GetMethodDesc(
CodeBlockHandle
codeInfoHandle)
360
TargetPointer IExecutionManager.GetStartAddress(
CodeBlockHandle
codeInfoHandle)
368
TargetPointer IExecutionManager.GetFuncletStartAddress(
CodeBlockHandle
codeInfoHandle)
392
void IExecutionManager.GetMethodRegionInfo(
CodeBlockHandle
codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize)
503
bool IExecutionManager.IsFunclet(
CodeBlockHandle
codeInfoHandle)
513
bool IExecutionManager.IsFilterFunclet(
CodeBlockHandle
codeInfoHandle)
538
if (eman.GetCodeBlockHandle(filterAddress) is
CodeBlockHandle
filterCodeInfoHandle
553
TargetPointer IExecutionManager.GetUnwindInfo(
CodeBlockHandle
codeInfoHandle)
564
TargetPointer IExecutionManager.GetUnwindInfoBaseAddress(
CodeBlockHandle
codeInfoHandle)
578
TargetPointer IExecutionManager.GetDebugInfo(
CodeBlockHandle
codeInfoHandle, out bool hasFlagByte)
589
void IExecutionManager.GetGCInfo(
CodeBlockHandle
codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion)
603
TargetNUInt IExecutionManager.GetRelativeOffset(
CodeBlockHandle
codeInfoHandle)
614
if (eman.GetCodeBlockHandle(instructionPointer) is not
CodeBlockHandle
cbh)
625
uint IExecutionManager.GetStackParameterSize(
CodeBlockHandle
codeInfoHandle)
767
private RangeSection RangeSectionFromCodeBlockHandle(
CodeBlockHandle
codeInfoHandle)
808
List<ExceptionClauseInfo> IExecutionManager.GetExceptionClauses(
CodeBlockHandle
codeInfoHandle)
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (1)
236
public override void GetExceptionClauses(RangeSection rangeSection,
CodeBlockHandle
codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr)
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (1)
109
public override void GetExceptionClauses(RangeSection rangeSection,
CodeBlockHandle
codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr)
Contracts\ExecutionManager\ExecutionManagerCore.ReadyToRunJitManager.cs (2)
346
public override void GetExceptionClauses(RangeSection range,
CodeBlockHandle
cbh, out TargetPointer startAddr, out TargetPointer endAddr)
380
CodeBlockHandle
cbh,
Contracts\StackWalk\Context\AMD64\AMD64Unwinder.cs (2)
48
if (_eman.GetCodeBlockHandle(context.InstructionPointer) is not
CodeBlockHandle
cbh)
1247
if (_eman.GetCodeBlockHandle(controlPC.Value) is not
CodeBlockHandle
cbh)
Contracts\StackWalk\Context\ARM\ARMUnwinder.cs (1)
22
if (_eman.GetCodeBlockHandle(context.InstructionPointer) is not
CodeBlockHandle
cbh)
Contracts\StackWalk\Context\ARM64\ARM64Unwinder.cs (1)
54
if (_eman.GetCodeBlockHandle(context.InstructionPointer) is not
CodeBlockHandle
cbh)
Contracts\StackWalk\Context\LoongArch64\LoongArch64Unwinder.cs (1)
39
if (_eman.GetCodeBlockHandle(context.InstructionPointer) is not
CodeBlockHandle
cbh)
Contracts\StackWalk\Context\RISCV64\RISCV64Unwinder.cs (1)
47
if (_eman.GetCodeBlockHandle(context.InstructionPointer) is not
CodeBlockHandle
cbh)
Contracts\StackWalk\Context\Wasm\WasmR2RInfo.cs (1)
52
if (_executionManager.GetCodeBlockHandle(controlPC) is not
CodeBlockHandle
codeBlock)
Contracts\StackWalk\Context\X86\X86Unwinder.cs (1)
53
if (eman.GetCodeBlockHandle(context.InstructionPointer) is not
CodeBlockHandle
cbh)
Contracts\StackWalk\GC\GcScanner.cs (1)
38
CodeBlockHandle
cbh,
Contracts\StackWalk\StackWalk_1.cs (7)
352
if (!IsManaged(gcFrame.Frame.Context.InstructionPointer, out
CodeBlockHandle
? cbh))
1211
if (!IsManaged(handle.Context.InstructionPointer, out
CodeBlockHandle
? cbh))
1280
if (IsManaged(handle.Context.InstructionPointer, out
CodeBlockHandle
? cbh))
1325
if (returnAddress != TargetCodePointer.Null && _eman.GetCodeBlockHandle(returnAddress) is
CodeBlockHandle
cbh)
1349
if (!IsManaged(handle.Context.InstructionPointer, out
CodeBlockHandle
? codeBlockHandle))
1450
private bool IsManaged(TargetCodePointer ip, [NotNullWhen(true)] out
CodeBlockHandle
? codeBlockHandle)
1452
if (_eman.GetCodeBlockHandle(ip) is
CodeBlockHandle
cbh && cbh.Address != TargetPointer.Null)
Contracts\StackWalk\StackWalk_1.ExceptionHandling.cs (4)
62
bool isCallerInVM = !IsManaged(callerIp, out
CodeBlockHandle
? _);
151
if (IsManaged(cf.Context.InstructionPointer, out
CodeBlockHandle
? cbh))
167
if (!IsManaged(handle.Context.InstructionPointer, out
CodeBlockHandle
? cbh))
181
if (!IsManaged(handle.Context.InstructionPointer, out
CodeBlockHandle
? cbh))
RuntimeTypeSystemHelpers\MethodValidation.cs (1)
207
CodeBlockHandle
? codeInfo = executionManager.GetCodeBlockHandle(jitCodeAddr);
Microsoft.Diagnostics.DataContractReader.Legacy (17)
ClrDataMethodInstance.cs (1)
563
CodeBlockHandle
? codeBlock = executionManager.GetCodeBlockHandle(code);
Dbi\DacDbiImpl.cs (8)
2310
CodeBlockHandle
? codeBlockHandle = eman.GetCodeBlockHandle(controlPC);
2311
if (codeBlockHandle is
CodeBlockHandle
cbh)
2329
data.v.jitFuncData.fIsFilterFrame = codeBlockHandle is
CodeBlockHandle
codeBlock && eman.IsFilterFunclet(codeBlock)
2341
private TargetPointer GetAmbientSP(IStackDataFrameHandle handle,
CodeBlockHandle
? codeBlockHandle, uint nativeOffset)
2343
if (codeBlockHandle is not
CodeBlockHandle
cbh)
2571
if (eman.GetCodeBlockHandle(new TargetCodePointer(controlPC)) is not
CodeBlockHandle
cbh)
2971
CodeBlockHandle
codeBlock = executionManager.GetCodeBlockHandle(nativeCode)
3029
CodeBlockHandle
codeBlock = executionManager.GetCodeBlockHandle(code)
EnumMemory\MethodCollector.cs (1)
50
if (executionManager.GetCodeBlockHandle(instructionPointer) is not
CodeBlockHandle
codeBlock
SOSDacImpl.cs (5)
806
if (eman.GetCodeBlockHandle(targetCodePointer) is not
CodeBlockHandle
cbh)
2838
CodeBlockHandle
? handle = executionManager.GetCodeBlockHandle(ip.ToTargetCodePointer(_target));
2839
if (handle is not
CodeBlockHandle
codeHandle)
4797
CodeBlockHandle
? handle = executionManager.GetCodeBlockHandle(ip.ToTargetCodePointer(_target));
4798
if (handle is not
CodeBlockHandle
codeBlockHandle)
SOSDacImpl.IXCLRDataProcess.cs (2)
302
if (eman.GetCodeBlockHandle(managedCodeAddr) is
CodeBlockHandle
codeBlock)
1029
if (eman.GetCodeBlockHandle(methodAddr) is
CodeBlockHandle
cbh &&