Skip to content

Only define ValueStorageMap::dump in DEBUG. #41973

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

Conversation

nate-chandler
Copy link
Contributor

NFC

@nate-chandler nate-chandler requested a review from atrick March 23, 2022 03:42
@nate-chandler
Copy link
Contributor Author

@swift-ci please benchmark

@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

Running benchmarks just because that's a place where the build failure can be seen currently. ( https://ci.swift.org/job/swift-PR-macos-perf/91/consoleText )

@nate-chandler
Copy link
Contributor Author

Benchmark still fails with

/Users/ec2-user/jenkins/workspace/swift-PR-macos-perf/swift/lib/SILOptimizer/Mandatory/AddressLowering.cpp:369:23: error: out-of-line definition of 'dump' does not match any declaration in 'swift::ValueStorageMap'

but it is showing the old line number, indicating maybe that that is from attempting to build ndebug without this patch.

@atrick atrick merged commit f9c689b into swiftlang:main Mar 23, 2022
@atrick
Copy link
Contributor

atrick commented Mar 23, 2022

Merged to unblock CI

@nate-chandler nate-chandler deleted the address_lowering/define-valuestoragemap-dump-in-debug branch July 5, 2023 23:29
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