File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Sources/WasmKit/Execution Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 4949 /// Pc ofthe final instruction that a successful program will execute, initialized with `Instruction.endofExecution`
5050 private let endOfExecution = Pc . allocate ( capacity: 1 )
5151
52- /// Addresses of functions in the original Wasm binary, used looking up functions when a breakpoint
52+ /// Addresses of functions in the original Wasm binary, used for looking up functions when a breakpoint
5353 /// is enabled at an arbitrary address if it isn't present in ``InstructionMapping`` yet (i.e. the
5454 /// was not compiled yet in lazy compilation mode).
5555 private let functionAddresses : [ ( address: Int , instanceFunctionIndex: Int ) ]
5656
57+ /// Cache for stack frames that use debugger-friendly memory layout.
5758 private var stackFrame = DebuggerStackFrame ( )
5859
5960 /// Initializes a new debugger state instance.
Original file line number Diff line number Diff line change 11#if WasmDebuggingSupport
22
3+ /// Encapsulates a caching buffer that stores a stack frame in debugger-friendly
4+ /// memory layout that's distinct from WasmKit's iseq stack frame memory layout.
35 package struct DebuggerStackFrame : ~ Copyable {
46 private var buffer = UnsafeMutableRawBufferPointer . allocate ( byteCount: 1 , alignment: 8 )
57
You can’t perform that action at this time.
0 commit comments