Skip to content

Conversation

@kubamracek
Copy link
Contributor

The added test triggers a call to swift_release_n, which currently ends up causing an LLVM IR verification failure because swift_release_n is, at the IR level, expected to have a ptr argument, but UnsafePointer? in Swift code ends up lowering as i64. Let's avoid using it and instead use Builtin.RawPointer as the argument type, like we do in the other runtime refcounting functions.

@kubamracek
Copy link
Contributor Author

@swift-ci please test

@kubamracek kubamracek added the embedded Embedded Swift label Oct 14, 2023
@kubamracek kubamracek merged commit bfb95f3 into swiftlang:main Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

embedded Embedded Swift

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant