Skip to content

[DebugInfo] Add default true return for unexpected types in isUnsignedType #8438

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

augusto2112
Copy link

No description provided.

@augusto2112
Copy link
Author

@swift-ci test llvm

}
// FIXME: the signedness should come from the expression where the type is
// used in, not the type itself.
return true;

Choose a reason for hiding this comment

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

On which code path dis this originally crash? Just checking whether this still addresses the original issue you wanted to solve.

Copy link
Author

Choose a reason for hiding this comment

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

This was originally a DICompositeType with an DW_TAG_enumeration_type tag, whose base type was another DICompositeType.

@augusto2112
Copy link
Author

@swift-ci test

@augusto2112
Copy link
Author

@swift-ci test windows

@augusto2112
Copy link
Author

@swift-ci test llvm

@augusto2112
Copy link
Author

@swift-ci test llvm

@augusto2112
Copy link
Author

@adrian-prantl could you merge this?

I ran the clang test suite locally and am getting the save clang scan deps failure without the patch, so it's unrelated to this change.

@adrian-prantl adrian-prantl merged commit c4c5ccc into swiftlang:swift/release/6.0 Mar 27, 2024
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