<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/125068>125068</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[flang] Exporting symbols for Windows DLLs
</td>
</tr>
<tr>
<th>Labels</th>
<td>
flang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
godotalgorithm
</td>
</tr>
</table>
<pre>
Does LLVM flang have any features that export symbols for Windows DLLs? `dllimport` support was eventually [added to classic flang](https://github.com/flang-compiler/flang/issues/320), but that doesn't seem to work in the latest release of LLVM flang. Are there any tools available to build a symbol definition file (`.def`) that is sometimes used in place of `dllimport` commands? Are there any features right now that facilitate the special case of Fortran symbols with C bindings?
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8kk-PozgQxT-NuZQ6AvMn5MChu7M5Za-75zIuoHaNHdlFMvn2I0i6p2ekmRMSKtd79d4PU-LRE3WqflP1McNFphC7Mdgg6MYQWaY5M8Heu2OgBOfzP3_D4NCPMOGVAP0dBkJZIiWQCQXo2yVEgXSfTXAJhhDhX_Y23BIcz-ekyhOoJrfO8bwOqiaHtFy2NzdMQFfysqBzd1D1G1pLFiRA71an_UNa1Uel20nkklT5qvRJ6dPIMi1m14dZ6dM29dKH-cKO4scPpU-c0kJJ6VOpc6UPSr-DWeRh3AZKXum9QCKaV9FbiP8De5CJwKFQEojkCBNBGL5EsYPXSOtUfAQiYb0cr8gOjaN1lVnYWcBnLGBpYM_CwcPAjkDpVjX5ztKgmtXYwxEnSGEm4ZkSLInsaubisN_0f02xD_OM3m4J_-zns6DI4yTgw-2xf8CeHQvKNgzpQj2jg_554ClEieg_q7yxTPAOhr1lP646me1KeygPmFFX7MtWV4e2bbKpO9Rohj2aqrVFU5dtq4uGsMG-0sY2hyHjTue6zosyL-qi0M3OoK4Oe7OvisqUTZGrKqcZ2e2cu867EMds664rdJ03bebQkEsbtVo_29UrwLFbH7yYZUyqyh0nST9WCIvbUP_ACP7aaGU__hbYbImu-wNr6_Ln5-USw3_Uy1fQnn6vnf4eAAD__0FTJgg">