Changeset 180622 in webkit for trunk/Source/JavaScriptCore/llvm
- Timestamp:
- Feb 25, 2015, 2:18:41 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/llvm/InitializeLLVMPOSIX.cpp
r170525 r180622 49 49 || Options::showDisassembly(); 50 50 51 void* library = dlopen(libraryName, RTLD_NOW); 51 int flags = RTLD_NOW; 52 53 #if OS(LINUX) 54 // We need this to cause our overrides (like __cxa_atexit) to take precedent over the __cxa_atexit that is already 55 // globally exported. Those overrides are necessary to prevent crashes (our __cxa_atexit turns off LLVM's exit-time 56 // destruction, which causes exit-time crashes if the concurrent JIT is still running) and to make LLVM assertion 57 // failures funnel through WebKit's mechanisms. This flag induces behavior that is the default on Darwin. Other OSes 58 // may need their own flags in place of this. 59 flags |= RTLD_DEEPBIND; 60 #endif 61 62 void* library = dlopen(libraryName, flags); 52 63 if (!library) { 53 64 if (verbose)
Note:
See TracChangeset
for help on using the changeset viewer.