Skip to content

[SILDebugScope] Only print under !NDEBUG. #62325

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
Nov 30, 2022

Conversation

nate-chandler
Copy link
Contributor

Guard calls to SILDebugScope::print with #ifndef NDEBUG and fix the header to only make those methods be available under debug.

@nate-chandler
Copy link
Contributor Author

@swift-ci please smoke test and merge

@nate-chandler nate-chandler changed the title [SILDebugInfo] Only print under !NDEBUG. [SILDebugScope] Only print under !NDEBUG. Nov 30, 2022
@Catfish-Man Catfish-Man merged commit d069fff into swiftlang:main Nov 30, 2022
@nate-chandler nate-chandler deleted the fix-ref-to-SILDebugScope branch July 5, 2023 23:31
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