<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59222>59222</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[ORCv2] Memory manager in C-API
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
wjakob
</td>
</tr>
</table>
<pre>
I am currently in the looking into transitioning a C-API MCJIT application to ORCv2.
With MCJIT, it was possible to use `LLVMCreateSimpleMCJITMemoryManager()` to set up callbacks to precisely control the placement of executable and data sections during linking, which my application depends on.
I haven't been able to figure out how to do this with ORCv2, in particular when using the provided C-API bindings. Is there any way do do this?
Many thanks in advance!
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxVUstu2zAQ_Brpsogh05ZsHXRIHQRwEaNFW7TnFbmWmFCkwIdd_32Xcoo2gCBxX7MzQ_VO3boj4AQyeU82mhtoC3EkMM69aTtwGB1EjzboqJ3NKYTDw-PXI5wOn48_AOfZaIm5CNz65dvhIlZF9VRUj_f3Lx3He28hDqAjXDHA7ELQvaE8kgJB0VQvLz9PB08Y6bueZkPLyIkm528ntDiQL8S-EC235qlAEdIMEo3pUb6FnJs9SR2IVUhno3dmkTIblDSxOnBnoN8kU8S8Gq0ChREZSmb6AVTyWaDRNmvPdK-jliNMtw8yFc1kVQBnPwg9wogXsoXYReiJLOC7wLMekidwKcLorjmj2NNRB7hmbxbLFm8szOijlsmg59UMkUImtKjw7qIVqXfze20Vl8IKjiHXfdZzY29vGfwdv9g8_0_wlDviiJbd4l2oLmglFWJdUrdumrbet3VTl6rbqHbTYhl1NNQV9ac7w_oJ7tcB0_0-MsjCpkzedGOMM298LMQzPwMrS_1KuokDYy5_Pw-s45X95lCHkCjwoW6FEOXYnRu1rYSi_VZVba1q3Fa0IdFUe2rP5wpLgz2ZkBkVQli6wgLBZ-ZW6k5UQqzXYidELbb1qt-um51szopxqp1qC4abUJtV5rFyfih9t1Dq0xC4aHSI4V8R-Q8dLC0GZHxMcXS-u77im-vLZXO3MP8DFYgU8Q">