aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/TableGen.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-13 16:37:43 +0000
committerChris Lattner <sabre@nondot.org>2004-02-13 16:37:43 +0000
commitf5761a5e68fa805d58422ca0db5f32f049e77551 (patch)
treebd8b64975fcfdd0b1ffbdda709e50628b660b326 /utils/TableGen/TableGen.cpp
parent83fe91797ace489c28ebc02be09c27f6e6168912 (diff)
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
Diffstat (limited to 'utils/TableGen/TableGen.cpp')
-rw-r--r--utils/TableGen/TableGen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp
index cb0a804617..dd0dc9a93c 100644
--- a/utils/TableGen/TableGen.cpp
+++ b/utils/TableGen/TableGen.cpp
@@ -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