From c70345caa213288aa748070f7a03c84fbdf89b5c Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sun, 14 Mar 2010 05:08:59 +0000 Subject: Update for 2.7. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@98467 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/klee/Internal/Module/InstructionInfoTable.h | 2 ++ include/klee/Internal/Module/KInstruction.h | 5 +++++ include/klee/Statistic.h | 5 +++++ include/klee/util/Bits.h | 5 +++++ 4 files changed, 17 insertions(+) (limited to 'include') diff --git a/include/klee/Internal/Module/InstructionInfoTable.h b/include/klee/Internal/Module/InstructionInfoTable.h index c93f5ddb..98af6ac9 100644 --- a/include/klee/Internal/Module/InstructionInfoTable.h +++ b/include/klee/Internal/Module/InstructionInfoTable.h @@ -55,6 +55,8 @@ namespace klee { private: const std::string *internString(std::string s); + bool getInstructionDebugInfo(const llvm::Instruction *I, + const std::string *&File, unsigned &Line); public: InstructionInfoTable(llvm::Module *m); diff --git a/include/klee/Internal/Module/KInstruction.h b/include/klee/Internal/Module/KInstruction.h index 89b9dbfc..b35cf107 100644 --- a/include/klee/Internal/Module/KInstruction.h +++ b/include/klee/Internal/Module/KInstruction.h @@ -10,7 +10,12 @@ #ifndef KLEE_KINSTRUCTION_H #define KLEE_KINSTRUCTION_H +#include "klee/Config/config.h" +#if (LLVM_VERSION_MAJOR == 2 && LLVM_VERSION_MINOR < 7) #include "llvm/Support/DataTypes.h" +#else +#include "llvm/System/DataTypes.h" +#endif #include namespace llvm { diff --git a/include/klee/Statistic.h b/include/klee/Statistic.h index 6baaedf4..7ade8dd0 100644 --- a/include/klee/Statistic.h +++ b/include/klee/Statistic.h @@ -10,7 +10,12 @@ #ifndef KLEE_STATISTIC_H #define KLEE_STATISTIC_H +#include "klee/Config/config.h" +#if (LLVM_VERSION_MAJOR == 2 && LLVM_VERSION_MINOR < 7) #include "llvm/Support/DataTypes.h" +#else +#include "llvm/System/DataTypes.h" +#endif #include namespace klee { diff --git a/include/klee/util/Bits.h b/include/klee/util/Bits.h index ffbda09e..db45acac 100644 --- a/include/klee/util/Bits.h +++ b/include/klee/util/Bits.h @@ -10,7 +10,12 @@ #ifndef KLEE_UTIL_BITS_H #define KLEE_UTIL_BITS_H +#include "klee/Config/config.h" +#if (LLVM_VERSION_MAJOR == 2 && LLVM_VERSION_MINOR < 7) #include "llvm/Support/DataTypes.h" +#else +#include "llvm/System/DataTypes.h" +#endif namespace klee { namespace bits32 { -- cgit 1.4.1