summaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/Registry.h
diff options
context:
space:
mode:
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 4db8882..d0375be 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;
OpenPOWER on IntegriCloud