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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/ProfileData/ProfileCommon.h b/llvm/include/llvm/ProfileData/ProfileCommon.h
index afdfdfcc78f..022e5b00370 100644
--- a/llvm/include/llvm/ProfileData/ProfileCommon.h
+++ b/llvm/include/llvm/ProfileData/ProfileCommon.h
@@ -13,6 +13,7 @@
//===----------------------------------------------------------------------===//
#include <cstdint>
+#include <functional>
#include <map>
#include <vector>
@@ -23,7 +24,7 @@ namespace llvm {
namespace IndexedInstrProf {
struct Summary;
}
-class InstrProfRecord;
+struct InstrProfRecord;
///// Profile summary computation ////
// The 'show' command displays richer summary of the profile data. The profile
// summary is one or more (Cutoff, MinBlockCount, NumBlocks) triplets. Given a
OpenPOWER on IntegriCloud