In the gap between -mibt-seal feature submission and merge to trunk ,When assertions are enabled, clang will perform RoundTrip for CompilerInvocation argument generation. something changed in the compiler front-endibt-seal flags are currently missing in this argument generation, changing how some flags are processed throughout the pipeline.and because of that, Because of that,the feature doesn't get enabled for these cases. the -mibt-seal flag was no longer being properly processed and used to generate modules with the "ibt-seal" module flagPerforming RoundTrip is the default for assert builds, rendering the feature broken in these scenarios.
This patch fixes this and adds a test to properly verify that modules are being generated with the flag when -mibt-seal is used.
Please, add any known relevant reviewer which I may have missed.
 - https://reviews.llvm.org/D116070