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

    <tr>
        <th>Summary</th>
        <td>
            [BOLT] Stripping .bolt.org.eh_frame and .bolt.org.eh_frame_hdr sections
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          s-dag
      </td>
    </tr>
</table>

<pre>
    Hi,

We are running on a constrained environment and while looking for size savings, and noticed BOLT leaves `.bolt.org.eh_frame` and `.bolt.org.eh_frame_hdr` sections in the binary when applying `--update-debug-sections`. These .bolt variant sections are not used. Is there a reason why we shouldn't strip them? As a follow up question, should BOLT strip them automatically?

</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxsUrtu3DAQ_BqqWUjgUa-7QsXZhpAAAVLEQEqDElcSE4pUuKQOl68PKDtxEVcsODO7OzOSSM8WsWP1A6ufMhnD4nxHuZJzNjh17z5pJh4ZvzJ-_Y4gPYKP1mo7g7MgYXSWgpfaogK0u_bOrmgDSKvgtmiDYJz7meCT80D6NwLJXduZmHg8UNYFPaKCh69fnsGg3JGANbwYnAmF83OBy8vk5Yqs4Qfhw8-XRfkEIByDdpZAWwgLwqCt9He4LWhBbpu5p1VYw_M8bkoGzBUOcc7_0pI2PC9ICMcM2KXX0oZ33eSAdQEioSrgM6UpHkGCR0nOwm25ww2BFheNsky0ASh4vSXcysoergQSJmeMu0Hc4FdESsrJjlfSqxPvJJAxuFUGPUpj7qzsGb9mqivVpbzIDLtTW9VlWZ_O52zppjMfcLqU2FRKtuI0NWU9KNWOZ97waRgz3Qkual4JcapPl6otzsNQ1ZM6V001tvXUsorjKrUpjNnX5HGmiSJ2p7Jp-SUzckBDR1-ESJsyIVJzfJfw-RBnYhU3mgK9KwQdzNGxg1A_wbd03Zay-D_KI-SPE_4XQxa96ZYQNmLllYmeiX7WYYlDMbqViT5NfnvyzbsfOAYm-uMQYqJ_u2XvxJ8AAAD__5UkAVc">