Skip to content

[Profiler] Increment closure body count prior to the prolog #33946

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
Sep 15, 2020

Conversation

vedantk
Copy link
Contributor

@vedantk vedantk commented Sep 14, 2020

This fixes a 'SILBuilder has no valid insertion point' assertion failure
seen when compiling various projects from the source compat suite.

rdar://68759819

This fixes a 'SILBuilder has no valid insertion point' assertion failure
seen when compiling various projects from the source compat suite.

rdar://68759819
@vedantk
Copy link
Contributor Author

vedantk commented Sep 14, 2020

@swift-ci Please Test Source Compatibility Debug

@vedantk
Copy link
Contributor Author

vedantk commented Sep 14, 2020

@swift-ci smoke test

@xedin
Copy link
Contributor

xedin commented Sep 15, 2020

@swift-ci please smoke test macOS platform

@xedin
Copy link
Contributor

xedin commented Sep 15, 2020

@swift-ci please smoke test macOS platform

@xedin
Copy link
Contributor

xedin commented Sep 15, 2020

Looks like the changes didn’t fix the problem and release version is failing too now, I am going to merge my xfails to unblock CI while this is being investigated.

@vedantk
Copy link
Contributor Author

vedantk commented Sep 15, 2020

It looks like there's more than one bug uncovered by Erik's assert. I'll merge this first fix now and investigate the second failure.

@vedantk vedantk merged commit 4393552 into swiftlang:master Sep 15, 2020
@vedantk vedantk deleted the eng/PR-68759819 branch September 15, 2020 17:45
dabrahams pushed a commit that referenced this pull request Sep 15, 2020
* 'master' of github.com:apple/swift:
  [docs] Fix broken links in the documentation index (#33829)
  [Profiler] Increment closure body count prior to the prolog (#33946)
  ARCSequenceOpts: Add LoopSummary verifier (#33810)
  [build-script] Cleanup source directory layout help
  Address review comment.
  ABI checker: when invoking via build system, explicitly mention ABI breakge in diagnostics
  stdlib: Remove unused, unsafe helper function _withUninitializedString (#33704)
  test: Replace _silgen_name w/ _cdecl in CommandLineStressTest
  [AutoDiff] [Docs] Clarify 'Differentiable' derived conformances conditions.
  Revert "build-script: remove dead CMake options for Swift"
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.

3 participants