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

    <tr>
        <th>Summary</th>
        <td>
            [BOLT] perf2bolt fails on aarch64 due to an unsupported CFI opcode
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          ARG-NK
      </td>
    </tr>
</table>

<pre>
    I am using BOLT to optimize a binary compiled with GCC (used options -gdwarf64 and -gdwarf4 ): 
When perf2bolt is used I get the below error message: 

command: perf2bolt -p perf.data FILENAME.so -o perf.fdata --itrace=el64i10ns

![image](https://github.com/llvm/llvm-project/assets/158327801/d60a8c4b-38fe-42dc-b53b-77a7779fd228)

This is the opcode:
![image](https://github.com/llvm/llvm-project/assets/158327801/a48b68bb-a592-456e-93f1-1587cd5fd9c5)

does BOLT support binary with dwarf64 format ? 


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0U01vpDgQ_TXmUnLLlDHgA4dOOkStzWalVaQ929iAV4CRbSbK_PoRJK1k5jaHuYCM8fOr96FidMNibUPEHRGXTG1p9KE5__tIn__KtDdvzRXUDFt0ywB3_zy9QPLg1-Rm992CAu0WFd6g8_PqJmvg1aURHu_vgWC9RWuOf_0SgQ7mVYW-LEAt5rYqgKAk_AyEXQg7_zfaBVYbetR-SuAiHBBXGGyCNFrQdvKvYEPwAWYboxrs5-n3Z-fnWS1m__yJRNdjcTIqKWivTw_P578fTtED9e8b_bFDqUtBdZbwi53KwuVsiV-xCeZE3Ll5v1ZcCNZjSmsk_EywJdgOLo2bPnV-JthO07fbi67B_2-7RLBVMdoUCba5qDlWNcsJtqZkqu4KTXndW1qg6agWXNOqUlVVyd4g1rtOX5i8jC7u-uyi-LXzZtfhj5JURa3LWmuqhERaiNJSyfuc5qKuOiN6IzvxC0njbXzPTNzW1Yd0S8sRklsceh9mlYDw9icfM9NwI7lUmW3yilU8F0yIbGx4pyVWhagLI3vRVczWSuqSc1Gj0WWeuQYZFgxZlRc5E-KUl1VuEDEvuZJS96RgdlZuOu1zn3wYMhfjZpuaSYnZpLSd4lEIxJ09QdyrEZpDJr0NkRRscjHFT4Dk0nSU6DggLl-y1ys3RfALKBW6sSzAbHYvkVpgWz6EsQbu2-uHk9kWpua3TTtG2E07pvgRAAD__1MvLOo">