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

    <tr>
        <th>Summary</th>
        <td>
            [RISCV] Issue in creating BOLT optimised Kernel
        </td>
    </tr>

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

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

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

<pre>
    Hi , i am relatively new to llvm and BOLT
I was trying to BOLT my RISCV kernel . For this i created my kernel relocatable, compiled with clang, build bolt for riscv.
I have used perf data of target machine and using these things on a buildroot to get the bolt optimised vmlinux. But while using perf2bolt on buildroot, the program is crashing with segmentation fault error . Can anyone help me with the issue?
TIA
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxEkk2PozgQhn-NuZQaEQNNcuCQ7hbaaFdaaaY19wIKqGl_ILtIJv9-ZBKpT0h2-Xlfmwdj5NkRtap-U_VHhpssPrQs0aLj-JX1fry3_zAo_Q4MaCGQQeErmTs4uoF4MOZqAd0Ib___96mK8wVuGEHCnd2c9tMy2Dv8uPx8_wVfFBwZyKHzAWThCAxDIBQa09BzO5DxAwr2hlLy4O3Khka4sSwwGHRzWu43NiP03ghMPkDgOFzzvcGCV4It0ggrhQlGFAQ_gWCYScDisLCjvfQW95oLRUp13BzBO8AHO3gv6QrpkCz0iPKrsOXEvlrDbvuTw9smcFvY0BOXQvVj2H2TUuVEWYOfA1rgCEPAmEIfF4s0W3KCwt7BhJsRoBB8gBze0QG6u3cEC5kVLD2OJB7HuJEqO1WcPy_nbGzL8VSeMKP20FRlUTZ1VWdLWxc0lE1xej2ejhNRXekCsT--VuXx8DqUTcatLnRdlLopDkVd1flxqMpJHxqNY4PVpFVVkEU2efrluQ9ztke3h7I8HE-ZwZ5M3FXSepdB6yRVaNP8S7_NUVWF4SjxmyAsZtdv10PVH3BJTGD30CI9zm7Q97P_uzuSbcG0i8gaVXlWulO6m1mWrc8Hb5XuUsLz87IG_5sGUbrbC0elu2fna6v_BgAA__8qtgMI">