[Lldb-commits] [lldb] [lldb][AIX] get host info for AIX (cont..) (PR #138687)

Hemang Gadhavi via lldb-commits lldb-commits at lists.llvm.org
Wed May 21 02:36:00 PDT 2025


HemangGadhavi wrote:

> Could you also make unit tests for these two functions:
> 
> * call GetProgramFileSpec and make sure the result is reasonable (exists?)
> * create a Process and make sure FindProcesses finds it (you can use [this](https://github.com/llvm/llvm-project/blob/52f568dbbb61ffe26b7973b482e0e504b405a0ab/lldb/unittests/Host/HostTest.cpp#L79) trick to re-execute yourself)

Hi @labath 
Created the testcases for the GetProgramFileSpec & FindProcesses.

But for the FindProcesses() testcase, we are able to launch the process but later point we are seeing dump on the testcase.
Could you please verify are we giving the input correctly or missing something? 
from the logs we can see that GetProcessAndStatInfo() (which is invoked from GetProcessInfo() & FindProcesses()) dumping the core specifically while calling GetExePathAndArch() function on linux. 
Could you please help to guide on that.?



https://github.com/llvm/llvm-project/pull/138687


More information about the lldb-commits mailing list