Skip to content

Add .stripped and .dwp target for bin targets - #4378

Open
johnmave126 wants to merge 1 commit into
bazelbuild:mainfrom
johnmave126:local/dwp_stripped
Open

johnmave126 wants to merge 1 commit into
bazelbuild:mainfrom
johnmave126:local/dwp_stripped

Conversation

@johnmave126

Copy link
Copy Markdown

Currently bin target does not produce any stripped target. This change adapts from rules_cc, adds .stripped and .dwp target for bin targets and emits debug package info to relate them. Also add a test adapted from dwo_files_test in rules_cc.

Tested:
bazelisk test //test/unit/...
Also generated dwo_main to verify the stripped binary.

Currently bin target does not produce any stripped target. This change
adapts from rules_cc, adds .stripped and .dwp target for bin targets
and emits debug package info to relate them. Also add a test adapted
from dwo_files_test in rules_cc.
@krasimirgg
krasimirgg self-requested a review November 4, 2026 10:40

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant