Skip to content

Commit 865c92b

Browse files
authored
llvm: Export ilist_node_base template specialization (#168094)
The core LLVM library implements a specialization for `ilist_node_base<true, void>`, 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 #109483.
1 parent da61dd2 commit 865c92b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/include/llvm/ADT/ilist_node_base.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ class ilist_node_base : public ilist_detail::node_base_prevnext<
6767
EnableSentinelTracking>,
6868
public ilist_detail::node_base_parent<ParentTy> {};
6969

70+
// Specialization implemented in the core LLVM library.
71+
template class LLVM_ABI ilist_node_base<true, void>;
72+
7073
} // end namespace llvm
7174

7275
#endif // LLVM_ADT_ILIST_NODE_BASE_H

0 commit comments

Comments
 (0)