diff options
author | Andrei Polushin <polushin@gmail.com> | 2022-07-13 02:09:10 +0700 |
---|---|---|
committer | Andrei Polushin <polushin@gmail.com> | 2022-07-13 15:29:25 +0700 |
commit | 0565e00b93a5346273ce49cf7706ebc642162272 (patch) | |
tree | 819f1900babf4eeb3e155a3bd43177a3ecf63536 /absl/algorithm/container_test.cc | |
parent | e517aaf499f88383000d4ddf6b84417fbbb48791 (diff) | |
download | abseil-0565e00b93a5346273ce49cf7706ebc642162272.tar.gz abseil-0565e00b93a5346273ce49cf7706ebc642162272.tar.bz2 abseil-0565e00b93a5346273ce49cf7706ebc642162272.zip |
Disable sigaltstack() on macOS to make backtrace() work.
There are many reports that sigaltstack() on Apple platforms stops
backtrace() from tracing an original stack, e.g.
* https://github.com/llvm/llvm-project/commit/d39ead41056b00d10b6223543562cd304307ac9b
* https://reviews.llvm.org/D28265
If we disable an alternate stack for signal handler, we won't be able to
catch stack overflow errors, but backrace() will work again.
Diffstat (limited to 'absl/algorithm/container_test.cc')
0 files changed, 0 insertions, 0 deletions