aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2008-11-04 23:03:58 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2008-11-04 23:03:58 +0000
commit0460bb27e0986410d1e7aa20b1e3be4b04b0b0db (patch)
tree21397078bb046c9d40d657ad6ced4a6ff682478c /llvm/lib/CodeGen/StackProtector.cpp
parentd6948315b7421686c7c912b77fc1a3d7971b20e9 (diff)
downloadllvm-0460bb27e0986410d1e7aa20b1e3be4b04b0b0db.zip
llvm-0460bb27e0986410d1e7aa20b1e3be4b04b0b0db.tar.gz
llvm-0460bb27e0986410d1e7aa20b1e3be4b04b0b0db.tar.bz2
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 llvm-svn: 58730
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions