summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Registry.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-26 21:05:37 +0000
committerDan Gohman <gohman@apple.com>2010-07-26 21:05:37 +0000
commit72eb3007150837e4996485457ff120e3ad1c10fa (patch)
tree33c873ef7f12d9c71620676b4e8f06639f2a9392 /include/llvm/Support/Registry.h
parent3c45734274851c050a52f5068bf25d20a8da60d6 (diff)
downloadllvm-72eb3007150837e4996485457ff120e3ad1c10fa.tar.gz
llvm-72eb3007150837e4996485457ff120e3ad1c10fa.tar.bz2
llvm-72eb3007150837e4996485457ff120e3ad1c10fa.tar.xz
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109435 91177308-0d34-0410-b5e6-96231b3b80d8
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 4db88825af..d0375bedd9 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;