From: Chandler Carruth Date: Tue, 26 Mar 2013 02:25:54 +0000 (+0000) Subject: The IRReader header is now part of its own library. Update the include X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9cc935b6993460956d0d46ee268e9858743d5129;p=clang The IRReader header is now part of its own library. Update the include line and the library dependencies to reflect this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177972 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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