diff options
author | Arthur Eubanks <aeubanks@google.com> | 2020-11-24 20:40:47 -0800 |
---|---|---|
committer | Arthur Eubanks <aeubanks@google.com> | 2020-12-01 14:00:32 -0800 |
commit | aafb3662103f4b3df315967c0cf4f6eec6bff0c4 (patch) | |
tree | 15364948f15d67531e78fa4dce2a8f04c58ded94 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2671fccf0381769276ca8246ec0499adcb9b0355 (diff) | |
download | llvm-aafb3662103f4b3df315967c0cf4f6eec6bff0c4.zip llvm-aafb3662103f4b3df315967c0cf4f6eec6bff0c4.tar.gz llvm-aafb3662103f4b3df315967c0cf4f6eec6bff0c4.tar.bz2 |
Reland [CMake][NewPM] Move ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER into llvm/
This allows us to use its value everywhere, rather than just clang. Some
other places, like opt and lld, will use its value soon.
Rename it internally to LLVM_ENABLE_NEW_PASS_MANAGER.
The #define for it is now in llvm-config.h.
The initial land accidentally set the value of
LLVM_ENABLE_NEW_PASS_MANAGER to the string
ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER instead of its value.
Reviewed By: rnk, hans
Differential Revision: https://reviews.llvm.org/D92072
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index f72e0fc..068c860 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -58,6 +58,7 @@ #include "llvm/ADT/StringSwitch.h" #include "llvm/ADT/Triple.h" #include "llvm/ADT/Twine.h" +#include "llvm/Config/llvm-config.h" #include "llvm/IR/DebugInfoMetadata.h" #include "llvm/Linker/Linker.h" #include "llvm/MC/MCTargetOptions.h" |