about summary refs log tree commit diff homepage
path: root/lib/Module/ModuleUtil.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-09-30 04:52:23 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-09-30 04:52:23 +0000
commite69a71a164be39baef2a4d3e450c733fd4c7868a (patch)
treed44e95dc98fb836f5d7f5cff055431e8eac1b801 /lib/Module/ModuleUtil.cpp
parent423989c4af2a2e436ed5c8b5a826f784367525ce (diff)
downloadklee-e69a71a164be39baef2a4d3e450c733fd4c7868a.tar.gz
Update for spurious LLVM API changes.
 - God forbid we manage to keep an API stable for a single release cycle.

git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@115139 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Module/ModuleUtil.cpp')
-rw-r--r--lib/Module/ModuleUtil.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Module/ModuleUtil.cpp b/lib/Module/ModuleUtil.cpp
index 17c4aa91..ff3301ed 100644
--- a/lib/Module/ModuleUtil.cpp
+++ b/lib/Module/ModuleUtil.cpp
@@ -15,7 +15,11 @@
 #include "llvm/IntrinsicInst.h"
 #include "llvm/Linker.h"
 #include "llvm/Module.h"
+#if (LLVM_MAJOR_VERSION == 2 && LLVM_MINOR_VERSION < 8)
 #include "llvm/Assembly/AsmAnnotationWriter.h"
+#else
+#include "llvm/Assembly/AssemblyAnnotationWriter.h"
+#endif
 #include "llvm/Support/CFG.h"
 #include "llvm/Support/CallSite.h"
 #include "llvm/Support/InstIterator.h"