summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorWalter Erquinigo <wallace@fb.com>2022-10-10 12:57:13 -0700
committerWalter Erquinigo <wallace@fb.com>2022-10-18 13:57:53 -0700
commit840d861d6e524637a96fe9b7f6d2d77091521167 (patch)
treee09aeecd1bddd5faffd1c74f7bdb0c75e43ca53d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent566146c03b054db2530f6b5997dfd0cd1a243657 (diff)
[lldb][trace] Add a basic function call dump [2] - Implement the reconstruction algorithm
This diff implements the reconstruction algorithm for the call tree and add tests. See TraceDumper.h for documentation and explanations. One important detail is that the tree objects are in TraceDumper, even though Trace.h is a better home. I'm leaving that as future work. Another detail is that this code is as slow as dumping the entire symolicated trace, which is not that bad tbh. The reason is that we use symbols throughout the algorithm and we are not being careful about memory and speed. This is also another area for future improvement. Lastly, I made sure that incomplete traces work, i.e. you start tracing very deep in the stack or failures randomly appear in the trace. Differential Revision: https://reviews.llvm.org/D135917
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions