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

Allow square brackets to specify options in a subset #7260

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mpirvu
Copy link
Contributor

@mpirvu mpirvu commented Feb 8, 2024

This commit allows the user to specify options in a subset using square brackets as opposed to normal brackets which is the norm. E.g.: -Xjit:{methodRegex}[options-to-use]

Normal (round) brackets will continue to work as before.

Issue: #7257

This commit allows the user to specify options in a subset using
square brackets as opposed to normal brackets which is the norm.
E.g.:  -Xjit:{methodRegex}[options-to-use]

Normal (round) brackets will continue to work as before.

Issue: eclipse#7257

Signed-off-by: Marius Pirvu <mpirvu@ca.ibm.com>
@mpirvu
Copy link
Contributor Author

mpirvu commented Feb 21, 2024

@dsouzai Could you please review this PR? Thanks

@dsouzai dsouzai self-assigned this Feb 21, 2024
Copy link
Member

@dsouzai dsouzai left a comment

Choose a reason for hiding this comment

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

Functionally lgtm; however, probably worth adding a couple of tests. I think adding a test to https://github.com/eclipse/omr/blob/master/fvtest/compilertest/tests/OptionSetTest.cpp with square brackets should suffice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants