[llvm] 7ac461f - [M68k] Put M68kDesc as the direct library dependency for disassembler
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 19 15:56:59 PDT 2021
Author: Min-Yih Hsu
Date: 2021-04-19T15:56:24-07:00
New Revision: 7ac461f6f7059c4e4ecbd99330a9a6bffef0133b
URL: https://github.com/llvm/llvm-project/commit/7ac461f6f7059c4e4ecbd99330a9a6bffef0133b
DIFF: https://github.com/llvm/llvm-project/commit/7ac461f6f7059c4e4ecbd99330a9a6bffef0133b.diff
LOG: [M68k] Put M68kDesc as the direct library dependency for disassembler
M68kDisassembler should put M68kDesc as its direct library dependency
since it uses logics releated to code beads Otherwise the build will
fail when building LLVM libraries as shared objects (building LLVM
libraries statically won't have this problem though)
Added:
Modified:
llvm/lib/Target/M68k/Disassembler/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/lib/Target/M68k/Disassembler/CMakeLists.txt b/llvm/lib/Target/M68k/Disassembler/CMakeLists.txt
index 69f9e8be24b8..2b8e676fee1b 100644
--- a/llvm/lib/Target/M68k/Disassembler/CMakeLists.txt
+++ b/llvm/lib/Target/M68k/Disassembler/CMakeLists.txt
@@ -1,7 +1,8 @@
add_llvm_component_library(LLVMM68kDisassembler
- M68kDisassembler.cpp
+ M68kDisassembler.cpp
LINK_COMPONENTS
+ M68kDesc
M68kInfo
MCDisassembler
Support
More information about the llvm-commits
mailing list