1919#include " lldb/Utility/FileSpec.h"
2020#include " lldb/lldb-types.h"
2121#include " llvm/ADT/SmallPtrSet.h"
22- #include " lldb/Host/aix/Support.h"
2322
2423#include " NativeThreadAIX.h"
25- #include " lldb/Host/common/NativeProcessProtocol.h"
2624#include " Plugins/Process/Utility/NativeProcessSoftwareSingleStep.h"
25+ #include " lldb/Host/common/NativeProcessProtocol.h"
2726
2827namespace lldb_private {
2928class Status ;
@@ -38,24 +37,22 @@ namespace process_aix {
3837// /
3938// / Changes in the inferior process state are broadcasted.
4039class NativeProcessAIX : public NativeProcessProtocol ,
41- private NativeProcessSoftwareSingleStep {
40+ private NativeProcessSoftwareSingleStep {
4241public:
4342 class Manager : public NativeProcessProtocol ::Manager {
4443 public:
4544 Manager (MainLoop &mainloop);
4645
4746 llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
4847 Launch (ProcessLaunchInfo &launch_info,
49- NativeDelegate &native_delegate) override ;
48+ NativeDelegate &native_delegate) override ;
5049
5150 llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
5251 Attach (lldb::pid_t pid, NativeDelegate &native_delegate) override ;
5352
5453 Extension GetSupportedExtensions () const override ;
5554
56- void AddProcess (NativeProcessAIX &process) {
57- m_processes.insert (&process);
58- }
55+ void AddProcess (NativeProcessAIX &process) { m_processes.insert (&process); }
5956
6057 void RemoveProcess (NativeProcessAIX &process) {
6158 m_processes.erase (&process);
@@ -102,7 +99,7 @@ class NativeProcessAIX : public NativeProcessProtocol,
10299 void *data = nullptr , size_t data_size = 0 ,
103100 long *result = nullptr );
104101
105- // Wrapper for ptrace to catch errors and log calls. Note that ptrace sets
102+ // Wrapper for ptrace to catch errors and log calls. Note that ptrace sets
106103
107104private:
108105 Manager &m_manager;
@@ -112,8 +109,8 @@ class NativeProcessAIX : public NativeProcessProtocol,
112109
113110 // Private Instance Methods
114111 NativeProcessAIX (::pid_t pid, int terminal_fd, NativeDelegate &delegate,
115- const ArchSpec &arch, Manager &manager,
116- llvm::ArrayRef<::pid_t > tids);
112+ const ArchSpec &arch, Manager &manager,
113+ llvm::ArrayRef<::pid_t > tids);
117114
118115 // Returns a list of process threads that we have attached to.
119116 static llvm::Expected<std::vector<::pid_t >> Attach (::pid_t pid);
@@ -125,7 +122,6 @@ class NativeProcessAIX : public NativeProcessProtocol,
125122 Status Detach (lldb::tid_t tid);
126123
127124 void SigchldHandler ();
128-
129125};
130126
131127} // namespace process_aix
0 commit comments