diff options
author | Chris Bieneman <beanz@apple.com> | 2016-05-11 22:07:45 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-05-11 22:07:45 +0000 |
commit | 8cb136b8debe85547caa4b220438967fc313cfc3 (patch) | |
tree | 881d6d6729282dc5b0ee46dea8e48d354eace9ba /llvm/tools/obj2yaml/Error.cpp | |
parent | bff9dae3ff144ceea732b7a72cf203dac5d7993c (diff) | |
download | bcm5719-llvm-8cb136b8debe85547caa4b220438967fc313cfc3.tar.gz bcm5719-llvm-8cb136b8debe85547caa4b220438967fc313cfc3.zip |
Initial add for MachO support for obj2yaml
Adding the initial files for adding MachO support to obj2yaml. Passing a MachO file will result in a new not_implemented error.
I will be implementing obj2yaml and yaml2obj for MachO in parallel so that one can be used to test the other.
llvm-svn: 269243
Diffstat (limited to 'llvm/tools/obj2yaml/Error.cpp')
-rw-r--r-- | llvm/tools/obj2yaml/Error.cpp | 2 |
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."); |