================ @@ -78,10 +79,20 @@ class BoltAddressTranslation { BoltAddressTranslation() {} + /// Write the serialized address translation table for a function. + template <bool Cold> + void writeMaps(std::map<uint64_t, MapTy> &Maps, raw_ostream &OS); + /// Write the serialized address translation tables for each reordered /// function void write(const BinaryContext &BC, raw_ostream &OS); + /// Read the serialized address translation table for a function. + /// Return a parse error if failed. + template <bool Cold> ---------------- rafaelauler wrote:
private: ? https://github.com/llvm/llvm-project/pull/76903 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits