[LLVMdev] awkward object file abstractions

Steve King steve at metrokings.com
Wed Sep 10 16:06:47 PDT 2014


On Wed, Sep 10, 2014 at 11:50 AM, Sean Silva <chisophugis at gmail.com> wrote:
> Probably to reduce overhead. The data is already in memory in a relatively
> nice form; no point in duplicating it, especially when it could be very
> large.

A hacky calculation shows clang contains 604238 symbols (debug build).
Assuming a 30-character symbol name and 18 bytes of metadata per
symbol, we get 604238 * 30 * 18 = 326MB of symbol data.  That does
feel kinda heavy.



More information about the llvm-dev mailing list