diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-05-25 20:43:29 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-05-25 20:43:29 +0000 |
commit | f5bcc6a285fdf8c510c20742266f75d05e480d7f (patch) | |
tree | ba0c239cc252e285f0da48a4edce8b33ac43e573 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | cd4ba6caba019fb31f19ed4fe10ed5bcbfd5320c (diff) | |
download | bcm5719-llvm-f5bcc6a285fdf8c510c20742266f75d05e480d7f.tar.gz bcm5719-llvm-f5bcc6a285fdf8c510c20742266f75d05e480d7f.zip |
Allocate the contents of TemplateArgumentList using ASTContext's allocator. This fixes
a massive memory leak when using a BumpPtrAllocator in ASTContext.
Added a FIXME, as the Destroy method for TemplateArgumentList isn't getting called.
This means we will instead leak when using the MallocAllocator.
llvm-svn: 104633
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions