diff options
author | Lukáš Zaoral <lzaoral@redhat.com> | 2022-03-05 14:08:11 +0100 |
---|---|---|
committer | MartinNowack <2443641+MartinNowack@users.noreply.github.com> | 2023-03-20 14:35:16 +0000 |
commit | 425597940be8f35a05a34638764b3c8dc482dc25 (patch) | |
tree | 471632503ad614fff6ff38dd0fc74cbf78f4add4 /lib | |
parent | 9c73eb5081a12bf2de5e9a0cb0933cd30925ac6d (diff) | |
download | klee-425597940be8f35a05a34638764b3c8dc482dc25.tar.gz |
llvm14: TargetRegistry.h was moved from Support to MC
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Module/RaiseAsm.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Module/RaiseAsm.cpp b/lib/Module/RaiseAsm.cpp index 98e580a8..457927f9 100644 --- a/lib/Module/RaiseAsm.cpp +++ b/lib/Module/RaiseAsm.cpp @@ -19,7 +19,11 @@ #include "llvm/IR/Instructions.h" #include "llvm/IR/LLVMContext.h" #include "llvm/Support/Host.h" +#if LLVM_VERSION_CODE >= LLVM_VERSION(14, 0) +#include "llvm/MC/TargetRegistry.h" +#else #include "llvm/Support/TargetRegistry.h" +#endif #include "llvm/Target/TargetMachine.h" |