diff options
Diffstat (limited to 'include/llvm/ProfileData/InstrProf.h')
| -rw-r--r-- | include/llvm/ProfileData/InstrProf.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/llvm/ProfileData/InstrProf.h b/include/llvm/ProfileData/InstrProf.h index 772187f70153c..b08b78cd593cc 100644 --- a/include/llvm/ProfileData/InstrProf.h +++ b/include/llvm/ProfileData/InstrProf.h @@ -295,7 +295,8 @@ enum class instrprof_error { value_site_count_mismatch, compress_failed, uncompress_failed, - empty_raw_profile + empty_raw_profile, + zlib_unavailable }; inline std::error_code make_error_code(instrprof_error E) { @@ -858,7 +859,9 @@ enum ProfVersion { // In this version, profile summary data \c IndexedInstrProf::Summary is // stored after the profile header. Version4 = 4, - // The current version is 4. + // In this version, the frontend PGO stable hash algorithm defaults to V2. + Version5 = 5, + // The current version is 5. CurrentVersion = INSTR_PROF_INDEX_VERSION }; const uint64_t Version = ProfVersion::CurrentVersion; |
