diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-03-14 05:08:59 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-03-14 05:08:59 +0000 |
commit | c70345caa213288aa748070f7a03c84fbdf89b5c (patch) | |
tree | 75252446281ec8c9c0a750461b8751fdd73566a8 /include | |
parent | 5099d8124393dcd577c2dd091834a17fe2d9fcdb (diff) | |
download | klee-c70345caa213288aa748070f7a03c84fbdf89b5c.tar.gz |
Update for 2.7.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@98467 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/klee/Internal/Module/InstructionInfoTable.h | 2 | ||||
-rw-r--r-- | include/klee/Internal/Module/KInstruction.h | 5 | ||||
-rw-r--r-- | include/klee/Statistic.h | 5 | ||||
-rw-r--r-- | include/klee/util/Bits.h | 5 |
4 files changed, 17 insertions, 0 deletions
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 <vector> 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 <string> 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 { |