[PGO] Make indexed value profile data more compact
[oota-llvm.git] / include / llvm / ProfileData / InstrProfWriter.h
index da0d956e8a9871896855ebede64b6fe3f1dd8aad..5b122d69977eaa15afa6163208432b0265657485 100644 (file)
@@ -46,6 +46,9 @@ public:
   /// Write the profile, returning the raw data. For testing.
   std::unique_ptr<MemoryBuffer> writeBuffer();
 
+  // Internal interface for testing purpose only.
+  void setValueProfDataEndianness(support::endianness Endianness);
+
 private:
   std::pair<uint64_t, uint64_t> writeImpl(raw_ostream &OS);
 };