summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-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