Skip to content

[llvm][cas] Fix stack-use-after-scope OnDiskCASLoggerTest #10363

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

Conversation

benlangmuir
Copy link

We were unintentionally capturing the loop induction variable I as a reference instead of a copy. Caught by asan.

(cherry picked from commit ce6efb2)

rdar://147936276

We were unintentionally capturing the loop induction variable I as a
reference instead of a copy. Caught by asan.

(cherry picked from commit ce6efb2)

rdar://147936276
@benlangmuir benlangmuir requested a review from a team as a code owner March 26, 2025 23:55
@benlangmuir
Copy link
Author

@swift-ci please test

@benlangmuir
Copy link
Author

@swift-ci please test llvm

Copy link

@j-hui j-hui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@benlangmuir benlangmuir merged commit 32ac3cb into swiftlang:stable/20240723 Mar 27, 2025
5 checks passed
@benlangmuir benlangmuir deleted the stack-use-after-scope-cas-log-test branch March 27, 2025 14:55
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.

2 participants