[PATCH] D74169: [WIP][LLD][ELF][DebugInfo] Remove obsolete debug info.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 10 12:53:58 PDT 2020


dblaikie added a comment.

In D74169#1974622 <https://reviews.llvm.org/D74169#1974622>, @avl wrote:

> > Ah, sorry, I meant specifically related to the gdb startup time point you made earlier about DWARF-aware linking improving startup time. It'd be useful to measure startup time with a gdb-index for comparison. (I'm guessing the time in the above chart is linking time, rather than GDB startup time)
>
> right, these are linking times. here is start-up times:
>
>   -------------------------------------------------------------------
>    Debugger     |     Options    | load-time, sec | Used Memory, kb |
>   -------------------------------------------------------------------
>   | gdb 8.1     |                |      47,79     |     2168172     |
>   -------------------------------------------------------------------
>   | gdb 8.1     |    gdb-index   |       3.04     |      555408     |
>   -------------------------------------------------------------------
>   | gdb 8.1     |  gc-debuginfo  |      44,8      |     1740876     |
>   -------------------------------------------------------------------
>   | gdb 8.1     |    gdb-index   |       3.7      |      555340     |
>   |             |  gc-debuginfo  |                |                 |
>   -------------------------------------------------------------------
>   | lldb 8      |                |       6,29     |     1511052     |
>   -------------------------------------------------------------------
>   | lldb 8      |    gdb-index   |       6,22     |     1523516     |
>   -------------------------------------------------------------------
>   | lldb 8      |  gc-debuginfo  |       3,32     |      843600     |
>   -------------------------------------------------------------------
>   | lldb 8      |    gdb-index   |       3.6      |      858532     |
>   |             |  gc-debuginfo  |                |                 |
>   -------------------------------------------------------------------
>
>
> though  gdb-index+gc-debuginfo times could be meaningless.


Thanks! (yeah, the gdb-index + lldb times aren't relevant either, lldb uses a different kind of accelerated access (one that's only supported on the MachO debug info distribution model currently - but I believe someone's working on/plans to work on DWARFv5 debug_names support))


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74169/new/

https://reviews.llvm.org/D74169





More information about the llvm-commits mailing list