X Tutup
Skip to content

C/C++ overlay: update discard mechanism#21424

Open
IdrissRio wants to merge 4 commits intomainfrom
idrissrio/cpp/overlay/discard
Open

C/C++ overlay: update discard mechanism#21424
IdrissRio wants to merge 4 commits intomainfrom
idrissrio/cpp/overlay/discard

Conversation

@IdrissRio
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the C++ label Mar 6, 2026
@IdrissRio IdrissRio force-pushed the idrissrio/cpp/overlay/discard branch 3 times, most recently from 2a38483 to 755225f Compare March 9, 2026 12:46
@IdrissRio IdrissRio marked this pull request as ready for review March 9, 2026 13:13
@IdrissRio IdrissRio requested a review from a team as a code owner March 9, 2026 13:13
Copilot AI review requested due to automatic review settings March 9, 2026 13:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the C/C++ overlay entity discard mechanism to decide discardability based on TRAP/tag reachability from source files, rather than relying on extracted file paths.

Changes:

  • Replace file-path-based discard logic with predicates that track whether an element is in, and reachable via, a TRAP file or tag in base vs overlay variants.
  • Tighten discard conditions to retain entities that are reachable from overlay sources, and to account for base reachability vs overlay changes/redefinitions/re-extractions.

@IdrissRio IdrissRio added the no-change-note-required This PR does not need a change note label Mar 9, 2026
AmberHussle19

This comment was marked as spam.

@IdrissRio IdrissRio closed this Mar 10, 2026
@IdrissRio IdrissRio reopened this Mar 10, 2026
@IdrissRio IdrissRio force-pushed the idrissrio/cpp/overlay/discard branch from 595fc75 to 4c6f355 Compare March 10, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

X Tutup