[PATCH v6] binutils/dwarf: Print embedded source, when available

Project / Subsystem

binutils / binutils/dwarf

Date

2026-05-16

Proposer

Will Hawkins <hawkinsw@obs.cr>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • Increased size of debugging information.
  • Potential performance impact when processing large amounts of embedded source.

All attributes

project
binutils
subsystem
binutils/dwarf
patch_id
discussion_id
20260516104948.543067-1-hawkinsw@obs.cr
source_type
public_inbox
title
[PATCH v6] binutils/dwarf: Print embedded source, when available
headline
binutils/dwarf: Print embedded source, when available
tldr
objdump now prints embedded source code from DWARFv5, enabling easier debugging when source files are unavailable.
proposer
Will Hawkins <hawkinsw@obs.cr>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • Increased size of debugging information.
  • Potential performance impact when processing large amounts of embedded source.
series_id
series_role
standalone
series_parts
[]
tags
  • dwarf
  • debugging
  • objdump
  • source code
bugzilla_url
date
2026-05-16T00:00:00.000Z

[PATCH v6] binutils/dwarf: Print embedded source, when available

This patch enables objdump to extract and display embedded source code stored in DWARFv5 debugging information. This is useful when the original source files are missing or inaccessible during debugging. The patch adds new tests and updates the dwarf.c file to handle the new DWARFv5 line table entry.