diff --git a/lib/Object/CMakeLists.txt b/lib/Object/CMakeLists.txt index 6a6814fd37d..f28d2ec3643 100644 --- a/lib/Object/CMakeLists.txt +++ b/lib/Object/CMakeLists.txt @@ -1,5 +1,6 @@ add_llvm_library(LLVMObject MachOObject.cpp + Object.cpp ObjectFile.cpp COFFObjectFile.cpp ELFObjectFile.cpp diff --git a/lib/VMCore/Object.cpp b/lib/Object/Object.cpp similarity index 100% rename from lib/VMCore/Object.cpp rename to lib/Object/Object.cpp diff --git a/lib/VMCore/CMakeLists.txt b/lib/VMCore/CMakeLists.txt index a6a347dd2b7..6bde263ce62 100644 --- a/lib/VMCore/CMakeLists.txt +++ b/lib/VMCore/CMakeLists.txt @@ -24,7 +24,6 @@ add_llvm_library(LLVMCore LeakDetector.cpp Metadata.cpp Module.cpp - Object.cpp Pass.cpp PassManager.cpp PassRegistry.cpp