HomePhabricator

Cache uwnind frame headers as they are found.

Authored by saugustine on Mar 10 2020, 12:03 PM.

Description

Cache uwnind frame headers as they are found.

Summary:
This improves unwind performance quite substantially, and follows
a somewhat similar approach used in libgcc_s as described in the
thread here:

https://gcc.gnu.org/ml/gcc/2005-02/msg00625.html

On certain extremely exception heavy internal tests, the time
drops from about 80 minutes to about five minutes.

Subscribers: libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D75954

Details

Committed
saugustineMar 12 2020, 10:53 AM
Differential Revision
D75954: Cache uwnind frame headers as they are found.
Parents
rG30804d0a3fb2: CFGDiff: Simplify and generalize over all graph types
Branches
Unknown
Tags
Unknown