From 87cd326ed978f09a1fdbce1ed89d535523f3ff21 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sun, 14 Sep 2014 16:12:52 -0700 Subject: [LLVM3.5] Update for move of CFG.h into IR. - Mostly fixed by removing unnecessary references. --- lib/Core/Searcher.cpp | 1 - lib/Core/StatsTracker.cpp | 3 ++- lib/Module/InstructionInfoTable.cpp | 1 - lib/Module/ModuleUtil.cpp | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/Core/Searcher.cpp b/lib/Core/Searcher.cpp index 6191acb5..e33d2a56 100644 --- a/lib/Core/Searcher.cpp +++ b/lib/Core/Searcher.cpp @@ -34,7 +34,6 @@ #include "llvm/Instructions.h" #include "llvm/Module.h" #endif -#include "llvm/Support/CFG.h" #include "llvm/Support/CommandLine.h" #if LLVM_VERSION_CODE < LLVM_VERSION(3, 5) diff --git a/lib/Core/StatsTracker.cpp b/lib/Core/StatsTracker.cpp index 033eaa6b..c4fa9ea1 100644 --- a/lib/Core/StatsTracker.cpp +++ b/lib/Core/StatsTracker.cpp @@ -52,15 +52,16 @@ #include "llvm/Type.h" #endif #include "llvm/Support/CommandLine.h" -#include "llvm/Support/CFG.h" #include "llvm/Support/Process.h" #include "llvm/Support/Path.h" #include "llvm/Support/FileSystem.h" #if LLVM_VERSION_CODE < LLVM_VERSION(3, 5) #include "llvm/Support/CallSite.h" +#include "llvm/Support/CFG.h" #else #include "llvm/IR/CallSite.h" +#include "llvm/IR/CFG.h" #endif #include diff --git a/lib/Module/InstructionInfoTable.cpp b/lib/Module/InstructionInfoTable.cpp index eca1ae1d..932bc671 100644 --- a/lib/Module/InstructionInfoTable.cpp +++ b/lib/Module/InstructionInfoTable.cpp @@ -24,7 +24,6 @@ #include "llvm/Linker.h" #include "llvm/Assembly/AssemblyAnnotationWriter.h" #include "llvm/Support/FormattedStream.h" -#include "llvm/Support/CFG.h" #include "llvm/Support/InstIterator.h" #include "llvm/Support/raw_ostream.h" #if LLVM_VERSION_CODE >= LLVM_VERSION(3, 2) diff --git a/lib/Module/ModuleUtil.cpp b/lib/Module/ModuleUtil.cpp index 49877634..f6dfbbdf 100644 --- a/lib/Module/ModuleUtil.cpp +++ b/lib/Module/ModuleUtil.cpp @@ -43,7 +43,6 @@ #include "llvm/Linker.h" #include "llvm/Assembly/AssemblyAnnotationWriter.h" -#include "llvm/Support/CFG.h" #include "llvm/Support/InstIterator.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Analysis/ValueTracking.h" -- cgit 1.4.1