[PATCH] Adding a new option to CMake to disable C++ atexit on llvm-shlib.

Chris Bieneman beanz at apple.com
Mon Dec 8 14:25:20 PST 2014


Hi ributzka, chapuni,

This is desirable for WebKit and other clients of the llvm-shlib because C++ exit time destructors have a tendency to crash when invoked from multi-threaded applications.

Ideally this option will be temporary, because the ideal fix is to just not have exit time destructors.

http://reviews.llvm.org/D6572

Files:
  CMakeLists.txt
  include/llvm/Config/config.h.cmake
  tools/llvm-shlib/libllvm.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6572.17053.patch
Type: text/x-patch
Size: 1509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141208/2a8dccf8/attachment.bin>


More information about the llvm-commits mailing list