This is an archive of the discontinued LLVM Phabricator instance.

[clang][cli] Fix round-trip of OPT_plugin_arg
ClosedPublic

Authored by john.brawn on Mar 30 2021, 9:42 AM.

Details

Summary

The test Frontend/plugin-delayed-template.cpp is failing when asserts are enabled because it hits an assertion in denormalizeStringImpl when trying to round-trip OPT_plugin_arg. Fix this by adjusting how the option is handled, as the first part is joined to -plugin-arg and the second is separate.

Diff Detail

Event Timeline

john.brawn requested review of this revision.Mar 30 2021, 9:42 AM
john.brawn created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2021, 9:42 AM
jansvoboda11 accepted this revision.Mar 30 2021, 10:17 AM

LGTM, thanks!

This revision is now accepted and ready to land.Mar 30 2021, 10:17 AM
This revision was landed with ongoing or failed builds.Mar 30 2021, 10:35 AM
This revision was automatically updated to reflect the committed changes.