# Functions
LLDBAttach starts an instance of lldb-server and connects to it, asking it to attach to the specified pid.
LLDBLaunch starts an instance of lldb-server and connects to it, asking it to launch the specified target program with the specified arguments (cmd) on the specified directory wd.
Record uses rr to record the execution of the specified program and returns the trace directory's path.
RecordAndReplay acts like calling Record and then Replay.
RecordAsync configures rr to record the execution of the specified program.
Replay starts an instance of rr in replay mode, with the specified trace directory, and connects to it.
# Variables
ErrDirChange is returned when trying to change execution direction while there are still internal breakpoints set.
ErrStartCallInjectionBackwards is returned when trying to start a call injection while the recording is being run backwards.
ErrUnsupportedOS is returned when trying to use the lldb backend on Windows.
# Structs
ErrBackendUnavailable is returned when the stub program can not be found.
ErrPerfEventParanoid is the error returned by Reply and Record if /proc/sys/kernel/perf_event_paranoid is greater than 1.
GdbMalformedThreadIDError is returned when the stub responds with a thread ID that does not conform with the Gdb Remote Serial Protocol specification.
GdbProtocolError is an error response (Exx) of Gdb Remote Serial Protocol or an "unsupported command" response (empty packet).