Skip to content

[lldb] Remove unused version defines #1912

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 3 commits into from
Oct 14, 2020

Conversation

kastiglione
Copy link

@kastiglione kastiglione commented Oct 7, 2020

Removes unused compiler defines, and related code.

  • LLDB_IS_BUILDBOT_BUILD
  • LLDB_BUILD_DATE

This eliminates some downstream diff from llvm.org. See also swiftlang/swift#34212

This also removes the "fake" LLDB_UPSTREAM definition, which is the inverse of LLDB_ENABLE_SWIFT. Instead, that block of code is an #else branch.

@kastiglione
Copy link
Author

@swift-ci test

@kastiglione
Copy link
Author

@shahmishal do you have any context here? seems unused

@shahmishal
Copy link
Member

@kastiglione No, I don't might be worth checking with someone who runs http://green.lab.llvm.org/green/view/LLDB/

@kastiglione kastiglione requested a review from Teemperor October 14, 2020 04:09
@kastiglione
Copy link
Author

@Teemperor do you know if anything supplies or consumes these values?

@Teemperor
Copy link

Never saw them anywhere else. The git blame is also not very enlightening, so LGTM.

@kastiglione kastiglione merged commit dee9c92 into swift/main Oct 14, 2020
@kastiglione kastiglione deleted the lldb-Remove-unused-version-defines branch October 14, 2020 18:13
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