Skip to content

Conversation

@Xazax-hun
Copy link
Contributor

@Xazax-hun Xazax-hun commented Sep 2, 2024

Explanation: A low-level clang API was used that relies on a cached value being present. This fix is changing that API call to another that calculates the value if the cache is not yet populated. Scope: C++ reverse interop.
Risk: Low, replacing an API call with a different that has the same semantics (other than calculating the value when the cache is empty).
Testing: Regression test added.
Issue: rdar://132746445
Reviewer: @egorzhdan
Original PR: #75714

@Xazax-hun Xazax-hun requested a review from a team as a code owner September 2, 2024 14:51
@Xazax-hun Xazax-hun added the c++ interop Feature: Interoperability with C++ label Sep 2, 2024
@Xazax-hun Xazax-hun requested a review from egorzhdan September 2, 2024 14:51
@Xazax-hun Xazax-hun force-pushed the gaborh/raw-module-crash-6.0 branch from bad65f9 to cd551af Compare September 3, 2024 09:54
Explanation: A low-level clang API was used that relies on a cached
value being present. This fix is changing that API call to another that
calculates the value if the cache is not yet populated.
Scope: C++ reverse interop.
Risk: Low, replacing an API call with a different that has the same
semantics (other than calculating the value when the cache is empty).
Testing: Regression test added.
Issue: rdar://132746445
Reviewer: @egorzhdan
Original PR: #75714
@Xazax-hun Xazax-hun force-pushed the gaborh/raw-module-crash-6.0 branch from cd551af to 17dd298 Compare September 3, 2024 13:06
@Xazax-hun
Copy link
Contributor Author

@swift-ci please test

@Xazax-hun Xazax-hun merged commit 372dd78 into release/6.0 Sep 3, 2024
@Xazax-hun Xazax-hun deleted the gaborh/raw-module-crash-6.0 branch September 3, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ interop Feature: Interoperability with C++

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants