summaryrefslogtreecommitdiff
path: root/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
commiteaf4221cef44f5e5094b60099f6e52a8e431bb49 (patch)
treeccb4dcb241a6dfa5a955e6c9df0426f1c3ce027d /lib
parent1325ab92560443958d380bdffa630b4f96fba58f (diff)
downloadllvm-eaf4221cef44f5e5094b60099f6e52a8e431bb49.tar.gz
llvm-eaf4221cef44f5e5094b60099f6e52a8e431bb49.tar.bz2
llvm-eaf4221cef44f5e5094b60099f6e52a8e431bb49.tar.xz
build/MBlazeDisassembler: Some compilers may generate an MBlaze disassembler
that depends on MBlazeCodeGen. This is a layering violation that should really be fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/MBlaze/Disassembler/LLVMBuild.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Target/MBlaze/Disassembler/LLVMBuild.txt b/lib/Target/MBlaze/Disassembler/LLVMBuild.txt
index c5c4f8043b..b2b3a3a5cf 100644
--- a/lib/Target/MBlaze/Disassembler/LLVMBuild.txt
+++ b/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