Revert "InstrProf: Add unit tests for the profile reader and writer"
[oota-llvm.git] / include / llvm / ProfileData / InstrProfWriter.h
index 48836e151245ba5cdc0a223fa05088274be2411e..a23c56772a2f14e1dd2edbc2de958a7008fad065 100644 (file)
@@ -41,12 +41,8 @@ public:
   std::error_code addFunctionCounts(StringRef FunctionName,
                                     uint64_t FunctionHash,
                                     ArrayRef<uint64_t> Counters);
-  /// Write the profile to \c OS
+  /// Ensure that all data is written to disk.
   void write(raw_fd_ostream &OS);
-  /// Write the profile, returning the raw data. For testing.
-  std::string writeString();
-private:
-  std::pair<uint64_t, uint64_t> writeImpl(raw_ostream &OS);
 };
 
 } // end namespace llvm