[PATCH] D19660: Use a single context for lto

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 28 08:54:13 PDT 2016


On 28 April 2016 at 11:23, Mehdi AMINI <mehdi.amini at apple.com> wrote:
> joker.eph added a comment.
>
>> Using multiple context used to be a really big memory saving because we could free memory from each file while the linker proceeded with the the symbol resolution.
>
>
> Using multiple LLVMContext is an enabled to parse the bitcode in parallel, don't you care about that?

But it costs an extra parse in the end. And this early parse is only
trying to get the symbol names, so it will hopefully get faster and
faster as we get lazier about what we load upfront.

Cheers,
Rafael


More information about the llvm-commits mailing list