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

    <tr>
        <th>Summary</th>
        <td>
            `--print-memory-usage` equivalent flag for Clang/LLD
        </td>
    </tr>

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

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

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

<pre>
    `--print-memory-usage` flag in GCC gives a breakdown of the memory used in each of the memory regions defined in the linker file. 

Having this feature will be useful in understanding the size impact especially in embedded systems and constrained targets.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9ULuS2zAM_BqpwVgjUw_bhYqLPXcprsgvQCRI4UxRDh_2OF8fWnZSpAiHQwLYJXaJcVH3oejrzebi2cXNTPPi75sU0FAug7ZogB18HI9g-EoBEEZPeFbLzcGiIU4Ez0eQAqkHl1BO_0CeDC8ugCLN7sl6oJbdmTxotlRBUZ-K-u15fscrO5M5HEATxuQJbmwtjPSQ0ck-WiSnyIeITj3JBIF_EfB8QRmBwoUko7X31dQ8klJZOtxDpDn_wymQ2VP0uFqK6A3FUJU0bPu-F6Jtd02phkYdmgOWkaOl_02Kfia-oiUXn0PTi4ejRWcK8f75eSqTt8MU4yUUzVsu5W04Tmms5DLnxNrrnysLLF8kY045hEQhB92-3e_KadBq2yFtR9ngDlsSskW922JT1_tey16XFkeyYSi6b4UQjm6wtshx0Z1KHkQtxLYWdV67TlRtg4dOdiREJ0mPbdHWNCPb6uGjWrwp_bBaGpMJGbQc8oj-ghgCG0f0kvvhcZzS-SWGKU6LH17FcvUxrP_4Df-M0ns">