llvm-readobj: Handle invalid references to the string table.
llvm-svn: 242658
This commit is contained in:
@@ -188,14 +188,14 @@ namespace opts {
|
||||
|
||||
} // namespace opts
|
||||
|
||||
static void reportError(Twine Msg) {
|
||||
namespace llvm {
|
||||
|
||||
void reportError(Twine Msg) {
|
||||
outs() << Msg << "\n";
|
||||
outs().flush();
|
||||
exit(1);
|
||||
}
|
||||
|
||||
namespace llvm {
|
||||
|
||||
void error(std::error_code EC) {
|
||||
if (!EC)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user