-
Notifications
You must be signed in to change notification settings - Fork 339
Drop <stdint.h> dependency from <ptrauth.h> #7967
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
Drop <stdint.h> dependency from <ptrauth.h> #7967
Conversation
This is needed to eliminate some cyclic module dependencies in some SDK configurations.
@swift-ci please test |
The test in https://github.com/apple/llvm-project/blob/f981c3bcc4c7d9174545b2c7e7e67b27f235c741/clang/test/Sema/ptrauth-intrinsics-macro.c#L6 seemed to implicitly import |
Huh, did that test not get run by CI? We should replace the |
@drodriguez thank you! |
Sadly the LLVM tests do not run by default, even if doing a "@-swift-ci please test" in this repository. One has to be explicit with "@-swift-ci please test llvm". I also think they are not green at the moment (https://ci.swift.org/view/Pull%20Requests/job/pr-apple-llvm-project-llvm-macos/, https://ci.swift.org/view/Pull%20Requests/job/pr-apple-llvm-project-llvm-linux/) so one has to drill down and check if none of the problems were actually introduced by the change itself. I don't know if |
This was originally fixed downstream as rdar://59828556, then in stable/20230725 as #7967. We ended up picking up the fixed version of most of ptrauth.h (and the matching test) following the upstream commit that added the file. But the merge didn't remove the include; it only brought some of the `__UINTPTR_TYPE__` usage. rdar://129378800
This was originally fixed downstream as rdar://59828556, then in stable/20230725 as #7967. We ended up picking up the fixed version of most of ptrauth.h (and the matching test) following the upstream commit that added the file. But the merge didn't remove the include; it only brought some of the `__UINTPTR_TYPE__` usage. rdar://129378800
This is needed to eliminate some cyclic module dependencies in some SDK configurations.