[LLVMdev] LTO for smaller memory footprint for Clang
Rafael EspĂndola
rafael.espindola at gmail.com
Thu May 24 14:00:10 PDT 2012
> However, there is still question over only 6% gain in the entire
> process. Can someone help explaining reason for the same. I was
> expecting large part of LLVM libraries may not be used in Clang tool
> binary.
I think a good part of it is we passing -export-dynamic to the linker.
This tells it that a plugin could potentially use any symbol in clang.
Try linking clang again, but remove the -rdynamic option from the link
line.
> Thanks,
> Ankur
Cheers,
Rafael
More information about the llvm-dev
mailing list