<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56185>56185</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[PGL][LTO] PGL does not work with FLTO
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
bd1976bris
</td>
</tr>
</table>
<pre>
The CGProfilePass is not run as part of compiling the LTO object file with FLTO, as a consequence the PGL section is not emitted into the lto object file and PGL does not occur.
It is run with TLTO and with normal compilation.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxVkU1uwyAQhU9jb1AtbGwnXrBIEyWqFKlZ5AL82abF4AJu1Nt3cBq1lRDMMPPmfQju5Be9jgrtTxfvem3UhYWAdEDWReQXi1hAM_MRuR4JN83aaDugCIrz9RU5_qZEREmHbjqO6Ai3WbVPKgb9NqiPRVmhVsXldEYB-rWzDwc16RiVRNpGt_YYOP9OZVauOunUXeGEWHyR4UOGd_f9JaZpiXVFuCawJFsz6_zEzA86S9ZFLimRHelYHnU0imbNMzhkzQGChN8c_jvenH__fV2-eEPHGOeQkV1WHWENUFt4AR6QGPP5OJ5m79JLINUhLCpA0LTltslHKmXdiLqrBa4Ub1vCtpu63DBR47bvcc9zw7gyIcEBUK5phasKtxUpW9LhtmikwKSrQEVI3XOS1VhNTJsiGRfOD7mnKwNfhgBFo0MMv0X4ZD1YpR7z2RJH5ymXZbdpudchX4npivsNAsezkA">