summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEaswaran Raman <eraman@google.com>2016-02-05 00:45:02 +0000
committerEaswaran Raman <eraman@google.com>2016-02-05 00:45:02 +0000
commit312b34fc3015b812017220d51a2013ce6044807c (patch)
tree48086284d8e44c7270de07203ce91999f7689859
parent43d8365ecb2bd2412b4b9952b2069a71034f0b47 (diff)
downloadbcm5719-llvm-312b34fc3015b812017220d51a2013ce6044807c.tar.gz
bcm5719-llvm-312b34fc3015b812017220d51a2013ce6044807c.zip
Fix build breakage introduced by r259846.
llvm-svn: 259855
-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