diff options
author | Lang Hames <lhames@gmail.com> | 2025-07-26 09:32:10 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-26 09:32:10 +1000 |
commit | 1299bba4045d59f02a6d56a156e91a0a7349f2b8 (patch) | |
tree | 81e158c9dbe85d11a2815e93a28b452a6cf685f8 /llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp | |
parent | 2e3fd547de5d8effee09a512752086db912ee660 (diff) | |
download | llvm-1299bba4045d59f02a6d56a156e91a0a7349f2b8.zip llvm-1299bba4045d59f02a6d56a156e91a0a7349f2b8.tar.gz llvm-1299bba4045d59f02a6d56a156e91a0a7349f2b8.tar.bz2 |
[TextAPI] Fix memory leak in SymbolSet. (#150589)
The SymbolSet class bump-ptr-allocates Symbol objects, but Symbol has a
non-trivial destructor (since Symbol's Targets member is a SmallVector):
we need to explicitly destroy the Symbol objects to ensure that no
memory is leaked.
rdar://154778728
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp')
0 files changed, 0 insertions, 0 deletions