aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2025-07-26 09:32:10 +1000
committerGitHub <noreply@github.com>2025-07-26 09:32:10 +1000
commit1299bba4045d59f02a6d56a156e91a0a7349f2b8 (patch)
tree81e158c9dbe85d11a2815e93a28b452a6cf685f8 /llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp
parent2e3fd547de5d8effee09a512752086db912ee660 (diff)
downloadllvm-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