From 37e92d0c802524c19a9a84164253639aac47fee3 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Sat, 22 Jul 2017 01:03:44 +0200 Subject: Remove support for LLVM < 3.4 Request LLVM 3.4 as minimal requirement for KLEE --- lib/Core/Executor.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/Core/Executor.h') diff --git a/lib/Core/Executor.h b/lib/Core/Executor.h index b3bb6864..b8411a20 100644 --- a/lib/Core/Executor.h +++ b/lib/Core/Executor.h @@ -42,11 +42,7 @@ namespace llvm { class GlobalValue; class Instruction; class LLVMContext; -#if LLVM_VERSION_CODE <= LLVM_VERSION(3, 1) - class TargetData; -#else class DataLayout; -#endif class Twine; class Value; } @@ -509,7 +505,7 @@ public: virtual void getCoveredLines(const ExecutionState &state, std::map > &res); - Expr::Width getWidthForLLVMType(LLVM_TYPE_Q llvm::Type *type) const; + Expr::Width getWidthForLLVMType(llvm::Type *type) const; size_t getAllocationAlignment(const llvm::Value *allocSite) const; }; -- cgit 1.4.1