uint64_t Count);
std::error_code readOneFunctionProfile(const SourceStack &Stack, bool Update);
std::error_code readFunctionProfiles();
- std::error_code readModuleGroup();
- std::error_code readWorkingSet();
std::error_code skipNextWord();
template <typename T> ErrorOr<T> readNumber();
ErrorOr<StringRef> readString();
return sampleprof_error::success;
}
-std::error_code SampleProfileReaderGCC::readModuleGroup() {
- // FIXME(dnovillo) - Module support still not implemented.
- return sampleprof_error::not_implemented;
-}
-
-std::error_code SampleProfileReaderGCC::readWorkingSet() {
- // FIXME(dnovillo) - Working sets still not implemented.
- return sampleprof_error::not_implemented;
-}
-
/// \brief Read a GCC AutoFDO profile.
///
/// This format is generated by the Linux Perf conversion tool at
if (std::error_code EC = readFunctionProfiles())
return EC;
-// FIXME(dnovillo) - Module groups and working set support are not
-// yet implemented.
-#if 0
- // Read the module group file.
- if (std::error_code EC = readModuleGroup())
- return EC;
-
- // Read the working set.
- if (std::error_code EC = readWorkingSet())
- return EC;
-#endif
-
return sampleprof_error::success;
}