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