Skip to content

Conversation

@mikeash
Copy link
Contributor

@mikeash mikeash commented Mar 2, 2023

If the SDK has dyld_priv.h but doesn't have enum _dyld_section_location_kind, we can't use enum _dyld_section_location_kind and it's hard to detect that. Instead, just use int, and use #defines for the values.

@meg-gupta
Copy link
Contributor

@swift-ci test

@mikeash mikeash force-pushed the fix-dyld-section-enums branch from 4fe16b8 to e4e5af3 Compare March 2, 2023 21:36
@mikeash
Copy link
Contributor Author

mikeash commented Mar 2, 2023

@swift-ci please test and merge

1 similar comment
@mikeash
Copy link
Contributor Author

mikeash commented Mar 3, 2023

@swift-ci please test and merge

@mikeash
Copy link
Contributor Author

mikeash commented Mar 6, 2023

@swift-ci please test macos platform

@mikeash mikeash force-pushed the fix-dyld-section-enums branch from e4e5af3 to 66e2416 Compare March 28, 2023 18:23
@mikeash
Copy link
Contributor Author

mikeash commented Mar 28, 2023

@swift-ci please test and merge

bnbarham added a commit to bnbarham/swift that referenced this pull request Mar 28, 2023
If the SDK has dyld_priv.h but doesn't have enum _dyld_section_location_kind, we can't use enum _dyld_section_location_kind and it's hard to detect that. Instead, just use `int`, and use #defines for the values.
@mikeash mikeash force-pushed the fix-dyld-section-enums branch from 66e2416 to f7e3256 Compare March 29, 2023 13:33
@mikeash
Copy link
Contributor Author

mikeash commented Mar 29, 2023

@swift-ci please test and merge

@swift-ci swift-ci merged commit 76c5e4f into swiftlang:main Mar 29, 2023
etcwilde pushed a commit to etcwilde/swift that referenced this pull request Apr 19, 2023
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