Skip to content

[DebugInfo] Skip both pointer and reference type parameters (#97094) #8973

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 12, 2024

Conversation

JDevlieghere
Copy link

DWARFTypePrinter::appendTemplateParameters already skips pointer type parameters but didn't account for reference type parameters. This would result in tripping up the RawName assertion below. This updates the check for both DW_TAG_pointer_type and DW_TAG_reference_type.

Thanks to Dave Blaikie for helping with the test.

rdar://130297520
(cherry picked from commit eed9141)

DWARFTypePrinter::appendTemplateParameters already skips pointer type
parameters but didn't account for reference type parameters. This would
result in tripping up the RawName assertion below. This updates the
check for both `DW_TAG_pointer_type` and `DW_TAG_reference_type`.

Thanks to Dave Blaikie for helping with the test.

rdar://130297520
(cherry picked from commit eed9141)
@JDevlieghere JDevlieghere merged commit 9f60821 into stable/20240625 Jul 12, 2024
@JDevlieghere JDevlieghere deleted the jdevlieghere/rdar/130297520 branch July 12, 2024 18:29
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.

1 participant