summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Registry.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2010-09-17 15:48:55 +0000
committerDimitry Andric <dim@FreeBSD.org>2010-09-17 15:48:55 +0000
commitd39c594d39df7f283c2fb8a704a3f31c501180d9 (patch)
tree36453626c792cccd91f783a38a169d610a6b9db9 /include/llvm/Support/Registry.h
parent6144c1de6a7674dad94290650e4e14f24d42e421 (diff)
Diffstat (limited to 'include/llvm/Support/Registry.h')
-rw-r--r--include/llvm/Support/Registry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Support/Registry.h b/include/llvm/Support/Registry.h
index 4db88825afb55..d0375bedd9f25 100644
--- a/include/llvm/Support/Registry.h
+++ b/include/llvm/Support/Registry.h
@@ -203,6 +203,8 @@ namespace llvm {
};
+ // Since these are defined in a header file, plugins must be sure to export
+ // these symbols.
template <typename T, typename U>
typename Registry<T,U>::node *Registry<T,U>::Head;