Skip to content

[Demangler] Make isSpecialized() more robust. #38270

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
merged 1 commit into from
Jul 8, 2021

Conversation

al45tair
Copy link
Contributor

@al45tair al45tair commented Jul 6, 2021

We've had a couple of instances where Demangle::isSpecialized() crashed while while trying to use remote mirror to inspect a process that had itself crashed. I can't see any obvious mechanism for that to happen, so for now I decided to make Demangle::isSpecialized() more robust in the hope that if it happens again we'll get more information and might be able to work out how it happened.

rdar://74394596

We've had a couple of instances where isSpecialized() crashed while while trying
to use remote mirror to inspect a process that had itself crashed.  I can't see
any obvious mechanism for that to happen, so for now I decided to make
isSpecialized() more robust in the hope that if it happens again we'll get more
information and might be able to work out how it happened.

rdar://74394596
@al45tair
Copy link
Contributor Author

al45tair commented Jul 6, 2021

@swift-ci Please smoke test

@al45tair
Copy link
Contributor Author

al45tair commented Jul 6, 2021

@swift-ci Please clean smoke test Linux platform

@al45tair
Copy link
Contributor Author

al45tair commented Jul 7, 2021

@swift-ci Please clean smoke test Windows platform

@al45tair al45tair requested a review from mikeash July 7, 2021 13:24
@al45tair al45tair merged commit ad6a6e4 into swiftlang:main Jul 8, 2021
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