~/talk

Linux Debuginfo Formats - DWARF, ELF, dwo, dwp - What are They All?

Talkat CppCon 2022 · 2022-09-11..09-16· [devops-and-delivery]
name:Greg Law
linkedin:gregthelaw
slides:none on file

Explains what each format actually contains and how tools use it: DWARF holds type and variable info, ELF sections and note build IDs identify binaries, split DWARF creates .dwo files so executables stay small and linking (not loading) gets faster, addr2line and readelf/objdump extract addresses and sections, CFI/.eh_frame lets unwind stacks without debug info, strace uses ptrace (only strace -k can print backtraces using debug info), and debuginfod serves debug info by build ID over HTTP though split-DWARF support there is still incomplete.

AI-written summary · about

  1. 0:00Introduction
  2. 8:27ELF sections roles
  3. 29:00DWARF overview
  4. 37:12Debug info size impact
  5. 42:11Split DWARF storage
  6. 50:19Remote debug info access
  7. 57:40Stack unwinding
  8. 1:01:12Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.