diff --git a/include/llvm/Analysis/ProfileInfoLoader.h b/include/llvm/Analysis/ProfileInfoLoader.h index 33b87d89fb6..8a8958cc730 100644 --- a/include/llvm/Analysis/ProfileInfoLoader.h +++ b/include/llvm/Analysis/ProfileInfoLoader.h @@ -32,6 +32,7 @@ class ProfileInfoLoader { std::vector FunctionCounts; std::vector BlockCounts; std::vector EdgeCounts; + std::vector BBTrace; public: // ProfileInfoLoader ctor - Read the specified profiling data file, exiting // the program if the file is invalid or broken. @@ -76,6 +77,11 @@ public: // typedef std::pair Edge; void getEdgeCounts(std::vector > &Counts); + + // getBBTrace - This method is used by consumers of basic-block trace + // information. + // + void getBBTrace(std::vector &Trace); }; } // End llvm namespace