Fix opt -o option. Don't pass a pointer to an auto variable which is going
authorNick Lewycky <nicholas@mxc.ca>
Fri, 1 Dec 2006 00:43:14 +0000 (00:43 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 1 Dec 2006 00:43:14 +0000 (00:43 +0000)
commit5cbc63e91add9c23dbb8224023403bf93ccbd845
tree1b003699a050794bddfeeeba0ee79f0e2a38006f
parent1000b73397bd72b71ede338caf5b6379072d94a4
Fix opt -o option. Don't pass a pointer to an auto variable which is going
away before it's needed, and don't try to delete that pointer!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32055 91177308-0d34-0410-b5e6-96231b3b80d8
tools/opt/opt.cpp