Skip to content

Keep a Cache of Externally-Dependent Jobs #34219

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 2 commits into from
Oct 8, 2020

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Oct 7, 2020

A more durable form of #34218. Keep a side cache of externally-dependent
jobs for now. This ensures our pseudo-Jobs don't get prematurely
deallocated before the tracing machinery has had a chance to report the
structure of the Job graph.

rdar://70053563

A more durable form of swiftlang#34218. Keep a side cache of externally-dependent
jobs for now. This ensures our pseudo-Jobs don't get prematurely
deallocated before the tracing machinery has had a chance to report the
structure of the Job graph.

rdar://70053563
@CodaFi
Copy link
Contributor Author

CodaFi commented Oct 7, 2020

@swift-ci smoke test

@CodaFi
Copy link
Contributor Author

CodaFi commented Oct 7, 2020

@swift-ci asan test

@CodaFi
Copy link
Contributor Author

CodaFi commented Oct 7, 2020

@swift-ci test Windows

The Optional parameter here was being copied instead of being taken by
const reference. The expectation is that we call this function and
extract the data from a ModuleDepGraphNode node, but instead we were
extracting a copy which would promptly blow up.

Thanks ASAN!
@CodaFi
Copy link
Contributor Author

CodaFi commented Oct 7, 2020

@swift-ci smoke test

1 similar comment
@CodaFi
Copy link
Contributor Author

CodaFi commented Oct 8, 2020

@swift-ci smoke test

@CodaFi
Copy link
Contributor Author

CodaFi commented Oct 8, 2020

@CodaFi CodaFi merged commit 164bd08 into swiftlang:main Oct 8, 2020
@CodaFi CodaFi deleted the negative-externalities branch October 8, 2020 02:40
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