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

    <tr>
        <th>Summary</th>
        <td>
            [BOLT]relocation error
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    When I run my binary optimized by bolt, my binary crashed. It crashed in:
`0x000000002180dd59 <+25>:        mov -0x2180dd60(%rip),%rdx        # 0x0`
This line attempt to give one typeinfo address to rdx. The rdx is 3rd parameter of dynamic_cast. In origin binary, this line's src address point to .got and can transfer right address to rdx through .got. I don't know why bolt change the relocation address to 0. Is there some suggestion to help me debug? 
I compile my binary by clang1101. Bolt is created in llvm16.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcU8GO2yAQ_Rp8Ga2FIbbjgw-b3UaKVKmXlXqsMIyBFoMFeDfu11d2sm1ULh5phvee3zxESlZ7xJ7UJ1K_FmLJJsTe2RG9vlrhdUVZXQxBrf13gx4uEBcP0wqD9SKuEOZsJ_sbFQwrDMFlwl4e2jKKZFCVcMmfNVhP-DOhr4Q-k4bSK70fVh2pUnUHhL8QdmI14V_2yW4K7_BEr7eBhhJ2JKyOdiasI-xlq9UV7ocwDvRKSUNvFG_GJnDWI4iccZoz5ADaviMEj5DXGa0fAwilIqa0NaO6lvBmcCvAJuBRwSyimDBjhDCCWr2YrPwhRcolXDyEaLX193_eDMifpIS1CVKUf_HnYP0uodQhg_AKpPCQo_BpxAjRapP_EwPZxLBos18p4QIqeMLaDL98-IAPc_MdpBFeI-RNOLogRbbBP0LREi5p60eEFCaEtGiNaR_LAQy6GSYEhcOiCT_Dzb8LyDDN1uHDVocVpNuyUdGqhNPGbhPIiCLv-wXn3qeqKQvVc9XxThTYV83x2FZdU9HC9ONhrFAcFMq6qruOdUweWt6OTae46hpa2J5RxmlLW3o8NDUtJW1qNR6bamT80HBODhQnYV25UZUh6sKmtGDf8JbTwokBXdpDzZjHD9ibhLEt47Hf7jwNi07kQJ1NOf1DyTa7_TWcvn19I_Xrg5UYY4jFEl1vcp7TFk12JuysbTbLUMowEXbegO6fpzmGnygzYeedPhF23uX9CQAA__-rzh4z">