]> granicus.if.org Git - clang/commit
make -print-stats print stats about the amount of the SLoc
authorChris Lattner <sabre@nondot.org>
Tue, 27 Jan 2009 05:22:43 +0000 (05:22 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 27 Jan 2009 05:22:43 +0000 (05:22 +0000)
commit08c375cd52b8f6b6a6915a2007205bc8179f41e9
tree6e38bdf985c2e7ee2de9f9fe9658b153bb527c53
parente160c9b09d2f5098dfdcca99b9c6485487e0c252
make -print-stats print stats about the amount of the SLoc
address space we used up.  Some interesting data:

For c99-intconst-1.c:
6912762 SLocEntry's allocated, 25592386B of Sloc address space used.

For cocoa.h:
26469 SLocEntry's allocated, 10278752B of Sloc address space used.

For carbon.h:
27364 SLocEntry's allocated, 12398141B of Sloc address space used.

Clearly 2G of sloc address space should be enough for anyone?!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63093 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/SourceManager.cpp