Skip to content

Commit b6d3023

Browse files
Addressed comments
1 parent b6daa27 commit b6d3023

File tree

1 file changed

+1
-40
lines changed

1 file changed

+1
-40
lines changed

lldb/source/Host/aix/Host.cpp

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -7,60 +7,21 @@
77
//===----------------------------------------------------------------------===//
88

99
#include "lldb/Host/Host.h"
10-
#include "lldb/Utility/ProcessInfo.h"
1110
#include "lldb/Utility/Status.h"
12-
#include <dirent.h>
1311

1412
using namespace llvm;
1513
using namespace lldb;
1614
using namespace lldb_private;
1715

18-
namespace {
19-
enum class ProcessState {
20-
Unknown,
21-
Dead,
22-
DiskSleep,
23-
Idle,
24-
Paging,
25-
Parked,
26-
Running,
27-
Sleeping,
28-
TracedOrStopped,
29-
Zombie,
30-
};
31-
}
32-
33-
namespace lldb_private {
34-
class ProcessLaunchInfo;
35-
}
36-
37-
static bool GetStatusInfo(::pid_t Pid, ProcessInstanceInfo &ProcessInfo,
38-
ProcessState &State, ::pid_t &TracerPid,
39-
::pid_t &Tgid) {
40-
return false;
41-
}
42-
43-
static void GetProcessArgs(::pid_t pid, ProcessInstanceInfo &process_info) {}
44-
45-
static bool GetProcessAndStatInfo(::pid_t pid,
46-
ProcessInstanceInfo &process_info,
47-
ProcessState &State, ::pid_t &tracerpid) {
48-
return false;
49-
}
50-
5116
uint32_t Host::FindProcessesImpl(const ProcessInstanceInfoMatch &match_info,
5217
ProcessInstanceInfoList &process_infos) {
5318
return 0;
5419
}
5520

5621
bool Host::GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &process_info) {
57-
::pid_t tracerpid;
58-
ProcessState State;
59-
return GetProcessAndStatInfo(pid, process_info, State, tracerpid);
22+
return false;
6023
}
6124

62-
Environment Host::GetEnvironment() { return Environment(environ); }
63-
6425
Status Host::ShellExpandArguments(ProcessLaunchInfo &launch_info) {
6526
return Status("unimplemented");
6627
}

0 commit comments

Comments
 (0)