diff options
| author | Rui Ueyama <ruiu@google.com> | 2016-07-08 17:58:54 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2016-07-08 17:58:54 +0000 |
| commit | 8b8d0055feae2be19280ea21ac80ba986dbf7bba (patch) | |
| tree | 5f9cdcf9f28d4f90dc566234026730abe9b32fea /llvm/tools/llvm-c-test/echo.cpp | |
| parent | c6ac2e1e80098594620cb7d60c1c6552bbb2d49a (diff) | |
| download | bcm5719-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

