summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-c-test/echo.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-07-08 17:58:54 +0000
committerRui Ueyama <ruiu@google.com>2016-07-08 17:58:54 +0000
commit8b8d0055feae2be19280ea21ac80ba986dbf7bba (patch)
tree5f9cdcf9f28d4f90dc566234026730abe9b32fea /llvm/tools/llvm-c-test/echo.cpp
parentc6ac2e1e80098594620cb7d60c1c6552bbb2d49a (diff)
downloadbcm5719-llvm-8b8d0055feae2be19280ea21ac80ba986dbf7bba.tar.gz
bcm5719-llvm-8b8d0055feae2be19280ea21ac80ba986dbf7bba.zip
Fix memory leak.
Symbol's dtors are not called because they are allocated using BumpPtrAllocators. So, members of std::unique_ptr type are not freed when symbols are deallocated. This patch is to allocate Thunks using BumpPtrAllocators. llvm-svn: 274896
Diffstat (limited to 'llvm/tools/llvm-c-test/echo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud