[lld] r308544 - Speed up gdb index creation.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 20 08:27:15 PDT 2017


>>>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

I can do these benchmarks tomorrow.

Also  going to look in profiler to check where it is
slow downs now.

George.


More information about the llvm-commits mailing list