[Lldb-commits] [PATCH] D61779: FuncUnwinders: General clean up and optimization
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri May 10 01:36:05 PDT 2019
labath created this revision.
labath added reviewers: jasonmolenda, clayborg.
A large chunk of this file was dealing with the caching of unwind plans.
In this patch I create a helper class to encapsulate this behavior and
leave the functions to deal with the actual work, which is to compute
the actual plan.
Since the caching now is handled by a separate class, it is also
possible to optimize it better without hampering readability. The way I
achieve that is by using a special shared_ptr value to mean "not
initialized" which means we can avoid having a special bool flag for
that purpose. This results in a net decrease of the size of the
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 21490 bytes
Desc: not available
More information about the lldb-commits