diff options
author | Stephen Tozer <Stephen.Tozer@Sony.com> | 2021-09-14 12:06:23 +0100 |
---|---|---|
committer | Stephen Tozer <Stephen.Tozer@Sony.com> | 2021-09-14 14:09:23 +0100 |
commit | 9bbc0c1ffb47f9cf4c9d8e9a0e8100002fe5aafb (patch) | |
tree | 1009604fc55d1e264344d4639f112bad350ddcd1 /clang/lib/Lex/ModuleMap.cpp | |
parent | 8cfab5de13a8ec3a2ffccb1b94b0165512a33552 (diff) | |
download | llvm-9bbc0c1ffb47f9cf4c9d8e9a0e8100002fe5aafb.zip llvm-9bbc0c1ffb47f9cf4c9d8e9a0e8100002fe5aafb.tar.gz llvm-9bbc0c1ffb47f9cf4c9d8e9a0e8100002fe5aafb.tar.bz2 |
[Dexter] Improve performance by evaluating expressions only when needed
Currently, Dexter's model for fetching watch values is to build a list of
expressions to watch before running the debugger, then evaluating all of them at
each breakpoint, then finally looking up the values of these expressions at each
line they were expected on. When using dexter on a large project while watching
many different expressions, this is very slow, as Dexter will make a massive
number of calls made to the debugger's API, the vast majority of which are not
being used for anything. This patch fixes this issue by having Dexter only
evaluate expressions at a breakpoint when it will be used by a Dexter command.
Reviewed By: jmorse
Differential Revision: https://reviews.llvm.org/D107070
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions