about summary refs log tree commit diff homepage
path: root/lib/Module/Optimize.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2014-09-14 16:19:49 -0700
committerDaniel Dunbar <daniel@zuster.org>2014-09-14 16:21:32 -0700
commit8ef9d62a07b23ce07c07f18347e6f486b33bb31e (patch)
treefda481637a49465636d8fa3f68e4b15fced61696 /lib/Module/Optimize.cpp
parent87cd326ed978f09a1fdbce1ed89d535523f3ff21 (diff)
downloadklee-8ef9d62a07b23ce07c07f18347e6f486b33bb31e.tar.gz
[LLVM3.5] Update for more random headers moving around.
Diffstat (limited to 'lib/Module/Optimize.cpp')
-rw-r--r--lib/Module/Optimize.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Module/Optimize.cpp b/lib/Module/Optimize.cpp
index ed1e0e34..f3d58000 100644
--- a/lib/Module/Optimize.cpp
+++ b/lib/Module/Optimize.cpp
@@ -19,7 +19,6 @@
 #include "llvm/PassManager.h"
 #include "llvm/Analysis/Passes.h"
 #include "llvm/Analysis/LoopPass.h"
-#include "llvm/Analysis/Verifier.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/DynamicLibrary.h"
 
@@ -35,6 +34,12 @@
 #endif
 #endif
 
+#if LLVM_VERSION_CODE >= LLVM_VERSION(3, 5)
+#include "llvm/IR/Verifier.h"
+#else
+#include "llvm/Analysis/Verifier.h"
+#endif
+
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/Transforms/IPO.h"
 #include "llvm/Transforms/Scalar.h"