<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/60059>60059</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[mlir]Request for adding dlfcn relative function to llvm intrinsic function.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
95833
</td>
</tr>
</table>
<pre>
I want to use runtime dynamic load library in my language and i only know two relative library : dlfcn.h and llvm dynamicLibrary.h. but the former is only UNIX and the latter is a c++ class.
I don't know how should i do use a c++ class in LLVMIR and i wan't expose the platform dependent code to IR. so, whether or not they can be added to llvm intrinsic function?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8UsGO2yAQ_Rp8Ga3lQEycgw-7XUWKtO0hUqteMUxsWgwpDOvm7yvs3a7UQy9wmHlv3pt5KiU7esSetU-sfa5UpinE_th2QlRDMPf-DIvyBBQgJ4SYPdkZwdy9mq0GF5QBZ4eo4h2sh_kOTvkxqxFBeQMWgnd3-OnDArQEiOgU2VeEvyAmHsG4q_b1tCKce53f6V-2nnqqYcgENCFcQ5wxgk0b8dcv5-8rrNScItpqCjTjT4w_gXYqpRpY88yax-09gwme8QNtsqawQJpCdkWt2Wz-gy_OXl6-fT5f3kwtaiPA37eQcB1-c4qKODB4Q2_QE-hgsCzufKkhBcY_wTIhTRghRPBhNXQHrTwMCMoYNKV7XYD1FK1PVsM1e002eCZOlemFOYqjqrDfyYPoWsFFV039cDSD7rQ8triTvJFaKimlVPIqtd6LfWV73nDR7HayOexE29WHHd-bTijBJRfX7sr2Dc7KurpMr0McK5tSxl42TXusnBrQpTUjnHtcYC0yzktkYl8wD0MeE9s3ziZKHyxkya3hmp2NrH2-4K-MicoZi2Prx-34H8F49_ufVdRVjq6fiG6JiUfGT4yfRktTHmodZsZPBff2Pdxi-IGaGD-tohPjp9XUnwAAAP__EZ_9pA">