diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2008-11-04 23:03:58 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2008-11-04 23:03:58 +0000 |
commit | 641397f2ef0a155159e1085bf594c1535485e3a3 (patch) | |
tree | 155e99e8e66a3c25af0577bb5ad1a59c89aaf51a /lib/ExecutionEngine/ExecutionEngine.cpp | |
parent | 879b1ac22e6307e3111eac87bfba123fba1ac7a4 (diff) |
fix memory leak in pass manager when adding an analysis pass that already existed. as pass manager takes ownership of the added passes, it has to delete the pass if it isnt added to the pass list
tweak the opt tool so that it doesnt access a Pass after the ownership was taken by the pass manager
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58730 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/ExecutionEngine.cpp')
0 files changed, 0 insertions, 0 deletions