summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/ProfileData/ProfileCommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/ProfileData/ProfileCommon.h')
-rw-r--r--llvm/include/llvm/ProfileData/ProfileCommon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/ProfileData/ProfileCommon.h b/llvm/include/llvm/ProfileData/ProfileCommon.h
index c367b5951c4..c3f779199a4 100644
--- a/llvm/include/llvm/ProfileData/ProfileCommon.h
+++ b/llvm/include/llvm/ProfileData/ProfileCommon.h
@@ -60,6 +60,8 @@ protected:
ErrT Err;
};
+template<typename ErrT> char ProfErrorInfoBase<ErrT>::ID;
+
inline const char *getHotSectionPrefix() { return ".hot"; }
inline const char *getUnlikelySectionPrefix() { return ".unlikely"; }
OpenPOWER on IntegriCloud