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:
parent
06d918c2f4
commit
896cb66166
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue