3 instantiations of CodeBlock
Microsoft.Diagnostics.DataContractReader.Contracts (3)
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (1)
44
info = new
CodeBlock
(codeStart, realCodeHeader.MethodDesc, relativeOffset, rangeSection.Data!.JitManager);
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (1)
42
info = new
CodeBlock
(codeStart.Value, realCodeHeader.MethodDesc, relativeOffset, rangeSection.Data.JitManager);
Contracts\ExecutionManager\ExecutionManagerCore.ReadyToRunJitManager.cs (1)
70
info = new
CodeBlock
(startAddress, methodDesc, relativeOffset, rangeSection.Data!.JitManager);
19 references to CodeBlock
Microsoft.Diagnostics.DataContractReader.Contracts (19)
Contracts\ExecutionManager\ExecutionManagerCore.cs (16)
19
private readonly Dictionary<TargetPointer,
CodeBlock
> _codeInfos = new();
118
public abstract bool GetMethodInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, [NotNullWhen(true)] out
CodeBlock
? info);
206
private
CodeBlock
? GetCodeBlock(TargetCodePointer jittedCodeAddress)
214
if (jitManager?.GetMethodInfo(range, jittedCodeAddress, out
CodeBlock
? info) == true)
230
CodeBlock
? info = GetCodeBlock(ip);
241
if (!_codeInfos.TryGetValue(codeInfoHandle.Address, out
CodeBlock
? info))
242
throw new InvalidOperationException($"{nameof(
CodeBlock
)} not found for {codeInfoHandle.Address}");
249
if (!_codeInfos.TryGetValue(codeInfoHandle.Address, out
CodeBlock
? info))
250
throw new InvalidOperationException($"{nameof(
CodeBlock
)} not found for {codeInfoHandle.Address}");
321
if (jitManager?.GetMethodInfo(range, entrypoint, out
CodeBlock
? info) == true && info != null)
341
if (!_codeInfos.TryGetValue(codeInfoHandle.Address, out
CodeBlock
? info))
342
throw new InvalidOperationException($"{nameof(
CodeBlock
)} not found for {codeInfoHandle.Address}");
409
if (!_codeInfos.TryGetValue(codeInfoHandle.Address, out
CodeBlock
? info))
410
throw new InvalidOperationException($"{nameof(
CodeBlock
)} not found for {codeInfoHandle.Address}");
542
if (!_codeInfos.TryGetValue(codeInfoHandle.Address, out
CodeBlock
? info))
543
throw new InvalidOperationException($"{nameof(
CodeBlock
)} not found for {codeInfoHandle.Address}");
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (1)
24
public override bool GetMethodInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, [NotNullWhen(true)] out
CodeBlock
? info)
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (1)
22
public override bool GetMethodInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, [NotNullWhen(true)] out
CodeBlock
? info)
Contracts\ExecutionManager\ExecutionManagerCore.ReadyToRunJitManager.cs (1)
32
public override bool GetMethodInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, [NotNullWhen(true)] out
CodeBlock
? info)