diff options
author | Ross Brunton <ross@codeplay.com> | 2025-07-25 16:11:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-25 16:11:30 +0100 |
commit | ae44418f2897f922e5ee4ad0a6da6c5f8f2c33be (patch) | |
tree | 307bca493b92d452c1e090028a3fb699b101a61e /llvm/unittests/Support/ScopedPrinterTest.cpp | |
parent | 6adbbcc7dbcf4ee65c74d396f555f3e057271d9b (diff) | |
download | llvm-ae44418f2897f922e5ee4ad0a6da6c5f8f2c33be.zip llvm-ae44418f2897f922e5ee4ad0a6da6c5f8f2c33be.tar.gz llvm-ae44418f2897f922e5ee4ad0a6da6c5f8f2c33be.tar.bz2 |
[Offload] Erase entries from JIT cache when program is destroyed (#148847)
When `unloadBinary` is called, any entries in the JITEngine's cache
for that binary will be cleared. This fixes a nasty issue with
liboffload program handles. If two handles happen to have had the same
address (after one was free'd, for example), the cache would be hit and
return the wrong program.
Diffstat (limited to 'llvm/unittests/Support/ScopedPrinterTest.cpp')
0 files changed, 0 insertions, 0 deletions