mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 14:48:27 +08:00
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.