Skip to content

Commit 045e314

Browse files
committed
minor updates
1 parent 3bfcaaa commit 045e314

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lldb/include/lldb/Host/posix/Support.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#ifndef LLDB_HOST_POSIX_SUPPORT_H
1010
#define LLDB_HOST_POSIX_SUPPORT_H
1111

12+
#include "llvm/ADT/Twine.h"
1213
#include "llvm/Support/ErrorOr.h"
1314
#include "llvm/Support/MemoryBuffer.h"
1415
#include <memory>

lldb/source/Host/aix/Host.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include <sys/proc.h>
1717
#include <sys/procfs.h>
1818

19-
using namespace llvm;
2019
using namespace lldb;
2120
using namespace lldb_private;
2221

@@ -35,7 +34,7 @@ enum class ProcessState {
3534
};
3635
}
3736

38-
ProcessInstanceInfo::timespec convert(pr_timestruc64_t t) {
37+
static ProcessInstanceInfo::timespec convert(pr_timestruc64_t t) {
3938
ProcessInstanceInfo::timespec ts;
4039
ts.tv_sec = t.tv_sec;
4140
ts.tv_usec = t.tv_nsec / 1000; // nanos to micros
@@ -101,7 +100,7 @@ static bool GetExePathAndIds(::pid_t pid, ProcessInstanceInfo &process_info) {
101100

102101
process_info.GetExecutableFile().SetFile(PathRef, FileSpec::Style::native);
103102
ArchSpec arch_spec = ArchSpec();
104-
arch_spec.SetArchitecture(eArchTypeXCOFF, XCOFF::TCPU_PPC64,
103+
arch_spec.SetArchitecture(eArchTypeXCOFF, llvm::XCOFF::TCPU_PPC64,
105104
LLDB_INVALID_CPUTYPE, llvm::Triple::AIX);
106105
process_info.SetArchitecture(arch_spec);
107106
process_info.SetParentProcessID(psinfoData.pr_ppid);

0 commit comments

Comments
 (0)