Skip to content
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

[lldb] Factor out function for experimental properties (NFC) #8298

Open
wants to merge 2 commits into
base: stable/20230725
Choose a base branch
from

Conversation

kastiglione
Copy link

@kastiglione kastiglione commented Feb 28, 2024

Factor out a reusable function for target.experimental properties.

@kastiglione
Copy link
Author

@swift-ci test

@kastiglione
Copy link
Author

@swift-ci test

Copy link

@augusto2112 augusto2112 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice clean up!

@@ -310,6 +310,10 @@ class TargetProperties : public Properties {
bool GetEnableTrampolineSupport() const;

private:
std::optional<bool>
GetExperimentalPropertyValue(size_t idx,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this function live upstream?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep. (on first glance I thought these were all swift, but one property, inject-local-vars, does exist upstream).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll pick llvm#83504 into this branch.

@augusto2112
Copy link

@swift-ci test Windows

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.

None yet

2 participants