diff options
Diffstat (limited to 'clang/test/lit.cfg.py')
| -rw-r--r-- | clang/test/lit.cfg.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/lit.cfg.py b/clang/test/lit.cfg.py index 465b227d091..4fd8eb32f80 100644 --- a/clang/test/lit.cfg.py +++ b/clang/test/lit.cfg.py @@ -97,6 +97,10 @@ if config.clang_default_cxx_stdlib != '': if platform.system() not in ['FreeBSD']: config.available_features.add('crash-recovery') +# Support for new pass manager. +if config.enable_experimental_new_pass_manager: + config.available_features.add('experimental-new-pass-manager') + # ANSI escape sequences in non-dumb terminal if platform.system() not in ['Windows']: config.available_features.add('ansi-escape-sequences') |

