This is an archive of the discontinued LLVM Phabricator instance.

[llvmbuild] --enable-optional-components should not be a substring match
Needs ReviewPublic

Authored by dsanders on Jun 12 2020, 4:40 PM.

Details

Summary

enabled_optional_components was a string so given something like
'AArch64AsmParser' it would also match components like 'AsmParser'.
There's nothing in tree where it matters. It came up while trying use
this feature to replace a downstream hack that removes unused subcomponents
from our dylib.

Diff Detail