summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread
diff options
context:
space:
mode:
authorJohannes Doerfert <jdoerfert@anl.gov>2019-09-17 10:52:41 +0000
committerJohannes Doerfert <jdoerfert@anl.gov>2019-09-17 10:52:41 +0000
commit3ab9e8b81858cdcf4f381b4238315cb1d434e984 (patch)
tree1a72add4440e3fbf3c1bdd5cf6b08963813e4fc6 /lldb/packages/Python/lldbsuite/test/python_api/thread
parent2d550d19b321837aac647ec9e8c5b6f26f682b17 (diff)
downloadbcm5719-llvm-3ab9e8b81858cdcf4f381b4238315cb1d434e984.tar.gz
bcm5719-llvm-3ab9e8b81858cdcf4f381b4238315cb1d434e984.zip
[Attributor][Fix] Initialize the cache prior to using it
Summary: There were segfaults as we modified and iterated the instruction maps in the cache at the same time. This was happening because we created new instructions while we populated the cache. This fix changes the order in which we perform these actions. First, the caches for the whole module are created, then we start to create abstract attributes. I don't have a unit test but the LLVM test suite exposes this problem. Reviewers: uenoku, sstefan1 Subscribers: hiraditya, bollu, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D67232 llvm-svn: 372105
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud