llvm-project/llvm/tools/obj2yaml
Rafael Espindola 5d0c2ffadf Return ErrorOr from SymbolRef::getName.
This function can really fail since the string table offset can be out of
bounds.

Using ErrorOr makes sure the error is checked.

Hopefully a lot of the boilerplate code in tools/* can go away once we have
a diagnostic manager in Object.

llvm-svn: 241297
2015-07-02 20:55:21 +00:00
..
CMakeLists.txt Install the `obj2yaml` and `yaml2obj` utilities together with other LLVM tools. 2014-07-29 18:28:16 +00:00
Error.cpp Added missing LLVM_NOEXCEPT to the definition of _obj2yaml_error_category::name 2014-09-11 17:19:54 +00:00
Error.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
Makefile Install the `obj2yaml` and `yaml2obj` utilities together with other LLVM tools. 2014-07-29 18:28:16 +00:00
coff2yaml.cpp Return ErrorOr from SymbolRef::getName. 2015-07-02 20:55:21 +00:00
elf2yaml.cpp Return ErrorOr from getSection. 2015-07-01 12:56:27 +00:00
obj2yaml.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
obj2yaml.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00