Linux Debuginfo Formats - DWARF, ELF, dwo, dwp - What are They All?
summary
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
chapters (8)
- 0:00Introduction
- 8:27ELF sections roles
- 29:00DWARF overview
- 37:12Debug info size impact
- 42:11Split DWARF storage
- 50:19Remote debug info access
- 57:40Stack unwinding
- 1:01:12Q&A
related talks
16mMind the Gap (Between Your Code and Your Toolchain)
01h 29mMore GDB wizardry and 8 other essential Linux application debugging tools
59mBuilding your own debugging toolbox with ClrMD
01h 07mCool New Stuff in Gdb 9 and Gdb 10
01h 00mInvestigating C++ Applications in Production on Linux and Windows
15mThe complexity of NDK crash reporting
01h 02mC++ Shared Libraries and Where To Find Them
01h 00mLinkers, Loaders and Shared Libraries in Windows, Linux, and C++
