-fmem-report
Ian Lance Taylor
iant@google.com
Thu Apr 14 03:41:00 GMT 2011
kevin diggs <diggskevin38@gmail.com> writes:
> So is there any way to get the code being compiled's string pool?
Run configure with --enable-gather-detailed-mem-stats and rebuild gcc.
Then use -fmem-report, and look for the number of STRING_CST nodes
created.
> What threw me was that all of the entries in the compiler's string
> pool are used for identifiers? What else can end up in it?
Nothing.
Ian
More information about the Gcc-help
mailing list