<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57162>57162</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[ORC] Create a jitlink friendly generic API for stub/pointer creation.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
orcjit,
jitlink
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
sunho
</td>
</tr>
</table>
<pre>
Creation of PLT and GOT generation is currently hardcoded in various palces with switches. It would be nice if we have a generic API for creating these code using jitlink.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxdUNlq5DAQ_BrrpVljyeNDD3rITtgQCCQs-QEdbVtZRRp0zJC_X9lJWFgQ6qPUXVVSwXyIc0SZbfAQFnh5egXpDTw8v8KKHuMnYhPoEiP67D5gk9HoYNCA9XCV0YaS4CKdxgQ3mzdI9dYbphYeM9xCcQYUgrcawS5ww7rhiiA_CayGu5dHWEIEfQjxK-Q6jLBzQEl7481mZ_2flqCg49gNc887TozoDe-5JLnCKJrh5_PvczPcw-FoZ_iagyVa9KZq_58y5aIa9usSrM_4rSD4lpToxJbzJTX9XX1Qz1qtFdXq8F4L567f4cclhjfUuZY2pYKpJsNER0Y2QekyLZRzZRjnqKZpQOwZDppOg1GcEicVurRLbxgLUVfBNWnYGWr4Ur83hntiBesY62Y60InObG57Nc6jOvFemhNjhjWnDt-lde2uqg1xJVEcAlVZUwWdTTn9A2VKdvV4_Nu-X5a8hShS8VsghxNx2PgL4D-1Jw">