diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-03-31 17:00:45 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-03-31 17:00:45 +0000 |
commit | 48f46ac1d9a82210f6e469567cb60aa7e7cd2f3b (patch) | |
tree | 2430003e391c78e6b21cdf3b8aaca12d94b430be /lib/negvsi2.c | |
parent | 95f271b12981bf7f9254fcd4f51be441aa73e638 (diff) | |
download | compiler-rt-48f46ac1d9a82210f6e469567cb60aa7e7cd2f3b.tar.gz |
Use a private compilerrt_abort() define instead of calling abort directly.
- Fiddling with abort directly is annoying given the way we use system includes, although it would be nice to fix this so we could make sure calling abort directly is verboten.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@100014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/negvsi2.c')
-rw-r--r-- | lib/negvsi2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/negvsi2.c b/lib/negvsi2.c index a7fbbbd1f..e5a36a5da 100644 --- a/lib/negvsi2.c +++ b/lib/negvsi2.c @@ -24,6 +24,6 @@ __negvsi2(si_int a) { const si_int MIN = (si_int)1 << ((int)(sizeof(si_int) * CHAR_BIT)-1); if (a == MIN) - abort(); + compilerrt_abort(); return -a; } |