summaryrefslogtreecommitdiffstats
path: root/llvm/tools/obj2yaml/Error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/obj2yaml/Error.cpp')
-rw-r--r--llvm/tools/obj2yaml/Error.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/obj2yaml/Error.cpp b/llvm/tools/obj2yaml/Error.cpp
index abef8af58cb..9eb70c6a47b 100644
--- a/llvm/tools/obj2yaml/Error.cpp
+++ b/llvm/tools/obj2yaml/Error.cpp
@@ -34,6 +34,8 @@ std::string _obj2yaml_error_category::message(int ev) const {
return "Unrecognized file type.";
case obj2yaml_error::unsupported_obj_file_format:
return "Unsupported object file format.";
+ case obj2yaml_error::not_implemented:
+ return "Feature not yet implemented.";
}
llvm_unreachable("An enumerator of obj2yaml_error does not have a message "
"defined.");
OpenPOWER on IntegriCloud