Landing: 8858cb3a6af5

Project / Subsystem

gcc / libbacktrace

Date

2026-09-01

Author

Ian Lance Taylor

Commit

8858cb3a6af52e4425d1635a7666d3f3658005d5

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libbacktrace
patch_id
—
commit_hash
8858cb3a6af52e4425d1635a7666d3f3658005d5
source_type
github
headline
libbacktrace: Handle MOREDATA correctly without debug info
tldr
Improves libbacktrace's symbol lookup in stripped binaries when debug info is absent.
author
Ian Lance Taylor
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • debugging
  • • libbacktrace
  • • stripped binaries
discussion_id_link
—
bugzilla_pr
—
date
2026-09-01T00:00:00.000Z

This commit enhances libbacktrace’s ability to correctly handle the MOREDATA state when retrieving symbol information from binaries that have been stripped of debug information. It introduces a new function backtrace_syminfo_to_full_callback_moredata and ensures that the elf.c module correctly processes this state, along with adding tests for stripped binaries.