llvm-project/llvm/tools/llvm-cxxdump
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
Error.cpp
Error.h
LLVMBuild.txt
Makefile
llvm-cxxdump.cpp Return ErrorOr from SymbolRef::getName. 2015-07-02 20:55:21 +00:00
llvm-cxxdump.h