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

Evgenii Kudriashov via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 05:06:15 PST 2025


https://github.com/e-kud created https://github.com/llvm/llvm-project/pull/126904

There is an undefined reference to checkRegister in shared lib builds

Suspecting #124656

>From 896b6f45253abb8eb40f95419b22736db675ed17 Mon Sep 17 00:00:00 2001
From: Evgenii Kudriashov <evgenii.kudriashov at intel.com>
Date: Wed, 12 Feb 2025 04:52:48 -0800
Subject: [PATCH] [Xtensa] Add XtensaDesc dependency to LLVMXtensaDisassembler

There is an undefined reference to checkRegister in shared builds

Suspecting #124656
---
 llvm/lib/Target/Xtensa/Disassembler/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

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



More information about the llvm-commits mailing list