3 instantiations of CodeBlock
Microsoft.Diagnostics.DataContractReader.Contracts (3)
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (1)
44
info = new
CodeBlock
(codeStart, realCodeHeader.MethodDesc, relativeOffset, rangeSection);
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (1)
42
info = new
CodeBlock
(codeStart.Value, realCodeHeader.MethodDesc, relativeOffset, rangeSection);
Contracts\ExecutionManager\ExecutionManagerCore.ReadyToRunJitManager.cs (1)
74
info = new
CodeBlock
(startAddress, methodDesc, relativeOffset, rangeSection);
19 references to CodeBlock
Microsoft.Diagnostics.DataContractReader.Contracts (19)
Contracts\ExecutionManager\ExecutionManagerCore.cs (16)
19
private readonly Dictionary<TargetPointer,
CodeBlock
> _codeInfos = new();
132
public abstract bool GetMethodInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, [NotNullWhen(true)] out
CodeBlock
? info);
319
private
CodeBlock
? GetCodeBlock(TargetCodePointer jittedCodeAddress)
327
if (jitManager?.GetMethodInfo(range, jittedCodeAddress, out
CodeBlock
? info) == true)
343
CodeBlock
? info = GetCodeBlock(ip);
354
if (!_codeInfos.TryGetValue(codeInfoHandle.Address, out
CodeBlock
? info))
355
throw new InvalidOperationException($"{nameof(
CodeBlock
)} not found for {codeInfoHandle.Address}");
362
if (!_codeInfos.TryGetValue(codeInfoHandle.Address, out
CodeBlock
? info))
363
throw new InvalidOperationException($"{nameof(
CodeBlock
)} not found for {codeInfoHandle.Address}");
437
if (jitManager?.GetMethodInfo(range, entrypoint, out
CodeBlock
? info) == true && info != null)
515
if (!_codeInfos.TryGetValue(codeInfoHandle.Address, out
CodeBlock
? info))
516
throw new InvalidOperationException($"{nameof(
CodeBlock
)} not found for {codeInfoHandle.Address}");
605
if (!_codeInfos.TryGetValue(codeInfoHandle.Address, out
CodeBlock
? info))
606
throw new InvalidOperationException($"{nameof(
CodeBlock
)} not found for {codeInfoHandle.Address}");
769
if (!_codeInfos.TryGetValue(codeInfoHandle.Address, out
CodeBlock
? info))
770
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)
34
public override bool GetMethodInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, [NotNullWhen(true)] out
CodeBlock
? info)