mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 23:08:31 +00:00
Make old C++ demangler asynchronous signal safe
It's now possible to safely print C++ backtraces from signal handlers. This symbol demangler doesn't need malloc, tls, or even static memory. Additionally, this change makes it 2x faster and adds test cases. It's almost as performant and accurate as the libcxxabi implementation now.
This commit is contained in:
parent
a6ecbb747d
commit
57c0b065c8
10 changed files with 42326 additions and 1979 deletions
40496
test/libc/str/demangle_cases.inc
Normal file
40496
test/libc/str/demangle_cases.inc
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue