aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/lib/Object/Error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Object/Error.cpp')
-rw-r--r--contrib/llvm-project/llvm/lib/Object/Error.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/llvm-project/llvm/lib/Object/Error.cpp b/contrib/llvm-project/llvm/lib/Object/Error.cpp
index bc75bc6c0445..6d1e3f2a59d0 100644
--- a/contrib/llvm-project/llvm/lib/Object/Error.cpp
+++ b/contrib/llvm-project/llvm/lib/Object/Error.cpp
@@ -52,6 +52,8 @@ std::string _object_error_category::message(int EV) const {
return "Bitcode section not found in object file";
case object_error::invalid_symbol_index:
return "Invalid symbol index";
+ case object_error::section_stripped:
+ return "Section has been stripped from the object file";
}
llvm_unreachable("An enumerator of object_error does not have a message "
"defined.");