llvm-readobj: Handle invalid references to the string table.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242658 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2015-07-20 03:38:17 +00:00
parent fc41ae8496
commit fa1a4b2275
5 changed files with 23 additions and 7 deletions

View File

@ -19,6 +19,7 @@ namespace llvm {
}
// Various helper functions.
void reportError(Twine Msg);
void error(std::error_code ec);
bool relocAddressLess(object::RelocationRef A,
object::RelocationRef B);