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

Generate symbols.map files using clang-extract-api #3297

Closed
mattkae opened this issue Mar 26, 2024 · 2 comments
Closed

Generate symbols.map files using clang-extract-api #3297

mattkae opened this issue Mar 26, 2024 · 2 comments
Assignees
Labels
enhancement triaged Triage into JIRA to plan it in

Comments

@mattkae
Copy link
Contributor

mattkae commented Mar 26, 2024

Why

  • This would be a revival of this pr, although a little different: Auto generate symbols map #2517
  • We would like to expose all internal headers in Mir and mark them as internal in the .so file. While we could write these all out by hand, it is bound to be tedious and very error prone. We could lean on our tooling to generate these files

How

  • We could use clang-extract-api or clang-query to generate info for all of our header files
  • We could then write a python script that gets this info and generates a symbols.map file based on it
  • The versioning info would have to come from tags in comments (maybe?)
@mattkae mattkae added enhancement triaged Triage into JIRA to plan it in labels Mar 26, 2024
@mattkae mattkae self-assigned this Mar 26, 2024
@mattkae
Copy link
Contributor Author

mattkae commented May 1, 2024

Completed!

@mattkae mattkae closed this as completed May 1, 2024
@wmww
Copy link
Contributor

wmww commented May 1, 2024

yay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement triaged Triage into JIRA to plan it in
Projects
None yet
Development

No branches or pull requests

2 participants