[llvm-dev] [LLD] Slow callstacks in gdb

Rafael Avila de Espindola via llvm-dev llvm-dev at lists.llvm.org
Sat Dec 2 08:33:46 PST 2017


Martin Richtarsky <s at martinien.de> writes:

> Rafael Avila de Espindola wrote :
>>> Maybe gdb needs to fall back to slower line number resolution because
>>> e.g.
>>> low and high bounds cannot be retrieved and debug_line_address is 0?
>>
>> It is hard to know without a reproducible. I tried gdb on clang itself
>> build with both clang and gcc and linked with gold and lld. I could not
>> reproduce the slowdown, but I was using trunk lld.
>
> I will retry with clang trunk, when it reproduces I will build some other
> large project (that has DSOs) using our compile/link options (they are not
> that special, I think).

If you can try lld trunk too that would be awesome.

Cheers,
Rafael


More information about the llvm-dev mailing list