diff options
author | Yitzhak Mandelbaum <yitzhakm@google.com> | 2022-08-03 00:46:06 +0000 |
---|---|---|
committer | Yitzhak Mandelbaum <yitzhakm@google.com> | 2022-08-03 15:17:49 +0000 |
commit | 692e03039d1ee57c06c0cfae68b91bc5bfd99f6e (patch) | |
tree | 17a1d22f4caf2b87089df6e9552108ee0660f0c6 /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | a1cab0daae43ad2c81e30e73d250b05e64963065 (diff) | |
download | llvm-692e03039d1ee57c06c0cfae68b91bc5bfd99f6e.zip llvm-692e03039d1ee57c06c0cfae68b91bc5bfd99f6e.tar.gz llvm-692e03039d1ee57c06c0cfae68b91bc5bfd99f6e.tar.bz2 |
[clang][dataflow] Add cache of `ControlFlowContext`s for function decls.
This patch modifies context-sensitive analysis of functions to use a cache,
rather than recreate the `ControlFlowContext` from a function decl on each
encounter. However, this is just step 1 (of N) in adding support for a
configurable map of "modeled" function decls (see issue #56879). The map will go
from the actual function decl to the `ControlFlowContext` used to model it. Only
functions pre-configured in the map will be modeled in a context-sensitive way.
We start with a cache because it introduces the desired map, while retaining the
current behavior. Here, functions are mapped to their actual implementations
(when available).
Differential Revision: https://reviews.llvm.org/D131039
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions