Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use GNU/Linux frame registration code for FreeBSD too
This change prevents a long hang when a program exits. FreeBSD's `__deregister_frame` and `__register_frame` implementations are ported from GCC, which is why we should be using the same frame registration code for FreeBSD and GNU/Linux. Link: https://github.com/freebsd/freebsd-src/blob/release/13.1.0/contrib/llvm-project/libunwind/src/UnwindLevel1-gcc-ext.c#L241-L299 Fixes: #3373
- Loading branch information