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

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 10 10:30:09 PDT 2020


avl added a comment.

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


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

https://reviews.llvm.org/D74169





More information about the llvm-commits mailing list