Changeset 158509 in webkit for trunk/Source/JavaScriptCore/llvm/InitializeLLVM.cpp
- Timestamp:
- Nov 2, 2013, 6:33:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/llvm/InitializeLLVM.cpp
r157558 r158509 36 36 static pthread_once_t initializeLLVMOnceKey = PTHREAD_ONCE_INIT; 37 37 38 static NO_RETURN_DUE_TO_CRASH void llvmCrash(const char* reason)39 {40 WTFLogAlways("LLVM failure: %s", reason);41 CRASH();42 }43 44 static void initializeLLVMOnce()45 {46 initializeLLVMImpl();47 48 llvm->InstallFatalErrorHandler(llvmCrash);49 }50 51 38 void initializeLLVM() 52 39 { 53 pthread_once(&initializeLLVMOnceKey, initializeLLVM Once);40 pthread_once(&initializeLLVMOnceKey, initializeLLVMImpl); 54 41 } 55 42
Note:
See TracChangeset
for help on using the changeset viewer.