libllvmForJSC shouldn't call exit(1) on report_fatal_error()
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Oct 2013 03:47:27 +0000 (03:47 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Oct 2013 03:47:27 +0000 (03:47 +0000)
commit448690735b769ebdbe8ffb155bf7e95f8df0cf8b
treeca8e131388c77a6dac2374f9b39e84a30c0d4905
parent8aad71a3fe4e2391bcd1b68dffdf682909b8f95c
libllvmForJSC shouldn't call exit(1) on report_fatal_error()
https://bugs.webkit.org/show_bug.cgi?id=122905
<rdar://problem/15237856>

Source/JavaScriptCore:

Reviewed by Michael Saboff.

Expose the new LLVMInstallFatalErrorHandler() API through the soft linking magic and
then always call it to install something that calls CRASH().

* llvm/InitializeLLVM.cpp:
(JSC::llvmCrash):
(JSC::initializeLLVMOnce):
(JSC::initializeLLVM):
* llvm/LLVMAPIFunctions.h:

WebKitLibraries:

Reviewed by Michael Saboff.

* LLVMIncludesMountainLion.tar.bz2:
* LLVMLibrariesMountainLion.tar.bz2:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/llvm/InitializeLLVM.cpp
Source/JavaScriptCore/llvm/LLVMAPIFunctions.h
WebKitLibraries/ChangeLog
WebKitLibraries/LLVMIncludesMountainLion.tar.bz2
WebKitLibraries/LLVMLibrariesMountainLion.tar.bz2