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

    <tr>
        <th>Summary</th>
        <td>
            Add a flag to llvm-readelf -s that will only show symbols located in a given section
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            enhancement,
            tools:llvm-readobj/readelf,
            llvm
      </td>
    </tr>

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

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

<pre>
    That is, if I want to look at symbols only in `.rodata`, I would do something like `llvm-readelf -sW --section=.rodata`. Right now, I have to do some post processing to get these symbols.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckUFvozwQhn-NuYyCwAQHDhz6tULqd1qtVtqzwRPs1ngiZmiUf7-CZFNpT5bl8evXz2OZw5QQO1X_p-q3zK7iael-hP9pjcjZQO7W_fJWILDSrxDO8A5XmwSEIBJ9ghXg2zxQZKAUbxASKFPkCzkrVpliu_UOV1qjA0fANKP4kCaI4RO30Ri_5sOC1mE8w4F_w-HAOEqgpKq375wcfobJCyS63iO9_cKtxSMULsQCl4VGZN7yhWBCAfHI-Ldinrmucm3V2gy70rSnU22qqs18V1uty2Y0VWtOdYturMvBldVojG5OjWuz0OlCV2VRtlrXTd3kx7MxTWurAcfj8eRGdSxwtiHm24dyWqYsMK_YmdbUdRbtgJF3zFpj8jaNOGMSpbXSr0prIYqsqpcnDho-lO4fYJ5j2_G2qd-ypdtnh3VidSxiYOHvtyVIxO7FObBwjnbH8Q9pkM3rNcR4N8eerk-XkUYr6DadFqbwhQkeVrJ1iZ0XuWxtle6V7qcgfh3ykWal-3vDfTlcFvrAUZTudxasdL_j-BMAAP__I13O2w">