mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-23 17:28:54 +00:00
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:
@@ -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