#define LLVM_PROFILEDATA_INSTRPROF_H_
#include "llvm/ADT/StringRef.h"
+#include <cstdint>
#include <system_error>
#include <vector>
/// Profiling information for a single function.
struct InstrProfRecord {
InstrProfRecord() {}
- InstrProfRecord(StringRef Name, uint64_t Hash, std::vector<uint64_t> &Counts)
+ InstrProfRecord(StringRef Name, uint64_t Hash, std::vector<uint64_t> Counts)
: Name(Name), Hash(Hash), Counts(std::move(Counts)) {}
StringRef Name;
uint64_t Hash;