Add inline stack streaming to binary sample profiles.
[oota-llvm.git] / include / llvm / ProfileData / SampleProfReader.h
index 9f4d53902e1c4e1687c1f418f944321423448352..e2976e2efab75a7db3bb354ce3ad9598bb68def1 100644 (file)
@@ -157,6 +157,9 @@ protected:
   /// \brief Return true if we've reached the end of file.
   bool at_eof() const { return Data >= End; }
 
+  /// Read the contents of the given profile instance.
+  std::error_code readProfile(FunctionSamples &FProfile);
+
   /// \brief Points to the current location in the buffer.
   const uint8_t *Data;