<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/139509>139509</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[lldb][AIX] Need to add per thread variants of getProcFile in AIX
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
DhruvSrivastavaX
</td>
</tr>
</table>
<pre>
With this PR,
We have moved the Support.cpp common variants under posix, which aix and other platforms can directly use:
- https://github.com/llvm/llvm-project/pull/134354
But we need AIX variant for thread version of getProcFile.
`lldb_private::getProcFile(::pid_t pid, ::pid_t tid, const llvm::Twine &file) `
It is different than linux as follows:
- Linux has` /proc/<pid>/task`
- AIX has` /proc/<pid>/lwp `
We can create our aix/Support.cpp and implement the same there.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUk1Fr6zgQhX-N_DI0KJKdNA9-SJs1FJalbBfatyJb40h7ZclIY6f99xcphPa-XLhgsD0jj4_O-aRSsmeP2LLmgTWnSi1kQmxPJi7rS7SrSqRW9Vb1QX-2r5YMkLEJnv9l4hEYP74iGLUiTGFFDWQQXpZ5DpE2wzzDEKYpeFhVtMpTgsVrjDCHZD_y9xdjBwPKfoDyGgKZ3HSKxhCnBIPyoG3EgdwnLAmZPDKerzswRHPK76JjojtbMku_GcLEROfcervdzTH8jwMx0c2Lc0x0W1nLpr5OeVgILggeUcPx6e0mEsYQgUxEpWHFmGzwEEY4Iz3HMHTW4Sbvm-24c7p_n7NHVLTJ47dFTNxfa7PV7wSz1cWwbyW6lobgE0FRXZr_XaxHYGI3likHYDt-FfxEYBNoO44Y0ROQUR6c9csHqARjcC5csilwc-nv0jMqsR2HbEIMQ3ZMPmY58i8mOlLpx_UHd8WE3y52l_lLzSuWgIaIihDCEnOOTHTf48-p2ml2OF31IiQ1YX6IuLmOqXQr9UEeVIXtdl_vuZT7e1GZVuhxVD2_30rd9GrYyh3X41jv61HwXqhdZVvBRcObreB7fqjFph74WKtmj1xKdeCa1RwnZd0mm7sJ8VzZlBZst_LQ8EPlVI8uFe6F8HiB0mVC5GMQ2wJQv5wTq7mzidLXGLLkyoHJBLDmxJqH49Mba07wT4aJAiitYcYvjm78_woSWJ9Nr5bo2j8muqhNhemynbUVPwMAAP__uAw3Ig">