Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / source / Plugins / Process / Utility / NativeProcessSoftwareSingleStep.h
blobf9435b7a84ba498238e81c3ab740a227944a9ae4
1 //===-- NativeProcessSoftwareSingleStep.h -----------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef lldb_NativeProcessSoftwareSingleStep_h
10 #define lldb_NativeProcessSoftwareSingleStep_h
12 #include "lldb/Host/common/NativeProcessProtocol.h"
13 #include "lldb/Host/common/NativeThreadProtocol.h"
15 #include <map>
17 namespace lldb_private {
19 class NativeProcessSoftwareSingleStep {
20 public:
21 Status SetupSoftwareSingleStepping(NativeThreadProtocol &thread);
23 protected:
24 // List of thread ids stepping with a breakpoint with the address of
25 // the relevan breakpoint
26 std::map<lldb::tid_t, lldb::addr_t> m_threads_stepping_with_breakpoint;
29 } // namespace lldb_private
31 #endif // #ifndef lldb_NativeProcessSoftwareSingleStep_h