Skip to content

[DebugInfo] Set the autogenerated bit to request recycled locations #15953

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 3 commits into from
Apr 16, 2018

Conversation

vedantk
Copy link
Contributor

@vedantk vedantk commented Apr 16, 2018

IRGenDebugInfo expects to see an autogenerated bit before allowing reuse
of the last seen debug location for a new instruction.

This is the second attempt to land this patch. The test update in the first
version was brittle.

rdar://28544248

vedantk added 3 commits April 16, 2018 10:35
Having a default location of None doesn't seem to enhance readability.

(cherry picked from commit c3ba8ff)
IRGenDebugInfo expects to see an autogenerated bit before allowing reuse
of the last seen debug location for a new instruction.

rdar://28544248
(cherry picked from commit 5f6d8e8)
Passing in some SILLocation to IRGenDebugInfo setCurrentLoc() will now
be mandatory.

(cherry picked from commit 8bd783f)
@vedantk
Copy link
Contributor Author

vedantk commented Apr 16, 2018

@swift-ci test and merge

@swift-ci swift-ci merged commit 500f60e into swiftlang:master Apr 16, 2018
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