[llvm-profdata] Add check for text profile formats and improve error reporting (2nd...
[oota-llvm.git] / include / llvm / ProfileData / InstrProf.h
index 607f29de8a23f8523397146de9f3ac3c9c21637b..2339a46f9c5540c55b3cd3a788e07aadf0b34add 100644 (file)
@@ -149,6 +149,7 @@ const std::error_category &instrprof_category();
 enum class instrprof_error {
   success = 0,
   eof,
+  unrecognized_format,
   bad_magic,
   bad_header,
   unsupported_version,