summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-07-22 08:16:53 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-07-22 08:16:53 +0000
commit43025a08699db9ca83c4f5a4607e056aab470b04 (patch)
treea7742fa26030957a0995cda533f8ad814aa54c62 /llvm/lib
parent1108b1671ca0a82d2a3edbecd6a5f998e369ef9c (diff)
downloadbcm5719-llvm-43025a08699db9ca83c4f5a4607e056aab470b04.tar.gz
bcm5719-llvm-43025a08699db9ca83c4f5a4607e056aab470b04.zip
Move TargetRegistry.cpp from lib/Support to lib/Target where it belongs.
The header file was already properly located. The previous need for it in Support had to do with the version string printing which was fixed in r135757. Also update build dependencies where libraries that needed the functionality of the Target library (in the form of the TargetRegistry) were picking it up via Support. This is pretty pervasive, essentially every TargetInfo library (ARMInfo, etc) uses TargetRegistry, making it depend on Target. All of these were previously just sneaking by. llvm-svn: 135760
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Support/CMakeLists.txt1
-rw-r--r--llvm/lib/Target/CMakeLists.txt1
-rw-r--r--llvm/lib/Target/TargetRegistry.cpp (renamed from llvm/lib/Support/TargetRegistry.cpp)0
3 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/CMakeLists.txt b/llvm/lib/Support/CMakeLists.txt
index 867d930a0f9..9ba0f7e87d9 100644
--- a/llvm/lib/Support/CMakeLists.txt
+++ b/llvm/lib/Support/CMakeLists.txt
@@ -42,7 +42,6 @@ add_llvm_library(LLVMSupport
StringPool.cpp
StringRef.cpp
SystemUtils.cpp
- TargetRegistry.cpp
Timer.cpp
ToolOutputFile.cpp
Triple.cpp
diff --git a/llvm/lib/Target/CMakeLists.txt b/llvm/lib/Target/CMakeLists.txt
index b0989b2622f..a31f041474f 100644
--- a/llvm/lib/Target/CMakeLists.txt
+++ b/llvm/lib/Target/CMakeLists.txt
@@ -11,6 +11,7 @@ add_llvm_library(LLVMTarget
TargetLoweringObjectFile.cpp
TargetMachine.cpp
TargetRegisterInfo.cpp
+ TargetRegistry.cpp
TargetSubtargetInfo.cpp
)
diff --git a/llvm/lib/Support/TargetRegistry.cpp b/llvm/lib/Target/TargetRegistry.cpp
index cdb3e1fda05..cdb3e1fda05 100644
--- a/llvm/lib/Support/TargetRegistry.cpp
+++ b/llvm/lib/Target/TargetRegistry.cpp
OpenPOWER on IntegriCloud