summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-05-25 20:43:29 +0000
committerTed Kremenek <kremenek@apple.com>2010-05-25 20:43:29 +0000
commitf5bcc6a285fdf8c510c20742266f75d05e480d7f (patch)
treeba0c239cc252e285f0da48a4edce8b33ac43e573 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentcd4ba6caba019fb31f19ed4fe10ed5bcbfd5320c (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud