summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-04-19 20:09:38 +0000
committerDehao Chen <dehao@google.com>2017-04-19 20:09:38 +0000
commita364f09f185f65c3d23d93a313177ca8da3d7877 (patch)
tree8dda0f2421d3f3db90830b7bda71d73391329c7d /lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions
parent6e2ec5f10ecca4db786cb5d2c3c4f1701a940385 (diff)
downloadbcm5719-llvm-a364f09f185f65c3d23d93a313177ca8da3d7877.tar.gz
bcm5719-llvm-a364f09f185f65c3d23d93a313177ca8da3d7877.zip
Using address range map to speedup finding inline stack for address.
Summary: In the current implementation, to find inline stack for an address incurs expensive linear search in 2 places: * linear search for the top-level DIE * recursive linear traverse the DIE tree to find the path to the leaf DIE In this patch, a map is built from address to its corresponding leaf DIE. The inline stack is built by traversing from the leaf DIE up to the root DIE. This speeds up batch symbolization by ~10X without noticible memory overhead. Reviewers: dblaikie Reviewed By: dblaikie Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32177 llvm-svn: 300742
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud