diff options
-rw-r--r-- | examples/clang-interpreter/CMakeLists.txt | 1 | ||||
-rw-r--r-- | lib/CodeGen/CMakeLists.txt | 1 | ||||
-rw-r--r-- | lib/CodeGen/CodeGenAction.cpp | 2 | ||||
-rw-r--r-- | tools/driver/CMakeLists.txt | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/examples/clang-interpreter/CMakeLists.txt b/examples/clang-interpreter/CMakeLists.txt index 06d3d03320..451b4b8672 100644 --- a/examples/clang-interpreter/CMakeLists.txt +++ b/examples/clang-interpreter/CMakeLists.txt @@ -5,6 +5,7 @@ set(LLVM_LINK_COMPONENTS asmparser bitreader bitwriter + irreader codegen ipo linker diff --git a/lib/CodeGen/CMakeLists.txt b/lib/CodeGen/CMakeLists.txt index 98008ccde6..9ca2295a92 100644 --- a/lib/CodeGen/CMakeLists.txt +++ b/lib/CodeGen/CMakeLists.txt @@ -2,6 +2,7 @@ set(LLVM_LINK_COMPONENTS asmparser bitreader bitwriter + irreader instrumentation ipo linker diff --git a/lib/CodeGen/CodeGenAction.cpp b/lib/CodeGen/CodeGenAction.cpp index 8591961928..679cfeb6ed 100644 --- a/lib/CodeGen/CodeGenAction.cpp +++ b/lib/CodeGen/CodeGenAction.cpp @@ -23,9 +23,9 @@ #include "llvm/Bitcode/ReaderWriter.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Module.h" +#include "llvm/IRReader/IRReader.h" #include "llvm/Linker.h" #include "llvm/Pass.h" -#include "llvm/Support/IRReader.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/SourceMgr.h" #include "llvm/Support/Timer.h" diff --git a/tools/driver/CMakeLists.txt b/tools/driver/CMakeLists.txt index 2545610477..c1ee1662a2 100644 --- a/tools/driver/CMakeLists.txt +++ b/tools/driver/CMakeLists.txt @@ -3,6 +3,7 @@ set( LLVM_LINK_COMPONENTS asmparser bitreader bitwriter + irreader codegen instrumentation ipo |