git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218168
91177308-0d34-0410-b5e6-
96231b3b80d8
#include "llvm/ProfileData/InstrProf.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/ProfileData/InstrProf.h"
#include "llvm/Support/ErrorHandling.h"
+#include "llvm/Support/ManagedStatic.h"
+static ManagedStatic<InstrProfErrorCategoryType> ErrorCategory;
+
const std::error_category &llvm::instrprof_category() {
const std::error_category &llvm::instrprof_category() {
- static InstrProfErrorCategoryType C;
- return C;