-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Recommit #30289 with ASAN fix. #30341
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
Recommit #30289 with ASAN fix. #30341
Conversation
…SAN to fire. I was being too clever here and in the process of "foot-gunned" myself. Specifically, I was hoping to use bisection to do some is contained in list tests. But the list that I actually bisected upon was not the original list and was just based on the original sorted list! So the pointer comparison for the bisect no longer worked. Since the bisection was on pointer addresses, if we were lucky and the new addresses in the new array were sorted the same as the original array, we wouldn't hit anything. rdar://60262326
@swift-ci smoke test |
Going to do the ASAN test once we figure out why the ASAN bot is failing. |
@swift-ci test linux platform |
@swift-ci asan |
@swift-ci test source compatibility |
@swift-ci asan |
@swift-ci asan test |
ASAN failure was this: 00:01:03 ******************** TEST 'Swift(macosx-x86_64) :: Syntax/round_trip_stdlib.swift' FAILED ******************** I don't think that is me. |
This fixes the logic that was causing ASAN to crash with #30289.
rdar://60262326