Skip to content

Basic: query the target pointer width from clang #79223

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

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Feb 7, 2025

Use the clang::TargetInfo to query the target pointer size for the given triple. This is meant to enable us to properly determine CMAKE_SIZEOF_VOID_P.

@compnerd compnerd requested a review from DougGregor as a code owner February 7, 2025 20:47
@compnerd
Copy link
Member Author

compnerd commented Feb 7, 2025

@swift-ci please smoke test

@compnerd
Copy link
Member Author

compnerd commented Feb 7, 2025

CC: @etcwilde

@compnerd
Copy link
Member Author

compnerd commented Feb 7, 2025

@swift-ci please smoke test

@compnerd
Copy link
Member Author

compnerd commented Feb 7, 2025

@swift-ci please smoke test

@compnerd
Copy link
Member Author

compnerd commented Feb 7, 2025

@swift-ci please smoke test

Use the `clang::TargetInfo` to query the target pointer size for the
given triple. This is meant to enable us to properly determine
`CMAKE_SIZEOF_VOID_P`.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd compnerd merged commit 45032fd into swiftlang:main Feb 11, 2025
3 checks passed
@compnerd compnerd deleted the sizeof-void-star branch February 11, 2025 00:08
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.

3 participants