From 75dd8ff1a4e3729f92f424213d0a73ae82c63250 Mon Sep 17 00:00:00 2001 From: Fabrice de Gans Date: Thu, 20 Nov 2025 17:51:42 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=92=20llvm:=20Export=20`ilist=5Fnode?= =?UTF-8?q?=5Fbase`=20template=20specialization=20(llvm#168094)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The core LLVM library implements a specialization for `ilist_node_base`, which is used by other components. This is needed to link properly when building LLVM as a library on Windows. This effort is tracked in swiftlang/swift#85241. --- llvm/include/llvm/ADT/ilist_node_base.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/include/llvm/ADT/ilist_node_base.h b/llvm/include/llvm/ADT/ilist_node_base.h index 49b197d3466d9..937e7d060e489 100644 --- a/llvm/include/llvm/ADT/ilist_node_base.h +++ b/llvm/include/llvm/ADT/ilist_node_base.h @@ -67,6 +67,9 @@ class ilist_node_base : public ilist_detail::node_base_prevnext< EnableSentinelTracking>, public ilist_detail::node_base_parent {}; +// Specialization implemented in the core LLVM library. +template class LLVM_ABI ilist_node_base; + } // end namespace llvm #endif // LLVM_ADT_ILIST_NODE_BASE_H