[cfe-dev] Enormous memory usage of clang
annulen at yandex.ru
Wed Jul 4 11:18:13 PDT 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 428109 bytes
Desc: not available
More information about the cfe-dev