llvm-project
ae44418f - [Offload] Erase entries from JIT cache when program is destroyed (#148847)

Commit
144 days ago
[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.
Author
Parents
Loading