3 instantiations of CodeBlock
Microsoft.Diagnostics.DataContractReader.Contracts (3)
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (1)
42
info = new
CodeBlock
(codeStart, realCodeHeader.MethodDesc, relativeOffset, rangeSection.Data!.JitManager);
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (1)
41
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();
109
public abstract bool GetMethodInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, [NotNullWhen(true)] out
CodeBlock
? info);
197
private
CodeBlock
? GetCodeBlock(TargetCodePointer jittedCodeAddress)
205
if (jitManager?.GetMethodInfo(range, jittedCodeAddress, out
CodeBlock
? info) == true)
221
CodeBlock
? info = GetCodeBlock(ip);
232
if (!_codeInfos.TryGetValue(codeInfoHandle.Address, out
CodeBlock
? info))
233
throw new InvalidOperationException($"{nameof(
CodeBlock
)} not found for {codeInfoHandle.Address}");
240
if (!_codeInfos.TryGetValue(codeInfoHandle.Address, out
CodeBlock
? info))
241
throw new InvalidOperationException($"{nameof(
CodeBlock
)} not found for {codeInfoHandle.Address}");
311
if (jitManager?.GetMethodInfo(range, entrypoint, out
CodeBlock
? info) == true && info != null)
331
if (!_codeInfos.TryGetValue(codeInfoHandle.Address, out
CodeBlock
? info))
332
throw new InvalidOperationException($"{nameof(
CodeBlock
)} not found for {codeInfoHandle.Address}");
399
if (!_codeInfos.TryGetValue(codeInfoHandle.Address, out
CodeBlock
? info))
400
throw new InvalidOperationException($"{nameof(
CodeBlock
)} not found for {codeInfoHandle.Address}");
461
if (!_codeInfos.TryGetValue(codeInfoHandle.Address, out
CodeBlock
? info))
462
throw new InvalidOperationException($"{nameof(
CodeBlock
)} not found for {codeInfoHandle.Address}");
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (1)
23
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)