<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58238>58238</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[DirectX backend] Take care global ctor/dtor for library profile
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:DirectX
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
python3kgae
</td>
</tr>
</table>
<pre>
When linking to non-library profiles, need to generate calls on ctors/dtors in the entry function.
When linking to the library profile, need to merge ctors/dtors of the input libraries.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtkMtuwyAQRb_GbFAsHnZiL1ikjfIFldotjzGmIRABrpS_L7ZStYoqgUbDPM69qGjuoiGnhhzfZwjYu3BxweIScYhh551KMt3xLcXJecgNe8UBwKx1CwGSLIC19D7jGLAuMdWWs1kjdgGXGTCEUhdMS9DFxdD-z1obn1h_UVdIFp7Wx2mbcuG2lMesg9wiEHS_7-lh7FiHjOBm5KNExRUPoulfTi6BLh9YSX2BYJr-hN_kZTWRAFsflfQb6MHBU71PytCSvJhLueWGH2tfPdaVeVGtjteaeP_1E3Z15LPyaupyXtYPPPcD4wOaRX-gnNBJyYkMg6EdjIz0I6fdCLyXUiIvFfi8im4Y-9HLjw8H9a2KR04wwhgl5MBoT1jXakNMx-kwEA2dGnXTEbhK59tVTxuTRUls0tRicy16l0v-Lcqcna3_vmHrfrmUOSZxu9cQ-MVKQJsTsdn4Bm8rvuo">