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

    <tr>
        <th>Summary</th>
        <td>
            [Bolt] question: error on recursive function with suffix .localalias/1
        </td>
    </tr>

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

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

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

<pre>
    I have a program got LTO+PGO, when instrumented by BOLT, the code is genereated , but the program can not run correctly and no data is generated.
Given the normal mangled name A, the function will getname as A.localalias/1, the name is get from BinaryFunction::getOneName().
1: the function has suffix .localalias
2: the function will call itself, i.e. recursively.

Does anyone know why localalias is generated? and any clue on solving this error .

The program under test is very huge and complicated. 

Thanks.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxsk89ymzAQxp9GXHbCCAGOfeCAmyHTmUzdQ15gEQuoEZKrP7j06TsQu3GmPXH4dn_far8FvVeDIapYeWTlU4IxjNZVk_oteHZIWtst1VcYcSZAODs7OJxgsAFeXk9MHL8_n5j4ApeRDCjjg4sTmUAdtAscTy-vqxhGAmk7AuVhIEOOcK1YpTaGTb6BJRowNoCLBqR1jmTQC6DpwFjoMOBfxopIGa-f1UxmYxjrJtQwoRk0dWBwIqhv_n00Mihr4KK0hoHCJqOHOtVWokat0DPRZLeGTd_MAvTOTnBUBt3SXDksr1leDxROhr7hREzsmTisA2Usrz9bjujBx75Xv-DejNfin9JtOolagwqedL9Oo1JKwZGMzquZ9LKaMF4_WfKAZrGG4M3YC1zGBT7wnxbF8mZbIpoFpI4E1oC3elZmgDAqD-ScdXAlv94FEk1HDgL5sAJncguMcaCNJu101kpuScCtFc2bT5OuyrtDfsCEquwxL0Qp-I4nY4Wc9_uuP-x3UmQcy0O5o6JAuS8Fl_IxT1QluCgykZV8X2Scp3wnUPCyE-2-LYvHnBWcJlQ61XqeUuuGRHkfqcoE55wnGlvSfjtmId4PUKxn7aq1_qGNg2cF18oH_0EIKujtBzhaHVj5BD8j-WvK19VY8xHBfVxh_F-0osmS6HQ1hnD266mIholmUGGMbSrtxESzml8_D2dnf5AMTDTbW7b-9-fMlfgTAAD__3TbNIc">