summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-02-09 01:21:57 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-02-09 01:21:57 +0000
commit1c481f50d2392ba2576c9d574822e77e28f42426 (patch)
tree13c8446c33a29ff49d1ab9088549b6282c45b433 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
parent55394d929c6a4abedb967289b5da7b8631a28a4e (diff)
downloadbcm5719-llvm-1c481f50d2392ba2576c9d574822e77e28f42426.tar.gz
bcm5719-llvm-1c481f50d2392ba2576c9d574822e77e28f42426.zip
Add an "addUsedAAAnalyses" helper function
Summary: Passes that call `getAnalysisIfAvailable<T>` also need to call `addUsedIfAvailable<T>` in `getAnalysisUsage` to indicate to the legacy pass manager that it uses `T`. This contract was being violated by passes that used `createLegacyPMAAResults`. This change fixes this by exposing a helper in AliasAnalysis.h, `addUsedAAAnalyses`, that is complementary to createLegacyPMAAResults and does the right thing when called from `getAnalysisUsage`. Reviewers: chandlerc Subscribers: mcrosier, llvm-commits Differential Revision: http://reviews.llvm.org/D17010 llvm-svn: 260183
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud