Landing: a7db48e71b94

Project / Subsystem

gcc / libcpp

Date

2026-07-11

Author

Lewis Hyatt

Commit

a7db48e71b9483db7fe3724e9652e49a800b664d

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libcpp
patch_id
commit_hash
a7db48e71b9483db7fe3724e9652e49a800b664d
source_type
github
headline
libcpp gains raw map creation for LTO linemap changes
tldr
New `linemap_add_raw_map` in libcpp provides finer control over linemap creation for LTO.
author
Lewis Hyatt
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libcpp
  • lto
  • compiler internals
discussion_id_link
bugzilla_pr
date
2026-07-11T00:00:00.000Z

Libcpp’s line mapping functionality has been extended with linemap_add_raw_map(), allowing the LTO front end more precise control over linemap creation. This new function enables explicit specification of map properties, which is crucial for LTO’s upcoming revised approach to streaming location data. While this commit adds self-tests, no external observable changes are made yet.