Skip to content

Commit 17c21db

Browse files
Removed GetName
1 parent c78c83f commit 17c21db

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

lldb/source/Plugins/Process/AIX/NativeThreadAIX.cpp

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
#include "NativeThreadAIX.h"
1010
#include "NativeProcessAIX.h"
1111
#include "lldb/Utility/State.h"
12-
#include <procinfo.h>
13-
#include <sys/procfs.h>
1412

1513
using namespace lldb;
1614
using namespace lldb_private;
@@ -19,18 +17,7 @@ using namespace lldb_private::process_aix;
1917
NativeThreadAIX::NativeThreadAIX(NativeProcessAIX &process, lldb::tid_t tid)
2018
: NativeThreadProtocol(process, tid), m_state(StateType::eStateInvalid) {}
2119

22-
std::string NativeThreadAIX::GetName() {
23-
NativeProcessAIX &process = GetProcess();
24-
auto BufferOrError = getProcFile(process.GetID(), "psinfo");
25-
if (!BufferOrError)
26-
return "";
27-
auto &Buffer = *BufferOrError;
28-
if (Buffer->getBufferSize() < sizeof(psinfo_t))
29-
return "";
30-
const psinfo_t *psinfo =
31-
reinterpret_cast<const psinfo_t *>(Buffer->getBufferStart());
32-
return std::string(psinfo->pr_fname);
33-
}
20+
std::string NativeThreadAIX::GetName() { return ""; }
3421

3522
lldb::StateType NativeThreadAIX::GetState() { return m_state; }
3623

0 commit comments

Comments
 (0)