[Lldb-commits] [lldb] [lldb][AIX] get host info for AIX (PR #134354)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 23 04:05:45 PDT 2025
================
@@ -7,17 +7,139 @@
//===----------------------------------------------------------------------===//
#include "lldb/Host/Host.h"
+#include "lldb/Host/posix/Support.h"
+#include "lldb/Utility/LLDBLog.h"
+#include "lldb/Utility/Log.h"
+#include "lldb/Utility/ProcessInfo.h"
#include "lldb/Utility/Status.h"
+#include "llvm/BinaryFormat/XCOFF.h"
+#include <sys/proc.h>
+#include <sys/procfs.h>
+using namespace llvm;
+using namespace lldb;
using namespace lldb_private;
+namespace {
+enum class ProcessState {
+ Unknown,
+ Dead,
+ DiskSleep,
+ Idle,
+ Paging,
+ Parked,
+ Running,
+ Sleeping,
+ TracedOrStopped,
+ Zombie,
+};
+}
+
+ProcessInstanceInfo::timespec convert(pr_timestruc64_t t) {
----------------
labath wrote:
```suggestion
static ProcessInstanceInfo::timespec convert(pr_timestruc64_t t) {
```
https://github.com/llvm/llvm-project/pull/134354
More information about the lldb-commits
mailing list