Landing: 19083e93272a

Project / Subsystem

gcc / libbacktrace

Date

2026-09-01

Author

Ian Lance Taylor

Commit

19083e93272ab2482ff446cec8f7f688cb5afdc7

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libbacktrace
patch_id
—
commit_hash
19083e93272ab2482ff446cec8f7f688cb5afdc7
source_type
github
headline
libbacktrace: Use BACKTRACE_MOREDATA_VERSION instead of 3
tldr
Updates libbacktrace to use a version constant for MOREDATA handling across different object file formats.
author
Ian Lance Taylor
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • debugging
  • • libbacktrace
  • • linker
  • • compiler internals
discussion_id_link
—
bugzilla_pr
—
date
2026-09-01T00:00:00.000Z

This change updates several functions within libbacktrace that handle symbol information for PE/COFF and XCOFF object file formats. Instead of hardcoding the value 3 for BACKTRACE_MOREDATA_VERSION, it now uses the defined constant. This ensures consistency and makes the code more robust against future changes in the MOREDATA versioning scheme.