Skip to content

IRGen: Fix a map entry use-after-free issue in LargeLoadableHeuristic #77455

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

Merged

Conversation

aschwaighofer
Copy link
Contributor

rdar://139398409

Should fix the failure in https://ci.swift.org/job/oss-swift-incremental-ASAN-RA-macos/7219

=================================================================
==36519==ERROR: AddressSanitizer: heap-use-after-free on address 0x61b000759fd9 at pc 0x00010d30c053 bp 0x7ff7b46c3670 sp 0x7ff7b46c3668
WRITE of size 1 at 0x61b000759fd9 thread T0
    #0 0x10d30c052 in runPeepholesAndReg2Mem
    ```

@aschwaighofer
Copy link
Contributor Author

@swift-ci smoke test

@ahoppen ahoppen merged commit 8feb497 into swiftlang:main Nov 7, 2024
0 of 3 checks passed
@aschwaighofer
Copy link
Contributor Author

https://ci.swift.org/job/oss-swift-incremental-ASAN-RA-macos/7223/ has the fix and hopefully is green again

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