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 | f28700879116ee0343bfd05317d46756142de6b4 (patch) | |
tree | e50a57cbcd41391a5ea042541de043d86427b174 /compiler-rt/lib/trampoline_setup.c | |
parent | f4512a3a9d755d254596eba26eb83d21813a23e1 (diff) | |
download | bcm5719-llvm-f28700879116ee0343bfd05317d46756142de6b4.tar.gz bcm5719-llvm-f28700879116ee0343bfd05317d46756142de6b4.zip |
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.
llvm-svn: 100014
Diffstat (limited to 'compiler-rt/lib/trampoline_setup.c')
-rw-r--r-- | compiler-rt/lib/trampoline_setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/trampoline_setup.c b/compiler-rt/lib/trampoline_setup.c index d62e36b7c9b..551d4d06490 100644 --- a/compiler-rt/lib/trampoline_setup.c +++ b/compiler-rt/lib/trampoline_setup.c @@ -28,7 +28,7 @@ void __trampoline_setup(uint32_t* trampOnStack, int trampSizeAllocated, /* should never happen, but if compiler did not allocate */ /* enough space on stack for the trampoline, abort */ if ( trampSizeAllocated < 40 ) - abort(); + compilerrt_abort(); /* create trampoline */ trampOnStack[0] = 0x7c0802a6; /* mflr r0 */ |