[lld] r308544 - Speed up gdb index creation.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 20 08:22:16 PDT 2017


George Rimar <grimar at accesssoftek.com> writes:

>>Speed up gdb index creation.
>>
>>With that in place we can use lld's own infrastructure for the low
>>level detail of dwarf parsing.
>>
>>With this we don't decompress sections twice, we don't scan all
>>realocations and even with this simplistic implementation linking
>>clang with gdb index goes from 34.09 seconds to 20.80 seconds.
>>
>
> Great, thanks for working on that !
>
> Do you think we can try parallelizing building index now or we still
> need to do something else for single-threaded case ?

Not sure. I would recommend doing another benchmark run. We have to
compare the delta from lld to lld --gdb-index to the delta from gold to
gold --gdb-index.

Cheers,
Rafael


More information about the llvm-commits mailing list