In tooling, reenable freeing of datastructures in codegen, just as we do for

the frontend. We don't want to respect the -disable-free flag here.

llvm-svn: 184861
This commit is contained in:
Nick Lewycky 2013-06-25 17:01:21 +00:00
parent 93372b4583
commit 39dc9f8be4
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ static clang::CompilerInvocation *newInvocation(
*Invocation, CC1Args.data() + 1, CC1Args.data() + CC1Args.size(),
*Diagnostics);
Invocation->getFrontendOpts().DisableFree = false;
Invocation->getCodeGenOpts().DisableFree = false;
return Invocation;
}