Skip to content

[IRGen] Correctly decode SILLocation w/ FilenameAndLocation storage #38164

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 1, 2021

Conversation

mshockwave
Copy link
Contributor

IRGen tried to decode various types of SILLocation into FilenameAndLocation object. But it couldn't handle the case where SILLocation already uses FilenameAndLocationKind storage kind. This patch fixes this issue.

Resolves SR-14856

IRGen tried to decode various types of `SILLocation` into
`FilenameAndLocation` object. But it couldn't handle the case where
`SILLocation` already uses `FilenameAndLocationKind` storage kind. This
patch fixes this issue.

Resolves SR-14856
@mshockwave
Copy link
Contributor Author

@swift-ci test

Copy link
Contributor

@adrian-prantl adrian-prantl left a comment

Choose a reason for hiding this comment

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

Nice!

@mshockwave
Copy link
Contributor Author

@swift-ci test

1 similar comment
@mshockwave
Copy link
Contributor Author

@swift-ci test

@adrian-prantl
Copy link
Contributor

Failed Tests (1):
  Swift(windows-x86_64) :: Demangle/recursion-limit.swift

That windows failure looks unrelated.

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