In MachineBlockPlacement, filter cold blocks off the loop chain when profile data...
[oota-llvm.git] / lib / ProfileData / SampleProf.cpp
index 920c48a246400a0d1cf39232ecb237a1f92d8eee..c6960ba4bd9a6615aec5aef874a1bc2ffbfc1b62 100644 (file)
@@ -38,6 +38,12 @@ class SampleProfErrorCategoryType : public std::error_category {
       return "Malformed profile data";
     case sampleprof_error::unrecognized_format:
       return "Unrecognized profile encoding format";
+    case sampleprof_error::unsupported_writing_format:
+      return "Profile encoding format unsupported for writing operations";
+    case sampleprof_error::truncated_name_table:
+      return "Truncated function name table";
+    case sampleprof_error::not_implemented:
+      return "Unimplemented feature";
     }
     llvm_unreachable("A value of sampleprof_error has no message.");
   }