Revert "[libc++] Only add dylib-related features when using the system's libc++"

This reverts r353319, which broke our internal CI.

llvm-svn: 353321
This commit is contained in:
Louis Dionne 2019-02-06 18:33:02 +00:00
parent 16471947f5
commit feeedafd28
1 changed files with 1 additions and 1 deletions

View File

@ -1145,7 +1145,7 @@ class Configuration(object):
# Throwing bad_optional_access, bad_variant_access and bad_any_cast is # Throwing bad_optional_access, bad_variant_access and bad_any_cast is
# supported starting in macosx10.14. # supported starting in macosx10.14.
if self.get_lit_conf('use_system_cxx_lib') and name == 'macosx' and version in ('10.%s' % v for v in range(7, 14)): if name == 'macosx' and version in ('10.%s' % v for v in range(7, 14)):
self.config.available_features.add('dylib-has-no-bad_optional_access') self.config.available_features.add('dylib-has-no-bad_optional_access')
self.lit_config.note("throwing bad_optional_access is not supported by the deployment target") self.lit_config.note("throwing bad_optional_access is not supported by the deployment target")