Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DONOTSTRIP for kUnifexAsyncStackRootHolderList #651

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

rileyberton
Copy link
Contributor

This ensures the kUnifexAsyncStackRootHolderList symbol is not stripped during the link phase so it can always be found in the symbol table.

This does not protect against the strip tool which completely removes the .symtab. If you need to retain the pointer to the AsyncStackRootHolderList you will have to use the --keep-symbol flag if you are using the strip tool for smaller binaries.

Note that strip tool will keep this symbol if you are sticking to "needed" symbols as it is marked as "used" but it won't survive under strip "all".

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 9, 2025
@jesswong jesswong merged commit 03a2116 into facebookexperimental:main Jan 10, 2025
53 checks passed
jesswong pushed a commit to jesswong/libunifex that referenced this pull request Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants