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

[analyser] Build log transformer: also ignore -fno-reorder-functions #3411

Merged
merged 1 commit into from
Aug 31, 2021

Conversation

whisperity
Copy link
Contributor

This flag is unknown by Clang (the review for introducing it back from 2017 is here: http://reviews.llvm.org/D34796). The "positive" version has been part of our rewriting logic for a while now, but there is also a negative version of the flag that also results in "unknown flag" errors in Clang.

@whisperity whisperity added analyzer 📈 Related to the analyze commands (analysis driver) config ⚙️ labels Aug 27, 2021
@whisperity whisperity requested review from martong and bruntib August 27, 2021 07:55
@steakhal
Copy link
Contributor

Okay, so all these flags have "positive" and "negative" versions.
Why don't we deal with all of them for once and all, by transforming all the rest of the flag matches in a similar way?

@martong
Copy link
Contributor

martong commented Aug 27, 2021

Okay, so all these flags have "positive" and "negative" versions.
Why don't we deal with all of them for once and all, by transforming all the rest of the flag matches in a similar way?

I am not 100% sure if all have a negative version. We should double check this. And if that is really the case then we could create a new PR for generalizing -ffeature and -fno-feautre.

@bruntib bruntib merged commit 7c0972a into Ericsson:master Aug 31, 2021
@csordasmarton csordasmarton added this to the release 6.17.0 milestone Sep 6, 2021
@whisperity whisperity deleted the freorder-functions branch April 11, 2022 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer 📈 Related to the analyze commands (analysis driver) config ⚙️
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants