9#ifndef liblldb_SingleStepCheck_H_
10#define liblldb_SingleStepCheck_H_
17namespace process_linux {
29#if defined(__arm64__) || defined(__aarch64__)
30class SingleStepWorkaround {
32 cpu_set_t m_original_set;
34 SingleStepWorkaround(
const SingleStepWorkaround &) =
delete;
35 void operator=(
const SingleStepWorkaround &) =
delete;
38 SingleStepWorkaround(::pid_t tid, cpu_set_t original_set)
39 : m_tid(tid), m_original_set(original_set) {}
40 ~SingleStepWorkaround();
42 static std::unique_ptr<SingleStepWorkaround>
Get(::pid_t tid);
47 static std::unique_ptr<SingleStepWorkaround>
Get(::pid_t tid) {
static std::unique_ptr< SingleStepWorkaround > Get(::pid_t tid)
A class that represents a running process on the host machine.