Landing: 81c78a0349a2

Project / Subsystem

gcc / libbacktrace

Date

2026-08-31

Author

Ian Lance Taylor

Commit

81c78a0349a221c98a5d8cc83bd44a2bbbd31c15

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libbacktrace
patch_id
—
commit_hash
81c78a0349a221c98a5d8cc83bd44a2bbbd31c15
source_type
github
headline
Report decl_lineno with MOREDATA in libbacktrace.
tldr
Improved stack unwinding to include declaration line numbers for inlined functions.
author
Ian Lance Taylor
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • debugging
  • • dwarf
  • • libbacktrace
discussion_id_link
—
bugzilla_pr
—
date
2026-08-31T00:00:00.000Z

The libbacktrace library now reports the declaration line number for inlined functions, enhancing debugging information. This change adds a new field backtrace_decl_lineno to the backtrace_moredata structure and updates DWARF parsing logic to extract and provide this information. The corresponding test cases in mdtest.c are adjusted to verify the correctness of this new data, making it easier to pinpoint the source of inlined code.