Skip to content

Commit ab6f470

Browse files
[lldb][AIX] Host.cpp for AIX (#130582)
This PR is in reference to porting LLDB on AIX. Link to discussions on llvm discourse and github: 1. https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640 2. #101657 The complete changes for porting are present in this draft PR: #102601 Added base file - aix/Host.cpp for Process info
1 parent 205c532 commit ab6f470

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

lldb/source/Host/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ else()
135135

136136
elseif (CMAKE_SYSTEM_NAME MATCHES "AIX")
137137
add_host_subdirectory(aix
138+
aix/Host.cpp
138139
aix/HostInfoAIX.cpp
139140
)
140141
endif()

lldb/source/Host/aix/Host.cpp

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
//===-- source/Host/aix/Host.cpp ----------------------------------------===//
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+
//===----------------------------------------------------------------------===//
8+
9+
#include "lldb/Host/Host.h"
10+
#include "lldb/Utility/Status.h"
11+
12+
using namespace lldb_private;
13+
14+
uint32_t Host::FindProcessesImpl(const ProcessInstanceInfoMatch &match_info,
15+
ProcessInstanceInfoList &process_infos) {
16+
return 0;
17+
}
18+
19+
bool Host::GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &process_info) {
20+
return false;
21+
}
22+
23+
Status Host::ShellExpandArguments(ProcessLaunchInfo &launch_info) {
24+
return Status("unimplemented");
25+
}

0 commit comments

Comments
 (0)