Searched refs:expected_trap (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | NativeProcessProtocol.cpp | 427 auto expected_trap = GetSoftwareBreakpointTrapOpcode(size_hint); in EnableSoftwareBreakpoint() local 428 if (!expected_trap) in EnableSoftwareBreakpoint() 429 return expected_trap.takeError(); in EnableSoftwareBreakpoint() 431 llvm::SmallVector<uint8_t, 4> saved_opcode_bytes(expected_trap->size(), 0); in EnableSoftwareBreakpoint() 454 error = WriteMemory(addr, expected_trap->data(), expected_trap->size(), in EnableSoftwareBreakpoint() 460 if (bytes_written != expected_trap->size()) { in EnableSoftwareBreakpoint() 465 expected_trap->size(), bytes_written); in EnableSoftwareBreakpoint() 468 llvm::SmallVector<uint8_t, 4> verify_bp_opcode_bytes(expected_trap->size(), in EnableSoftwareBreakpoint() 487 *expected_trap) { in EnableSoftwareBreakpoint() 497 return SoftwareBreakpoint{1, saved_opcode_bytes, *expected_trap}; in EnableSoftwareBreakpoint()
|