exit(1) instead of abort()'ing on error

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11380 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-02-13 16:37:43 +00:00
parent 83fe91797a
commit f5761a5e68
3 changed files with 27 additions and 27 deletions

View File

@@ -97,7 +97,7 @@ static Init *getBit(Record *R, unsigned BitNo) {
}
std::cerr << "Cannot find requested bit!\n";
abort();
exit(1);
return 0;
}
@@ -273,7 +273,7 @@ static Record *ParseMachineCode(std::vector<Record*>::iterator InstsB,
if (RangeBegin == InstsB && RangeEnd == InstsE) {
std::cerr << "Error: Could not distinguish among the following insts!:\n";
PrintRange(InstsB, InstsE);
abort();
exit(1);
}
#if 0