diff options
author | José Fonseca <[email protected]> | 2014-10-22 20:08:57 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2014-10-23 10:19:33 +0100 |
commit | 065256dfc4464cb510f84d638da1b345ff65b693 (patch) | |
tree | e6f03d1d40ca9d1e930b55cd7b5054886f6937b4 /src/gallium/auxiliary/vl/vl_zscan.c | |
parent | 3fd220e2eb699d2eb10cf0b8a97f48730baf76cf (diff) |
gallivm: Properly update for removal of JITMemoryManager in LLVM 3.6.
JITMemoryManager was removed in LLVM 3.6, and replaced by its base class
RTDyldMemoryManager.
This change fixes our JIT memory managers specializations to derive from
RTDyldMemoryManager in LLVM 3.6 instead of JITMemoryManager.
This enables llvmpipe to run with LLVM 3.6.
However, lp_free_generated_code is basically a no-op because there are
not enough hook points in RTDyldMemoryManager to track and free the code
of a module. In other words, with MCJIT, code once created, stays
forever allocated until process destruction. This is not speicfic to
LLVM 3.6 -- it will happen whenever MCJIT is used regardless of version.
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_zscan.c')
0 files changed, 0 insertions, 0 deletions