summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
diff options
context:
space:
mode:
authorJohannes Doerfert <jdoerfert@anl.gov>2019-08-20 06:15:50 +0000
committerJohannes Doerfert <jdoerfert@anl.gov>2019-08-20 06:15:50 +0000
commit12cbbab9d9366d37bb2c6f1057491d07c83aba59 (patch)
tree29d67b7829e6153d26ec7e1cc9a2df3ea2fa92da /lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
parent169af994bcd66ff967441b036500b29d2cbef6c9 (diff)
downloadbcm5719-llvm-12cbbab9d9366d37bb2c6f1057491d07c83aba59.tar.gz
bcm5719-llvm-12cbbab9d9366d37bb2c6f1057491d07c83aba59.zip
[Attributor] Create abstract attributes on-demand
Before, we create the set of abstract attributes initially and then dealt with the fact hat a lookup could fail, e.g., return a nullptr. This patch will ensure we always return a valid object from a lookup, allowing us not only to remove the nullptr checks but also to grow the set of abstract attributes "in-flight" on-demand. One can now start from those that have the best chance of improving performance without the need to specify all they might depend on. While this introduces some boilerplate, the usage of attributes is much easier and cleaner now. Reviewers: uenoku, sstefan1 Subscribers: hiraditya, bollu, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66276 llvm-svn: 369331
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud