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

    <tr>
        <th>Summary</th>
        <td>
            how to find the function name uses the specific static string
        </td>
    </tr>

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

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

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

<pre>
    For example
```c++
void foo1() {
  ...
  bar("abc");
  ...
}
void foo2() {
  ...
  bee("abc");
  ...
}
```

After compiling and linking, I get the the binary executable ELF

When I specify the litteral string `"abc"`, I expect to get `foo1` and `foo2` from the ELF.

So, how to approch this via llvm libraries?

Thanks!

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVUk2PmzAQ_TXmYi0CG5Jw4JBuGqlSb63U82AGcNdgZJts8u87dtLtripVqjTg-XzveeTO9rf2bB3HK8yrQVacWHFku-JuiolP0VL2YnXPB2tLJg5MNJztHwXO8zz_7XbgUl1AR9OCGpn8u4_tTx9Bxb9BEf8H9E3_I0z_4xDQcWXnVRu9jByWnpPzQj4Tz_wLHzHwMGH6Or2Au9FWUG0BOoP889fze7QfEy4041dUerilGaMDMYDhPrhIEPnfFEc_kuCVJojHJjpKp4XuiiTnHsZmPjg7J1Tizd8Tf7MRaLKvEQPW1Vk1UaP2_KKBG3OZSUjnwGn0TH7Q_H2C5cUzUd7DrG9l38gGsqCDwfaBOWhSEpmHbVFB24UvMCPfPPqUvl9ZK7omhHTE22abM-0UwkqkRybOZKMO09bltHEKorDH8USaf9ISKNTebyRTnOu6rIpsaiXWqql6EFLuyhKwLHps-qEU4qD6BobMQIfGt6ymdykWfOUJIm64PmW6FYUQRSX2pawqWeRNOUjo5EHB7lBjP7CqwBm0yaOO3Loxc22S1G2jp6LRPvg_RfBejwtioiN82MJkXauu1wA2S8xtUv4LVAX3Lg">