summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-11-10 22:00:37 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-11-10 22:00:37 +0000
commit085f6f2af15395934925faaaeb7bd59b8eef091d (patch)
treede63e1724cbbe71377959d5d5e550c197ac24b17 /llvm/lib
parentb27317f7dd97ed6a5e6f0173958d5c75c7b05cab (diff)
downloadbcm5719-llvm-085f6f2af15395934925faaaeb7bd59b8eef091d.tar.gz
bcm5719-llvm-085f6f2af15395934925faaaeb7bd59b8eef091d.zip
build/MBlazeDisassembler: Some compilers may generate an MBlaze disassembler
that depends on MBlazeCodeGen. This is a layering violation that should really be fixed. llvm-svn: 144321
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/MBlaze/Disassembler/LLVMBuild.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/lib/Target/MBlaze/Disassembler/LLVMBuild.txt b/llvm/lib/Target/MBlaze/Disassembler/LLVMBuild.txt
index c5c4f8043bf..b2b3a3a5cf6 100644
--- a/llvm/lib/Target/MBlaze/Disassembler/LLVMBuild.txt
+++ b/llvm/lib/Target/MBlaze/Disassembler/LLVMBuild.txt
@@ -19,6 +19,12 @@
type = Library
name = MBlazeDisassembler
parent = MBlaze
-required_libraries = MBlazeDesc MBlazeInfo MC Support
+; Strictly speaking, we probably shouldn't have a dependency on
+; MBlazeCodeGen. However, given the current factoring we end up including
+; MBlazeGenRegisterInfo.inc in the disassembler. Those generated headers end up
+; referencing external variables through GPRRegClass, SPRRegClass, and
+; CRCRegClass. These aren't actually used, but some compilers may generate
+; references to them.
+required_libraries = MBlazeCodeGen MBlazeDesc MBlazeInfo MC Support
add_to_library_groups = MBlaze
OpenPOWER on IntegriCloud