[cfe-dev] Enormous memory usage of clang
Konstantin Tokarev
annulen at yandex.ru
Wed Jul 4 11:18:13 PDT 2012
Hi all,
I've found case when clang consumes much more memory that GCC (maybe it's a memory leak)
Attachement is preprocessed translation unit from amalgamated Botan library.
clang++ -c -O0 botan.ii # OK
clang++ -c -O2 botan.ii # Memory usage reaches 1Gb and continues to grow
clang++ -S -emit-llvm -O2 botan.i # OK
llc -O2 botan.s # OK
--
Regards,
Konstantin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: botan.ii.bz2
Type: application/x-bzip2
Size: 428109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120704/c9efad50/attachment.bin>
More information about the cfe-dev
mailing list