Skip to content

Conversation

@vedantk
Copy link
Contributor

@vedantk vedantk commented May 11, 2018

SIL optimizations may rewrite profiling intrinsics in a way that IRGen
can't lower (r://39146527). Don't claim that a coverage mapping has a
guaranteed associated symbol table entry when this happens.

I have not added a test, as this is a defensive workaround until we can
land add a SIL verifier check that prevents profiling intrinsics from
being rewritten.

rdar://40133800
(cherry picked from commit bdfd220)

SIL optimizations may rewrite profiling intrinsics in a way that IRGen
can't lower (r://39146527). Don't claim that a coverage mapping has a
guaranteed associated symbol table entry when this happens.

I have not added a test, as this is a defensive workaround until we can
land add a SIL verifier check that prevents profiling intrinsics from
being rewritten.

rdar://40133800
(cherry picked from commit bdfd220)
@vedantk
Copy link
Contributor Author

vedantk commented May 11, 2018

@swift-ci Please test and merge

@swift-ci swift-ci merged commit 19513b0 into swiftlang:swift-4.2-branch May 11, 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