Skip to content

[Basic] Don't use defined(LLVM_ENABLE_STATS) as it can be set to 0 #35832

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
Feb 9, 2021

Conversation

xymus
Copy link
Contributor

@xymus xymus commented Feb 8, 2021

LLVM_ENABLE_STATS can be defined to 0 since https://reviews.llvm.org/D91094. Let's avoid checking only if it's defined.

rdar://73834542

@xymus
Copy link
Contributor Author

xymus commented Feb 8, 2021

@swift-ci Please smoke test

@xymus xymus force-pushed the fix-LLVM_ENABLE_STATS branch from e889b6c to 41e1c5a Compare February 8, 2021 22:28
@xymus
Copy link
Contributor Author

xymus commented Feb 8, 2021

@swift-ci Please smoke test

@xymus xymus merged commit 5b11a4a into swiftlang:main Feb 9, 2021
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