commit | b08ceb8135daf015dc38f9d9048cb075215da383 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Thu Aug 19 23:45:39 2010 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Thu Aug 19 23:45:39 2010 +0000 |
tree | 2702b88a9d027d30a65d6a83a28e483a91dc73f3 | |
parent | 7c73b8b180e4dfb82cb508368c7ee43279fb9bc4 [diff] |
CrashRecovery/Darwin: On Darwin, raise sends a signal to the main thread instead of the current thread. This has the unfortunate effect that assert() and abort() will end up bypassing our crash recovery attempts. We work around this for anything in the same linkage unit by just defining our own versions of the assert handler and abort. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111583 91177308-0d34-0410-b5e6-96231b3b80d8