Driver: I was too hasty in free'ing Actions, we sometimes share

Actions so a simple tree traversal isn't quite good enough. Leaving a
FIXME for now.

llvm-svn: 67161
This commit is contained in:
Daniel Dunbar 2009-03-18 03:02:22 +00:00
parent 06d918c2f4
commit 896cb66166
1 changed files with 2 additions and 3 deletions

View File

@ -13,9 +13,8 @@
using namespace clang::driver;
Action::~Action() {
// Free the inputs.
for (iterator it = begin(), ie = end(); it != ie; ++it)
delete *it;
// FIXME: Free the inputs. The problem is that BindArchAction shares
// inputs; so we can't just walk the inputs.
}
const char *Action::getClassName(ActionClass AC) {