Skip to content

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jun 13, 2023

Using this to bisect the CI failure in #1708 that I can’t reproduce locally

@ahoppen
Copy link
Member Author

ahoppen commented Jun 13, 2023

@swift-ci Please test macOS

@ahoppen ahoppen force-pushed the ahoppen/memory-corruption-wip branch from b8052bf to 4d4b2ea Compare June 13, 2023 20:59
@ahoppen
Copy link
Member Author

ahoppen commented Jun 13, 2023

@swift-ci Please test macOS

@ahoppen ahoppen force-pushed the ahoppen/memory-corruption-wip branch from 4d4b2ea to cbaa25a Compare June 13, 2023 22:36
@ahoppen
Copy link
Member Author

ahoppen commented Jun 13, 2023

@swift-ci Please test macOS

@ahoppen ahoppen force-pushed the ahoppen/memory-corruption-wip branch from cbaa25a to 90bd233 Compare June 13, 2023 22:56
The `arena` parameter must be the same one that `raw` is allocated in and ensures that the arena of `raw` doesn’t get deallocated before the `SyntaxData` can retain it.

This removes the need for a few `withExtendedLifetime` calls that we had earlier.
@ahoppen ahoppen force-pushed the ahoppen/memory-corruption-wip branch from 90bd233 to aff3411 Compare June 13, 2023 23:05
@ahoppen
Copy link
Member Author

ahoppen commented Jun 13, 2023

@swift-ci Please test macOS

@ahoppen ahoppen closed this Jun 14, 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.

1 participant