diff options
author | Petr Hosek <phosek@chromium.org> | 2018-04-06 00:53:00 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2018-04-06 00:53:00 +0000 |
commit | 451943aa7f8b14fe721431d1ce59e0de34afbe61 (patch) | |
tree | a4952d860f7d6eb30cb58e21e182027ee5195571 /CMakeLists.txt | |
parent | 80c7cef832f1681ade62abb0e797c7abca82407e (diff) | |
download | clang-451943aa7f8b14fe721431d1ce59e0de34afbe61.tar.gz |
CMake option to allow enabling experimental new pass manager by default
This CMake flag allows setting the default value for the
-f[no]-experimental-new-pass-manager flag.
Differential Revision: https://reviews.llvm.org/D44330
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@329366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0aec29960e..fc7a3889a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -212,6 +212,9 @@ set(ENABLE_LINKER_BUILD_ID OFF CACHE BOOL "pass --build-id to ld") set(ENABLE_X86_RELAX_RELOCATIONS OFF CACHE BOOL "enable x86 relax relocations by default") +set(ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER FALSE CACHE BOOL + "Enable the experimental new pass manager by default.") + # TODO: verify the values against LangStandards.def? set(CLANG_DEFAULT_STD_C "" CACHE STRING "Default standard to use for C/ObjC code (IDENT from LangStandards.def, empty for platform default)") |