File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
lldb/source/Plugins/Process/AIX Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 99#include " NativeThreadAIX.h"
1010#include " NativeProcessAIX.h"
1111#include " lldb/Utility/State.h"
12- #include < procinfo.h>
13- #include < sys/procfs.h>
1412
1513using namespace lldb ;
1614using namespace lldb_private ;
@@ -19,18 +17,7 @@ using namespace lldb_private::process_aix;
1917NativeThreadAIX::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
3522lldb::StateType NativeThreadAIX::GetState () { return m_state; }
3623
You can’t perform that action at this time.
0 commit comments