[llvm] [Xtensa] Add XtensaDesc dependency to LLVMXtensaDisassembler (PR #126904)

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 08:48:14 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-xtensa

Author: Evgenii Kudriashov (e-kud)

<details>
<summary>Changes</summary>

There is an undefined reference to checkRegister in shared lib builds

Suspecting #<!-- -->124656

---
Full diff: https://github.com/llvm/llvm-project/pull/126904.diff


1 Files Affected:

- (modified) llvm/lib/Target/Xtensa/Disassembler/CMakeLists.txt (+1) 


``````````diff
diff --git a/llvm/lib/Target/Xtensa/Disassembler/CMakeLists.txt b/llvm/lib/Target/Xtensa/Disassembler/CMakeLists.txt
index 43f235b7cd31d..319d912e5561b 100644
--- a/llvm/lib/Target/Xtensa/Disassembler/CMakeLists.txt
+++ b/llvm/lib/Target/Xtensa/Disassembler/CMakeLists.txt
@@ -4,6 +4,7 @@ add_llvm_component_library(LLVMXtensaDisassembler
   LINK_COMPONENTS
   MCDisassembler
   Support
+  XtensaDesc
   XtensaInfo
 
   ADD_TO_COMPONENT

``````````

</details>


https://github.com/llvm/llvm-project/pull/126904


More information about the llvm-commits mailing list