<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/90388>90388</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [BOLT] Segmentation fault when optimizing static-pie binary using BOLT
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            BOLT
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          Andarwinux
      </td>
    </tr>
</table>

<pre>
    For sampling BOLT, BOLT optimized binary Segmentation fault, and for instrumentation BOLT, instrumented binary Segmentation fault.

Tested with llvm main, any static-pie binary can reproduce this, but normal static binary has no problem.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kb-OnDAQh5_GNNYiY-DAhYu9rKgipci9gI0HmMjYyH-y2Tx9BHtoi0RpPJL1zW8086kYcXYAkrTvpL0VKqfFB3l1RoU7uvyr0N485OADjWrdLLqZvn_7-kH4l6NSvyVc8TcYqtGp8KDfYV7BJZXQOzqpbNPOKmfo5ANFF1PIL-DMev3_L6kk7EbY9fl-QNzhO6aFWvtzpatC95z1oHFvGy8bwpk2KkcDbMGbPAJNC8ad1TlR58Oq7GfLiS8qUufpFry2sJaFkbURtVAFyKqrGi7arqqKRU4wTm9jxY0QUy-6xnSaV8B0A2LifT0VKDnjDWt4z0TVVlVZv6lemG40mrO-6zrSMFgV2nJfovRhLjDGDFKwuu8LqzTYeOjh_HktvosKcscvOs-RNMxiTPEVkDDZQ-nR0N7-cUp6X8Cd9narf18sx9N2kYOVS0pbJPWV8IHwYca0ZF2OfiV82Ad_lssW_A8YE-HDsUYkfDg2-RMAAP__YFXO8A">