commit | 9b576b4ed1dbe035952f3106d8f4b6993125ed6f | [log] [tgz] |
---|---|---|
author | Shih-wei Liao <sliao@google.com> | Mon Aug 29 01:45:07 2011 -0700 |
committer | Shih-wei Liao <sliao@google.com> | Mon Aug 29 12:59:51 2011 -0700 |
tree | 8505c2429b204e799caa045bcb805e70e6e2ea87 | |
parent | 9f30b38d74990286ce27c3a45368f73dbe3638f0 [diff] |
Add StackVisitor, CountStackDepthVisitor, BuildStackTraceVisitor for EH. In addition to EH, GC can use StackVisitor too. Crawl stack in 2 passes, using CountStackDepthVisitor and BuildStackTraceVisitor, respectively. Note that Pass 1 computes the depth with a doubly-nested loop. Change-Id: If1e3d3212037426b10ac5e6a01138acfab710e6b