about summary refs log tree commit diff homepage
path: root/lib/Core/StatsTracker.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2014-09-14 16:05:34 -0700
committerDaniel Dunbar <daniel@zuster.org>2014-09-14 16:09:00 -0700
commitc8c950a7e9ebca0dcc8fbf33c9683fe85f06337b (patch)
tree53df3dcaa5d1871e9e8d22610f6068ca6f3da2c7 /lib/Core/StatsTracker.cpp
parentc3135ee38276a41f0d89487fada003522fa2df8e (diff)
downloadklee-c8c950a7e9ebca0dcc8fbf33c9683fe85f06337b.tar.gz
[LLVM3.5] Update for CallSite.h move into IR/.
Diffstat (limited to 'lib/Core/StatsTracker.cpp')
-rw-r--r--lib/Core/StatsTracker.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Core/StatsTracker.cpp b/lib/Core/StatsTracker.cpp
index 54dd0df8..033eaa6b 100644
--- a/lib/Core/StatsTracker.cpp
+++ b/lib/Core/StatsTracker.cpp
@@ -57,6 +57,12 @@
 #include "llvm/Support/Path.h"
 #include "llvm/Support/FileSystem.h"
 
+#if LLVM_VERSION_CODE < LLVM_VERSION(3, 5)
+#include "llvm/Support/CallSite.h"
+#else
+#include "llvm/IR/CallSite.h"
+#endif
+
 #include <fstream>
 #include <unistd.h>